Skip to content
trendoviz

AI Workflows & Automation · Industry

NVIDIA Mokka Simulates GPU Stack for Testing Without

NVIDIA introduces Mokka, an open-source tool to simulate GPU infrastructure on CPU nodes, allowing teams to validate AI factory software stacks before physical deployment.

Published
  • 2 min read
  • 1 source
  • Stated by the source itself

Summary

NVIDIA has introduced Mokka, an open-source project that simulates GPU infrastructure on CPU nodes within Kubernetes. This allows software stacks to be tested without physical hardware. When combined with the NVIDIA DSX Air platform, it offers a complete simulation of an AI factory, including network topology. The tool enables teams to validate configurations and rehearse failures before production deployment.

Key facts

  • Project: NVIDIA Mokka is an open-source project that simulates GPUs, SuperNICs, and switch fabrics on CPU nodes.
  • Platform: Mokka can run on its own on CPU nodes or be integrated into the NVIDIA DSX Air simulation platform.
  • Functionality: It serves GPU interfaces (NVML, sysfs, device nodes) from a profile, allowing unmodified tools like nvidia-smi and GPU Operator to run on CPU nodes.
  • Use Cases: Teams can rehearse hardware bring-up, validate configurations, test failure handling, and compare rack designs.
  • Profiles: Eight GPU profiles ship with the Helm chart, including GB300, H100, and B200.
  • Control: The nvml-mock-ctl tool changes GPU state on a running node without redeployment.
  • Availability: Mokka is available on GitHub (NVIDIA/k8s-test-infra) with documentation at nvidia.github.io/k8s-test-infra.

Details

Mokka does not run CUDA kernels or move data; it simulates the interfaces between GPUs and higher-level software. On a CPU node, Mokka stages a mock library, a PCI tree, and kernel-module footprints, allowing the real nvidia-smi tool to report simulated GPUs. For example, a laptop running Mokka can report four NVIDIA GB300 NVL72 Blackwell GPUs with matching topology. NVIDIA DSX Air adds realistic network topology, NVLink domains, and multi-node scale to the simulation, mapping servers to switches and driving IMEX and DRA ComputeDomains. This allows schedulers to see realistic placement distances and enables teams to perform repeatable, file-based simulations that can be checkpointed and shared.

Why it matters

For operations teams and developers, Mokka allows them to validate the software stack—such as the GPU Operator, device plugins, and schedulers—before physical hardware arrives. This reduces the risk of post-deployment failures and allows teams to rehearse complex failure scenarios or scale limits without disrupting production. By simulating the AI factory environment, organizations can accelerate the validation process and ensure configurations are correct before bringing real clusters online.

What's next

NVIDIA recommends logging into the NVIDIA DSX Air platform to access the simulation. Users can launch the Kubernetes Intro: Mokka plus KWOK Configured demo or read the Mokka on DSX Air guide for detailed setup and checkpoint instructions.

Sources

Original source: NVIDIA Technical Blog

Industry ·

Databricks Adds Pipeline Recovery Feature

A new 'rewind' capability lets users restore the entire state of a Spark Declarative Pipeline to a previous point in time, simplifying incident response.

1 source · Stated by the source itself

Found an error? Report it.