NVIDIA published a technical guide on December 3, 2026 to Mokka, an open-source stack that simulates GPUs on CPU nodes, and to rehearsing full AI factory software on DSX Air before racks land. If you operate GPU Operator, DRA, DCGM, or remediation tied to Xid events, the post is a practical answer to waiting months for H100 or GB300 trays.
What problem Mokka solves
AI factories stack drivers, device plugins, topology labels, health exporters, and failure automation. Each layer asks different questions:
| Question | Why it hurts if unanswered late |
|---|---|
| Does GPU Operator validate this driver + profile pair? | Rollouts brick nodes on Day 1 |
| Do NVLink domains match scheduler assumptions? | Jobs land on wrong cliques |
| Does an Xid 79 hit the labeled GPU on the labeled node? | Pages fire on the wrong rack |
| Do ResourceClaims allocate and release cleanly? | DRA leaks block new pods |
Those checks historically required hardware in the loading bay. Mokka serves NVML, sysfs, CDI specs, device nodes, and module footprints from a GPU profile so unmodified tools believe they see real silicon.
Mokka vs emulator: what it is not
NVIDIA is explicit: Mokka does not run CUDA. It exercises interfaces between GPUs and orchestration software. That distinction matters for buyers—training correctness still needs real cards, but bring-up automation can move months earlier.
The December 3 post lists surfaces the node agent stages:
- Mock libnvidia-ml.so answering from profiles
- PCI/sysfs trees where GPUs appear
- Proc and sysfs driver footprints including mlx5_core
- CDI, NVLink, Fabric Manager, IMEX, and InfiniBand devices
nvidia-smi on a CPU node can therefore report four GB300 NVL72 GPUs with rack-consistent topology—useful for Run:ai open scheduler rehearsals without reserving a lab cage.
Local start: Kind, Helm, profiles
NVIDIA’s four-step path begins on Kind:
kind create cluster --name mokka
helm install nvml-mock oci://ghcr.io/nvidia/k8s-test-infra/chart/nvml-mock --namespace mokka --create-namespace
Check simulated devices:
kubectl exec -n mokka ds/nvml-mock -- nvidia-smi -L
Switch gpu.profile among a100, b200, gb200, gb300, h100, l40s, t4, and vrnvl72 before you compare purchase options against HPE Helios rack news.
Inject failures with nvml-mock-ctl
kubectl exec -n mokka ds/nvml-mock -- nvml-mock-ctl fail --gpu 0 --mode ecc_uncorrectable --xid 79
The device plugin should mark the GPU unhealthy, DCGM should export the Xid, and Prometheus/Grafana dashboards should mirror production—exactly the NVIDIA attribution training failure class of incidents, but in CI.
NVIDIA Mokka validates Kubernetes GPU monitoring before physical AI factory racks arrive
DSX Air: when laptop scale is not enough
Mokka alone fits laptops and CI runners. DSX Air adds:
- Spectrum-X topology modeling
- Multi-node scale and shared checkpoints
- API-driven pipelines for Day 2 change tests
Mapping DSX Air switches plus Mokka GPUs lets platform teams see placement distance schedulers use—relevant when Meta’s TPU lease stories push buyers to compare network and GPU readiness in one simulation.
NVIDIA lists marketplace demos:
| Demo | Use |
|---|---|
| Kubernetes Intro: Mokka + KWOK Configured | Explore pre-built cluster |
| Mokka + KWOK Unconfigured | Walk setup labs |
Sign-in uses NGC with Air User or Air Org Admin roles per the post.
Use cases NVIDIA highlights
- Rehearse failures — Set lost, fallen_off_bus, or ecc_uncorrectable, queue Xids, verify cordon/drain playbooks.
- Find scale limits — Grow simulated fleets 36 → 288 → 1,152 → 2,304 nodes to expose MongoDB, conntrack, or labeler bottlenecks.
- Pipeline Day 2 changes — Treat topology edits as PR → build fleet → inject fault → delete sim API steps.
- Compare rack designs — Swap NVLink domain files before cables are fixed.
That fourth case pairs with Sweden grid pause for data centers planning—site power may wait on permits while software can still graduate.
How Mokka fits explainx.ai’s AI factory coverage
If you already run evaluator harnesses for agents, Mokka is the infrastructure mirror: agents need healthy GPUs; Mokka proves health monitors before spend.
Teams debating local vs cloud should not confuse Mokka with llama.cpp—different layers entirely.
Limits and honesty
Simulation does not replace burn-in on real silicon. Thermal paths, ECC on actual DRAM, and NCCL performance still need hardware. Mokka’s value is left-shifting software defects that are expensive when found during customer onboarding.
NVIDIA also ships CI jobs covering DRA, ComputeDomains, GPU Operator, multinode, NRI, NFD, MIG, and vGPU—grep k8s-test-infra workflows when you extend tests.
What to do this week
- Install the Helm chart on Kind in a throwaway repo.
- Script one Xid injection your on-call already fears.
- Open DSX Air if your org has NGC Air access; checkpoint before destructive tests.
- Wire Mokka into the same pipeline that deploys GPU Operator configs to production.
- Document which profiles match your PO—avoid testing h100 while buying gb300.
Component-by-component validation matrix
Use this table when you wire Mokka into CI. Each row is a production component NVIDIA names in the December 3 post:
| Component | What to assert in Mokka | Pass criteria |
|---|---|---|
| GPU Operator | Install against mocked driver surfaces | Operator reaches ready without real silicon |
| Device plugin | Allocate GPUs to test pods | Pods see expected UUID set |
| DRA driver | Create ResourceClaims | Claims bind and release without leaks |
| DCGM / exporter | Scrape metrics after Xid injection | Alert rules fire on correct GPU index |
| NFD / labels | Node labels include MIG or profile tags | Scheduler predicates match |
| Topology / IMEX | Multi-node NVLink domains | Placement respects distance metadata |
| Slurm + Slinky | Batch jobs request GPUs | Jobs queue against simulated inventory |
When a row fails, fix Helm values or controller code before you rent bare-metal hours. This is the same discipline we recommend for agent harness CI—treat GPU stack tests as blocking checks, not nightly noise.
DSX Air checkpoints and collaboration workflows
DSX Air checkpoints let an SRE freeze a topology before injecting faults. That matters when:
- A vendor needs to reproduce your GPU Operator values without VPN access to production.
- Support asks for a minimal failing cluster—export checkpoint plus Mokka profile.
- Training teams onboard engineers who have never touched a live DGX tray.
NVIDIA's blog contrasts file-based simulations with API-driven labs. Platform teams should pick one source of truth in git: topology YAML, Helm values, and Mokka profile pins travel together in PRs.
Security and access boundaries
Simulated clusters still hold kubeconfig secrets. Treat DSX Air share links like staging credentials—rotate tokens, restrict Air Org Admin roles, and never paste production PCI or PHI into test namespaces even when GPUs are fake.
Mokka does not remove supply-chain risk from container images—scan charts and k8s-test-infra commits the same way you scan MCP server dependencies.
When simulation is the wrong tool
Skip Mokka for:
- Kernel driver bugs that only reproduce on specific firmware.
- CUDA kernel numerical accuracy or performance tuning.
- Fabric bit-error rates on real optics.
Use Mokka when the question is "Will our controllers and monitors behave correctly when the GPU misbehaves?" not "Will this training job converge?"
FAQ depth for platform engineers
Does Mokka need NVIDIA drivers on the host? The point is to avoid real drivers while still serving NVML-shaped answers. You run on CPU nodes with mock libraries staged by the chart.
Can I test MIG splits? NVIDIA's post lists MIG among CI coverage areas—enable the profile that advertises MIG-capable devices and assert partition labels before you carve production GPUs.
How does Mokka relate to KWOK? DSX Air demos pair Mokka with KWOK nodes to simulate capacity without real machines. Mokka fakes GPU identity; KWOK fakes node scale.
Will this block my Kind laptop? Kind is the documented fast path. For large tests, move the same Helm release to DSX Air rather than overheating a local machine with hundreds of fake GPUs.
Does simulation help AI factory finance teams? Indirectly—fewer Day 1 outages reduce idle rack hours. Pair technical readiness with Vistra gas power for frontier labs siting posts when executives ask "why buy GPUs before software is ready?"
Observability parity checklist
Before you call Mokka done, confirm dashboards show:
- GPU utilization metrics (even if synthetic)
- Xid counters incrementing on injection
- Pod events referencing the expected device plugin message format
If Grafana panels differ between Mokka and staging hardware, fix label names now—on-call will not forgive new panel semantics during a real Xid 79 outage.
NVIDIA's December 3 post also points to companion material on GPU Operator, DRA, NVSentinel, and failure injection docs—grep those pages when you extend Mokka tests beyond the Helm quick start.
Bottom line: Mokka is cheap insurance against Day 1 GPU software outages—run it before your PO delivery date, not after rack photos hit social media.
Related reading
- NVIDIA Run:ai open source and KAI scheduler
- NVIDIA distributed training Xid root cause
- HPE and AMD Helios rack shipments
- Meta Google TPU lease claims
- Sweden data-center grid pause
- Microsoft EvalOpt for harness testing
- NVIDIA Nemotron scientific post-training
NVIDIA Mokka steps and profile lists follow the December 3, 2026 technical blog post and linked k8s-test-infra documentation as checked that day.
