Validating the AI Factory Software Stack Before Hardware Arrives

NVIDIA proposes using Mokka and DSX Air to validate the AI factory software stack before hardware delivery.
The article introduces an NVIDIA developer blog's approach to pre-validating the AI factory software stack. The traditional hardware-first, software-later process piles risk into late project stages. NVIDIA's solution has two layers: Mokka tests the single-node GPU software stack without a GPU, filtering out driver, CUDA runtime, and container integration errors; DSX Air provides platform-level simulation of multi-node networking, storage, scheduling, and failure recovery. The author notes simulation only covers logic and configuration correctness, performance tuning still needs real hardware, and version consistency between simulation and delivery environments is essential for valid results. The workflow suits self-built cluster teams and AI factory integrators, with ROI rising with cluster scale.
The software stack for an AI factory is far more complex than that of a traditional data center: from GPU drivers and container runtimes to distributed training frameworks, a problem at any layer can prevent dozens of servers from going into production immediately after delivery. The approach proposed in an NVIDIA developer blog is to get the entire stack running through software means before the hardware is in place.

The Problem: Software Stack Validation Is Often Blocked by Hardware Delivery
The build cadence of an AI factory is usually hardware first, software later. Procurement cycles are long and racking and debugging are slow, so by the time the GPUs are actually powered on, the software team is only just starting to grapple with a series of issues such as driver compatibility, network configuration, and scheduler integration. This serial process piles up a large amount of risk at the late stages of the project.
The reverse approach is to move software validation earlier: simulate sufficiently realistic operating conditions in an environment without GPU hardware, so that the software stack first reaches a runnable state. According to the NVIDIA developer blog, this requires two levels of capability—single-machine GPU stack testing, and platform-level simulation at the cluster level.
Layer One: Testing the GPU Stack with Mokka When There Is No GPU
NVIDIA Mokka plays the role of single-node validation. Its core function is to let developers test GPU-related software components in the absence of a physical GPU: driver loading, the CUDA runtime, the GPU access path inside containers, and so on.
The value of this to software teams lies in decoupling. Developers do not have to queue for GPU machines, nor compete with training jobs for resources on a shared cluster, in order to verify whether their code adapts correctly to the GPU environment. The earlier problems surface, the lower the cost of fixing them—this engineering common sense holds especially true for AI infrastructure, because cluster scale amplifies a single-point configuration error into a system-wide failure.
Mokka is positioned as the "unit test" layer of the stack. It cannot replace performance validation on real hardware, but it can filter out most configuration and integration errors.
The Hierarchy of the GPU Software Stack
To understand the scope of Mokka's validation, you first need to understand the layering of the GPU software stack. From bottom to top, it roughly includes: the kernel-mode driver (such as NVIDIA's open kernel modules), the user-mode driver and CUDA runtime, the container runtime (such as containerd) and the NVIDIA Container Toolkit (responsible for injecting GPU devices and driver libraries into containers), and the deep learning frameworks on top (PyTorch, TensorFlow, etc.). Each layer has its own version dependencies and ABI compatibility requirements; for example, the CUDA runtime version must match the CUDA version supported by the driver, and the CUDA library version inside the container must in turn be compatible with the host driver. The value of a single-machine validation tool like Mokka is precisely that it can check whether the version combinations and load paths among these layers are correct even without a physical GPU, thereby surfacing problems such as "the driver won't install" or "the GPU isn't visible in the container" in advance.
Layer Two: Platform-Level Simulation with DSX Air
After Mokka comes NVIDIA DSX Air, which targets a more complete simulation of the AI factory platform. Getting a single node running is only the starting point; the real risk lies in the interactions among multiple nodes: network topology, storage mounts, job scheduling, and failure recovery.
DSX Air lets teams link up and validate these elements before hardware delivery. The NVIDIA blog's formulation is to run the software stack on a simulation platform first, then migrate it to real hardware. This approach turns "debugging on racking" into "validation on racking," shifting the focus on delivery day from troubleshooting to confirming consistency.
That said, a gap always exists between the simulation environment and real hardware, especially the parts involving actual bandwidth, latency, and thermal behavior. What simulation can cover is logical and configuration correctness; performance tuning still requires real equipment.
AI Factories and What Platform-Level Simulation Means
An AI factory refers to an infrastructure form centered on GPU clusters that continuously supplies compute power for training and inference, characterized by a large number of nodes, complex network topologies (such as InfiniBand or RoCE high-speed interconnects), and tightly coupled storage and compute. Platform-level simulation means virtualizing the entire cluster environment at the software level—including node count, network topology, storage mount relationships, and scheduler behavior—so that teams can validate multi-node interaction logic without real hardware. Unlike single-machine testing, platform-level simulation focuses on distributed behaviors such as communication paths, job scheduling, and failure injection and recovery processes—exactly the areas where AI factories are most prone to problems in the early stages of delivery.
Who This Workflow Is For
Two types of teams benefit directly. The first is the enterprise infrastructure teams building their own AI clusters, who face a mismatch between hardware procurement cycles and software launch timelines; the second is integrators providing AI factory delivery services, who need to shorten the debugging window at customer sites.
For smaller teams, getting validation at the Mokka level running first can already reduce a fair amount of rework. Platform-level simulation is better suited to scenarios with many nodes and complex topologies, and its return on investment rises with cluster scale.
A Few Things to Watch Out for in Practice
Moving validation earlier does not mean skipping real hardware testing. The sensible position is to treat simulation as a regression testing environment: validate every software stack change on Mokka and DSX Air first, then confirm performance and stability on the real cluster.
Another easily overlooked point is version alignment. The version combinations among the simulation platform, drivers, and frameworks need to stay consistent with the hardware environment of the final delivery; otherwise, a configuration that passed validation may fail on site. The premise of the NVIDIA blog's emphasis on "running on the simulated platform first, then on real hardware" is precisely the consistency of the environments on both sides.
Moving software stack validation from the end of the project to before hardware delivery is essentially about compressing uncertainty into the lowest-cost stage as much as possible. For high-investment infrastructure like AI factories, the returns of this principle scale up with size.
The Engineering Significance of Regression Testing and Version Alignment
Regression testing means re-running existing validation cases after every software stack change to confirm that no new problems have been introduced. Treating Mokka and DSX Air as a regression environment means every upgrade of the software stack must first go through simulation, forming a repeatable validation baseline. Version alignment involves the compatibility matrix among drivers, CUDA, the container toolchain, frameworks, and schedulers; NVIDIA usually publishes supported combinations in its release notes. If the versions in the simulation environment and the delivery environment are inconsistent, the validation results lose their reference value, so configuration management must be used to lock down the version set on both sides and perform a consistency check before delivery.
One-line Summary
NVIDIA proposes using Mokka and DSX Air to complete AI factory software stack validation before hardware delivery.
Paragraph Summary
The article introduces the pre-validation approach for the AI factory software stack proposed in an NVIDIA developer blog. The traditional process is hardware first and software later, with risk piling up at the late stages of the project. NVIDIA's solution has two layers: Mokka tests the single-node GPU software stack in a GPU-less environment, filtering out configuration errors in drivers, the CUDA runtime, and container integration; DSX Air provides platform-level simulation to validate multi-node interactions such as networking, storage, scheduling, and failure recovery. The author notes that simulation only covers logical and configuration correctness, that performance tuning still requires real hardware, and emphasizes that version consistency between the simulation environment and the delivery environment is the precondition for valid validation. This workflow suits enterprise infrastructure teams building their own clusters and AI factory integrators, and its return on investment rises with cluster scale.
Related articles

AI Agent in Practice: A Complete Guide to Muse and Grok Bot for Office Work
A Bilibili hands-on course breaks down how to use Muse and Grok Bot: connect domestic model APIs via CC Switch to skip account login, use cloud Bots to organize photos, publish docs, and check email on a schedule, with real-world tests of multi-Bot collaboration and scheduled-task delays.

Claude Code Deep Dive: Choosing and Installing a Coding Agent
Based on a Bilibili creator's shared experience, this article analyzes Claude Code coding agent selection advice and installation pitfalls, compares Codex and Cursor, and introduces the official NPM installation alternative to help developers get started quickly.

How to Code with Cursor AI: A Complete Guide for Beginners
Learn how to code with Cursor AI in this complete 2026 guide. Covers AI dev tools, architect-level prompting, frontend MVPs, backend context, and the human's 5% role.