You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### Compute sharing mode within a fractional GPU group
316
316
317
-
Pods that share a GPU must use compatible compute sharing behavior within the same fractional GPU group. Use `kai.scheduler/gpu-compute-sharing-mode` when the workload needs to declare its compute sharing mode explicitly:
317
+
Pods that share a GPU must use compatible compute sharing behavior within the same fractional GPU group. Use `nvidia.com/container.<container-name>.gpu-compute.mode` when the workload needs to declare its compute sharing mode explicitly. The container name must match the container targeted by the pod's other fractional GPU annotations:
Copy file name to clipboardExpand all lines: docs/gpu-sharing/nv-fraction/README.md
+6-4Lines changed: 6 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -66,16 +66,18 @@ Setting a `limit` is useful for pods that have occasional "bursts" of gpu memory
66
66
## Choose a compute-sharing mode
67
67
68
68
GPU memory and GPU compute mode are selected independently. The
69
-
`kai.scheduler/gpu-compute-sharing-mode` annotation chooses how workloads in
70
-
the same fractional GPU group share compute. KAI supports these values:
69
+
`nvidia.com/container.<container-name>.gpu-compute.mode` annotation chooses how
70
+
workloads in the same fractional GPU group share compute. KAI supports these
71
+
values:
71
72
72
73
| Mode | How workloads run | Best fit |
73
74
| --- | --- | --- |
74
75
|`time-slicing`| Workloads take turns using the GPU. Unused time is available to other workloads. This is the default. | Bursty development, notebooks, and throughput-oriented or latency-tolerant inference. |
75
76
|`sm-sharing`| Workloads run concurrently and share the GPU streaming multiprocessors (SMs). | Steady or latency-sensitive inference, and coordinated multi-GPU or multi-Pod workloads. Requires MPS. |
76
77
77
-
Set `kai.scheduler/gpu-compute-sharing-mode` in the NvFractions Pod manifest.
78
-
The [GPU Sharing guide](../README.md#compute-sharing-mode-within-a-fractional-gpu-group)
78
+
Set `nvidia.com/container.<container-name>.gpu-compute.mode` in the NvFractions
79
+
Pod manifest, using the same container name as the pod's other NvFractions
80
+
annotations. The [GPU Sharing guide](../README.md#compute-sharing-mode-within-a-fractional-gpu-group)
0 commit comments