AcceleratorConfig class
AcceleratorConfig represents a Hardware Accelerator request.
Constructors
-
AcceleratorConfig({Input<
String> ? acceleratorCount, Input<String> ? acceleratorType, Input<GPUDriverInstallationConfig> ? gpuDriverInstallationConfig, Input<String> ? gpuPartitionSize, Input<GPUSharingConfig> ? gpuSharingConfig}) -
Creates a new AcceleratorConfig.
acceleratorCountThe number of the accelerator cards exposed to an instance.acceleratorTypeThe accelerator type resource name. List of supported accelerators heregpuDriverInstallationConfigThe configuration for auto installation of GPU driver.gpuPartitionSizeSize of partitions to create on the GPU. Valid values are described in the NVIDIA mig user guide.gpuSharingConfigThe configuration for GPU sharing options.const -
AcceleratorConfig.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
acceleratorCount
→ Input<
String> ? -
The number of the accelerator cards exposed to an instance.
final
-
acceleratorType
→ Input<
String> ? -
The accelerator type resource name. List of supported accelerators here
final
-
gpuDriverInstallationConfig
→ Input<
GPUDriverInstallationConfig> ? -
The configuration for auto installation of GPU driver.
final
-
gpuPartitionSize
→ Input<
String> ? -
Size of partitions to create on the GPU. Valid values are described in the NVIDIA mig user guide.
final
-
gpuSharingConfig
→ Input<
GPUSharingConfig> ? -
The configuration for GPU sharing options.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited