AcceleratorConfig constructor

const AcceleratorConfig({
  1. Input<String>? acceleratorCount,
  2. Input<String>? acceleratorType,
  3. Input<GPUDriverInstallationConfig>? gpuDriverInstallationConfig,
  4. Input<String>? gpuPartitionSize,
  5. 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,
});