Skip to content

ECS  >  Dictionaries  >  PlatformDeviceDict

PlatformDeviceDict

Dictionary Type

PlatformDeviceDict

Bases: TypedDict

Dictionary form of PlatformDevice.

Attributes

id instance-attribute

The ID for the GPU or Neuron device on the container instance. For GPUs, the available GPU IDs can also be obtained on the container instance in the /var/lib/ecs/gpu/nvidia_gpu_info.json file. For Neuron devices, the ID corresponds to the device index (for example, 0 for /dev/neuron0).

type instance-attribute
type: Required[str]

The type of device that's available on the container instance. The supported values are GPU and NEURON_DEVICE.