Skip to content

ECS  >  Unions  >  SharingStrategyDict

SharingStrategyDict

Union Type

SharingStrategyDict module-attribute

SharingStrategyDict = Union[SharingStrategyNvidiaMpsDict]

Dictionary form of SharingStrategy, setting exactly one variant.

Union Member Types

SharingStrategyNvidiaMpsDict

Bases: TypedDict

Attributes

nvidia_mps instance-attribute

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.