AcceleratorConfig constructor
const
AcceleratorConfig({
- Input<
String> ? acceleratorCount, - Input<
String> ? acceleratorType, - Input<
GPUDriverInstallationConfig> ? gpuDriverInstallationConfig, - Input<
String> ? gpuPartitionSize, - Input<
GPUSharingConfig> ? gpuSharingConfig,
Creates a new AcceleratorConfig.
acceleratorCount The number of the accelerator cards exposed to an instance.
acceleratorType The accelerator type resource name. List of supported accelerators here
gpuDriverInstallationConfig The configuration for auto installation of GPU driver.
gpuPartitionSize Size of partitions to create on the GPU. Valid values are described in the NVIDIA mig user guide.
gpuSharingConfig The configuration for GPU sharing options.
Implementation
const AcceleratorConfig({
this.acceleratorCount,
this.acceleratorType,
this.gpuDriverInstallationConfig,
this.gpuPartitionSize,
this.gpuSharingConfig,
});