AcceleratorConfigResponseContainerV1beta1 constructor
const
AcceleratorConfigResponseContainerV1beta1({
- required Input<
String> acceleratorCount, - required Input<
String> acceleratorType, - required Input<
GPUDriverInstallationConfigResponseContainerV1beta1> gpuDriverInstallationConfig, - required Input<
String> gpuPartitionSize, - required Input<
GPUSharingConfigResponseContainerV1beta1> gpuSharingConfig,
Creates a new AcceleratorConfigResponseContainerV1beta1.
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.
maxTimeSharedClientsPerGpu The number of time-shared GPU resources to expose for each physical GPU.
Implementation
const AcceleratorConfigResponseContainerV1beta1({
required this.acceleratorCount,
required this.acceleratorType,
required this.gpuDriverInstallationConfig,
required this.gpuPartitionSize,
required this.gpuSharingConfig,
required this.maxTimeSharedClientsPerGpu,
});