GpuSharingMode¶
Enum Class¶
GpuSharingMode
¶
Bases: UnknownEnumMixin, StrEnum
Describes how a GPU on a container instance is shared between containers.
Attributes¶
DEDICATED
class-attribute
instance-attribute
¶
One container has exclusive use of the GPU. Amazon ECS assigns GPUs this
way to containers that specify value instead of sharingStrategy for
the GPU resource type.
IDLE
class-attribute
instance-attribute
¶
No containers are assigned to the GPU, and all of its memory is available.
NVIDIA_MPS
class-attribute
instance-attribute
¶
One or more containers share the GPU by using NVIDIA Multi-Process
Service (MPS). While the GPU is in this mode, Amazon ECS assigns it only
to containers that use the nvidiaMps sharing strategy.