Class GPUSharingConfig (2.34.0)

GPUSharingConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

GPUSharingConfig represents the GPU sharing configuration for Hardware Accelerators.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

NameDescription
max_shared_clients_per_gpu int
The max number of containers that can share a physical GPU.
gpu_sharing_strategy google.cloud.container_v1beta1.types.GPUSharingConfig.GPUSharingStrategy
The type of GPU sharing strategy to enable on the GPU node. This field is a member of oneof_ _gpu_sharing_strategy.

Classes

GPUSharingStrategy

GPUSharingStrategy(value)

The type of GPU sharing strategy currently provided.

Values: GPU_SHARING_STRATEGY_UNSPECIFIED (0): Default value. TIME_SHARING (1): GPUs are time-shared between containers.