Skip to main content

GPU

Create a GPU device instance.

def GPU(
device: GPUType,
quantity: GPUQuantity,
partition: A100Parts | A100_80GBParts | H100Parts | H200Parts | None = None
) - > Device

Create a GPU device instance.

Parameters

NameTypeDescription
deviceGPUTypeThe type of GPU (e.g., "T4", "A100").
quantityGPUQuantityThe number of GPUs of this type.
partition`A100PartsA100_80GBParts

Returns

TypeDescription
DeviceDevice instance.