INTERPLANE

Breaking the CUDA lock

The Spark Secrets: What I Did to the NVIDIA CUDA Stack on the DGX Spark

Drake Stapleton2026-11-08preprintZenodo

How I built and tested my own user-space path to run workloads on the DGX Spark GB10 GPU with no CUDA libraries in the demonstrated serving process. It is not a drop-in CUDA replacement: NVIDIA's open kernel modules and signed firmware remain underneath.

Read at the DOIBibTeXJSON

Ask about this work

Or what evidence supports it?what are its stated limits?

Abstract

Version 3 (November 7, 2026). What changed: the opening claim is scoped to the demonstrated path (my own user-space execution path for these GB10 workloads; not a complete, drop-in implementation of the CUDA ecosystem); a new opening section maps the GPU work inside Sovereign Intelligence (SI), with AienOS as its operating-system layer and aienux as its C kernel, the Rust Sovereign Core host runtime, the INTERPLANE model/runtime authority boundary, and the architecture, protocol and evidence repositories; reproduction is split into host replay, chip rerun and release installation, kept separate; the Radicle source note is dated (version 2 recorded 26 repositories; the later public migration page lists 28); and REPRODUCE.md plus a machine-readable manifest are attached beside the PDF, carrying the published commit pins, commands, expected outputs and negative controls in plain text. The measured GPU results and the limits are unchanged from version 2, which had added the replication agent prompt and folded in the corrections from version 2 of the full paper record (launch cost 25.09 to 31.97 microseconds with barriers; 115.14 TFLOPS and 195.1 GB/s as achieved probe throughputs, not ceilings; the 35B serve at 32 of 32 token IDs on three prompts and 31 of 32 on the fourth, golden_identical: false, plus a 24 of 24 HTTP check). On November 7, 2026, GitHub flagged my organization aien-dev, hid it from the public, and suspended my aien-spark account, citing a violation of its Terms of Service and naming no clause, no act, and no content. This document publishes, on infrastructure GitHub does not control, the findings that platform hosted: how I built and tested my own user-space execution path on my NVIDIA DGX Spark (Grace Blackwell GB10, sm_121). Contents: the driver-client sequence that performs everything libcuda performs, written against NVIDIA's own published open kernel module headers (about 900 lines; object classes, UVM registration, GPFIFO channel construction); kernel submission as an 8-byte ring entry plus a single 32-bit doorbell store, with no system call on the path; the GPU-uncached polling rule; the QMD launch descriptor built directly; the recovery of the undocumented sm_121 SASS machine-code encoding by probe differencing, Mesa NAK records, and on-chip arithmetic fitting (59 instruction kinds, golden words in tests); the shared timing-word encoder bug and its fix; numerics closed on the chip over the entire 2^32 input domain (reductions, eleven transcendental functions, zero mismatches); a 35-billion-parameter model served with zero CUDA libraries in the process, proven from the process map; the attention-kernel measurements for the Qwen3.8-27B shape; and a model trained on the GB10 in my own Omega language with no CUDA runtime (15.8M parameters, 0.449322 bits per byte held-out at step 60,000). Limits, printed in the document and kept here: NVIDIA's open kernel module still sits in the serving path; my replacement GB10 driver is source and simulator gates only and has never been loaded on hardware; the GSP firmware remains NVIDIA's; my own disassembler is unfinished; a public qualification queue lists the rest; every figure comes from one GB10 in one machine. The full method and receipts live in the CUDA++ toolchain (aien-dev/CUDApp) and the Omega repository (aien-dev/omega-mv), now on Radicle. Full paper: Reverse Engineering the CUDA Software Stack, version 2 (DOI 10.5281/zenodo.23677465).

Cite

Drake Stapleton (2026). The Spark Secrets: What I Did to the NVIDIA CUDA Stack on the DGX Spark. Zenodo. https://doi.org/10.5281/zenodo.24032442

DOI, all versions
10.5281/zenodo.24032442
DOI, this version
10.5281/zenodo.24047504
License
cc-by-4.0
ORCID record
not listed yet

Versions

  1. 12026-11-0710.5281/zenodo.24032443
  2. 22026-11-0710.5281/zenodo.24032735
  3. 32026-11-0810.5281/zenodo.24047504

Connected work

Files

Keywords

GB10BlackwellCUDASASSreverse engineeringDGX SparkGPU driversm_121RadicleSovereign IntelligenceAienOSOmega programming languageCUDA++sovereign computinginference runtimepaged KV cacheINTERPLANEreproducible systems researchmodel-runtime authority boundary