What CUDA provides and what it does not
CUDA provides the memory enforcement capability, but a Kubernetes cluster can’t use it on its own. [1]
NVIDIA GPUs already support several approaches to sharing. [2]
Where gpu-fractioning and the scheduler fit
A new open-source Kubernetes operator, gpu-fractioning, is hosted under the KAI Scheduler organization on GitHub. [3]
It runs next to the NVIDIA GPU Operator, which provides the driver and the container runtime setup. [4]
Then the scheduler selects the GPUs for a workload and records its memory allocation and compute-sharing mode in per-container Pod annotations. [5]
Any Kubernetes scheduler that can write these annotations can enforce GPU fractions with CUDA. [6]
What the scheduler still decides
The scheduler still has its own job: choosing a GPU with enough free memory and never mixing compute modes on one GPU. [7]
KAI Scheduler is the first scheduler integrated with gpu-fractioning. [8]
KAI Scheduler’s other sharing modes stay available, and administrators choose one per cluster. [9]
Sources
- The NVIDIA source says: CUDA provides the memory enforcement capability, but a Kubernetes cluster can’t use it on its own. Memory-Enforced GPU Sharing in Kubernetes with NVIDIA CUDA 13.4
- The NVIDIA source says: NVIDIA GPUs already support several approaches to sharing. Memory-Enforced GPU Sharing in Kubernetes with NVIDIA CUDA 13.4
- The NVIDIA source says: A new open-source Kubernetes operator, gpu-fractioning, is hosted under the KAI Scheduler organization on GitHub. Memory-Enforced GPU Sharing in Kubernetes with NVIDIA CUDA 13.4
- The NVIDIA source says: It runs next to the NVIDIA GPU Operator, which provides the driver and the container runtime setup. Memory-Enforced GPU Sharing in Kubernetes with NVIDIA CUDA 13.4
- The NVIDIA source says: Then the scheduler selects the GPUs for a workload and records its memory allocation and compute-sharing mode in per-container Pod annotations. Memory-Enforced GPU Sharing in Kubernetes with NVIDIA CUDA 13.4
- The NVIDIA source says: Any Kubernetes scheduler that can write these annotations can enforce GPU fractions with CUDA. Memory-Enforced GPU Sharing in Kubernetes with NVIDIA CUDA 13.4
- The NVIDIA source says: The scheduler still has its own job: choosing a GPU with enough free memory and never mixing compute modes on one GPU. Memory-Enforced GPU Sharing in Kubernetes with NVIDIA CUDA 13.4
- The NVIDIA source says: KAI Scheduler is the first scheduler integrated with gpu-fractioning. Memory-Enforced GPU Sharing in Kubernetes with NVIDIA CUDA 13.4
- The NVIDIA source says: KAI Scheduler’s other sharing modes stay available, and administrators choose one per cluster. Memory-Enforced GPU Sharing in Kubernetes with NVIDIA CUDA 13.4