Skip to content

ECS  >  Unions  >  SharingStrategy

SharingStrategy

Union Type

SharingStrategy module-attribute

The strategy that a container uses to share a GPU with other containers. Specify exactly one member.

Union Member Types

SharingStrategyNvidiaMps dataclass

Bases: _SerdeShape

Shares a GPU between containers by using NVIDIA Multi-Process Service (MPS). You specify the GPU memory to allocate to the container and, optionally, the maximum percentage of the GPU's compute capacity that the container can use.

Attributes

value instance-attribute

SharingStrategyUnknown dataclass

Bases: _SerdeShape

Represents an unknown variant. If you receive this value, you will need to update your library to receive the parsed value. This value may not be deliberately sent.

Attributes

tag instance-attribute
tag: str