# Memory-Enforced GPU Sharing in Kubernetes with NVIDIA CUDA 13.4

DevFeed: [Memory-Enforced GPU Sharing in Kubernetes with NVIDIA CUDA 13.4](<https://devfeed.tech/articles/memory-enforced-gpu-sharing-in-kubernetes-with-nvidia-cuda-13-4-102712.md>)

Original publisher: [Read original article](<https://developer.nvidia.com/blog/memory-enforced-gpu-sharing-in-kubernetes-with-nvidia-cuda-13-4/>)

Author: Elizabeth Goodman

Published: 2026-10-27T20:50:39Z

Content type: tutorial

Language: en

Sources: [NVIDIA Developer](<https://devfeed.tech/sources/nvidia-developer.md>), [NVIDIA Technical Blog](<https://devfeed.tech/sources/nvidia-technical-blog.md>)

Topics: [CUDA](<https://devfeed.tech/topics/cuda.md>), [Multi-GPU](<https://devfeed.tech/topics/multi-gpu.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [ai-workloads](<https://devfeed.tech/tags/ai-workloads.md>), [application](<https://devfeed.tech/tags/application.md>), [batch](<https://devfeed.tech/tags/batch.md>), [capacity](<https://devfeed.tech/tags/capacity.md>), [cloud-networking](<https://devfeed.tech/tags/cloud-networking.md>), [cloud-services](<https://devfeed.tech/tags/cloud-services.md>), [community](<https://devfeed.tech/tags/community.md>), [compute](<https://devfeed.tech/tags/compute.md>), [container](<https://devfeed.tech/tags/container.md>), [cuda](<https://devfeed.tech/tags/cuda.md>), [data-center-cloud](<https://devfeed.tech/tags/data-center-cloud.md>), [dependency](<https://devfeed.tech/tags/dependency.md>), [developer-tools-techniques](<https://devfeed.tech/tags/developer-tools-techniques.md>), [developers](<https://devfeed.tech/tags/developers.md>), [development](<https://devfeed.tech/tags/development.md>), [dsx](<https://devfeed.tech/tags/dsx.md>), [gpu](<https://devfeed.tech/tags/gpu.md>), [gpu-sharing](<https://devfeed.tech/tags/gpu-sharing.md>), [gpus](<https://devfeed.tech/tags/gpus.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.md>), [memory](<https://devfeed.tech/tags/memory.md>), [mlops](<https://devfeed.tech/tags/mlops.md>), [nvidia](<https://devfeed.tech/tags/nvidia.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [platform-teams](<https://devfeed.tech/tags/platform-teams.md>), [sharing](<https://devfeed.tech/tags/sharing.md>), [software-defined-data-center](<https://devfeed.tech/tags/software-defined-data-center.md>)

## AI overview

CUDA 13.4 adds memory enforcement for GPU sharing: workloads can request an exact memory amount or a guaranteed minimum with a burst limit, and select time-slicing or SM-sharing. Kubernetes needs node-level support to run MPS, apply per-container settings before processes start, and report usage per GPU fraction; the open-source `gpu-fractioning` operator handles those tasks alongside NVIDIA GPU Operator. A scheduler chooses GPUs, records allocations and modes in Pod annotations, and must avoid mixing compute modes on the same GPU. KAI Scheduler v0.18.0 integrates this through `NvFractions`; other schedulers can use the operator if they write the required annotations. Time-slicing is the default: workloads take turns and have separate error domains. SM-sharing runs workloads concurrently, dynamically divides streaming multiprocessors, and places them in one shared error domain, so the article recommends it for workloads trusted to run together. Memory requests apply per GPU when a workload spans multiple devices.

## Source excerpt

Many AI workloads need only a fraction of a GPU. Giving each one an entire device can leave capacity idle; sharing GPUs lets platform teams serve more workloads...