PlatformDevice

The devices that are available on the container instance. The supported device types are GPUs and Neuron devices.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val id: String

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).

Link copied to clipboard

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

Functions

Link copied to clipboard
inline fun copy(block: PlatformDevice.Builder.() -> Unit = {}): PlatformDevice
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String