Class CfnFleet.AcceleratorSelectionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFleet.AcceleratorSelectionProperty>
- Enclosing interface:
CfnFleet.AcceleratorSelectionProperty
CfnFleet.AcceleratorSelectionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnFleet.AcceleratorSelectionProperty.getName()Sets the value ofCfnFleet.AcceleratorSelectionProperty.getRuntime()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnFleet.AcceleratorSelectionProperty.getName()- Parameters:
name- The name of the chip used by the GPU accelerator. This parameter is required. The available GPU accelerators are:t4- NVIDIA T4 Tensor Core GPU (16 GiB memory)a10g- NVIDIA A10G Tensor Core GPU (24 GiB memory)l4- NVIDIA L4 Tensor Core GPU (24 GiB memory)l40s- NVIDIA L40S Tensor Core GPU (48 GiB memory)
- Returns:
this
-
runtime
Sets the value ofCfnFleet.AcceleratorSelectionProperty.getRuntime()- Parameters:
runtime- Specifies the runtime driver to use for the GPU accelerator. You must use the same runtime for all GPUs in a fleet.You can choose from the following runtimes:
latest- Use the latest runtime available for the chip. If you specifylatestand a new version of the runtime is released, the new version of the runtime is used.grid:r570- NVIDIA vGPU software 18grid:r535- NVIDIA vGPU software 16
If you don't specify a runtime, AWS Deadline Cloud uses
latestas the default. However, if you have multiple accelerators and specifylatestfor some and leave others blank, AWS Deadline Cloud raises an exception.Not all runtimes are compatible with all accelerator types:
t4anda10g: Support all runtimes (grid:r570,grid:r535)l4andl40s: Only supportgrid:r570and newer
All accelerators in a fleet must use the same runtime version. You cannot mix different runtime versions within a single fleet. > When you specify
latest, it resolves togrid:r570for all currently supported accelerators.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFleet.AcceleratorSelectionProperty>- Returns:
- a new instance of
CfnFleet.AcceleratorSelectionProperty - Throws:
NullPointerException- if any required attribute was not provided
-