Skip to main content

News

NVIDIA Mokka and DSX Air Enable AI Factory Validation Without Hardware

NVIDIA Mokka and DSX Air allow teams to validate AI factory software stacks by simulating GPU infrastructure and network topologies before hardware delivery.

X LinkedIn
NVIDIA Mokka and DSX Air Enable AI Factory Validation Without Hardware

NVIDIA has introduced a groundbreaking approach to validating AI factory software stacks ahead of hardware delivery by combining its open-source project, NVIDIA Mokka, with the NVIDIA DSX Air simulation platform. This method allows teams to simulate GPU infrastructure and network topologies, enabling comprehensive testing and validation without requiring physical hardware.

Simulating GPU Infrastructure with NVIDIA Mokka

NVIDIA Mokka is an open-source tool designed to simulate GPUs, SuperNICs, and switch fabrics on CPU nodes within Kubernetes environments. Unlike GPU emulators, Mokka does not run CUDA kernels or move data. Instead, it simulates the interfaces between GPUs and higher-level software, enabling unmodified tools such as nvidia-smi, the NVIDIA device plugin, and the GPU Operator to interact with simulated GPUs.

Key features of Mokka include:

  • A mock libnvidia-ml.so library that answers NVML calls from GPU profiles.
  • Simulated PCI trees, sysfs hierarchies, and kernel-module states.
  • Support for NVLink domains, Fabric Manager state, and InfiniBand devices.

These capabilities allow teams to test the Kubernetes GPU stack on CPU nodes, ensuring that software components such as device plugins, health monitors, and remediation controllers function correctly before deploying on physical hardware.

Enhancing Simulations with NVIDIA DSX Air

While Mokka enables small-scale GPU simulations, the NVIDIA DSX Air platform extends these capabilities by providing a comprehensive simulation of AI factory ecosystems. DSX Air models NVIDIA Spectrum-X network topologies, server images, and ecosystem software, controlled via a Python SDK or REST API. By integrating Mokka into DSX Air, teams can simulate realistic GPU clusters, complete with NVLink domains and multi-node configurations.

Key advantages of running Mokka on DSX Air include:

  • Simulating large-scale GPU clusters with realistic network topologies.
  • Rehearsing failure scenarios by injecting errors such as Xid 79 and verifying remediation workflows.
  • Identifying scale limits by expanding simulated fleets from 36 nodes to over 2,000.
  • Testing Day 2 changes, such as configuration updates and topology edits, through CI pipelines.
  • Providing shared, repeatable environments for training and fault testing.

Example Use Cases

Teams can leverage Mokka and DSX Air for various operational and development scenarios, including:

  • Rehearsing Failures: Simulating GPU errors to test alert systems and remediation controllers.
  • Finding Scale Limits: Expanding simulated fleets to identify bottlenecks in software components.
  • Testing Day 2 Changes: Validating configuration updates and remediation policies in isolated environments.
  • Comparing Designs: Evaluating different GPU profiles and rack configurations before physical deployment.

Getting Started

To begin using NVIDIA Mokka and DSX Air, teams can access the Mokka source code at NVIDIA/k8s-test-infra and refer to the documentation at nvidia.github.io/k8s-test-infra. For DSX Air, users can log in to the platform to explore preconfigured demos and detailed setup guides.

This innovative approach streamlines the validation process for AI factories, reducing the dependency on physical hardware and enabling faster, more efficient deployment cycles.

Sign in to save this article Free account: build your research collection and return to read it anytime.