nvdriver reimplements NVIDIA’s kernel driver: what is behind the V100 speedup?

Project tests report V100 bandwidth gains with optional HBM2 overclocking. Kernel-driver replacement is distinct from opening CUDA, with compatibility and reliability still to test.
Eric Hartford’s open-source nvdriver project reimplements NVIDIA’s Linux kernel driver in Rust while working with existing CUDA userspace. Its most discussed results come from his eight-card Tesla V100 system, where an increased HBM2 clock improves some bandwidth and compute tests.
This does not open-source the entire CUDA stack or GPU firmware, nor establish a drop-in replacement for every card. The repository is changing rapidly; performance and compatibility are project-reported, and AINRK has not installed or independently reproduced them.

Which part of the driver stack is replaced?
The software stack has three broad layers: userspace libraries and applications such as CUDA, PyTorch and llama.cpp; the kernel driver handling memory, task submission and hardware management; and device firmware underneath. nvdriver primarily targets the middle layer.
NVIDIA already provides official open kernel modules, but its README specifies Turing and later GPUs and requires corresponding GSP firmware and userspace components. The older Volta-based V100 is outside that module family’s support, one reason Hartford began the project.

The report quotes an older-card user asking about Pascal support. A target architecture is distinct from a feature verified on hardware: compute, graphics, display, suspend and multi-GPU communication may be at different stages. A card appearing in a matrix does not alone establish usability.

The project claims compatibility with unmodified libcuda, PyTorch, NCCL and llama.cpp, and changes to some P2P, encoding-session and virtualization restrictions. These are repository claims; individual GPUs, hardware topologies and software versions still require verification, not a blanket claim that every restriction is removed.

A key condition behind the V100 gains: memory overclocking
The tests raise V100 HBM2 from 877.5 MHz to 1107 MHz, the V100S factory specification. The current repository keeps 877.5 MHz as the default and makes tuning optional. Reaching another model’s clock does not give every old card the same stability assurance.
The report records a same-card, same-VFIO-VM comparison: bandwidth from 821.85 to 1040.75 GB/s, about 26.6%; FP16 matrix compute from 97.69 to 106.82 TFLOPS, about 9.3%; and llama.cpp prompt processing from 31,067 to 35,162 tokens/s, about 13.2%. These are particular workloads, not universal model-inference gains.

At this check, the README table has changed to 1041.72 GB/s, 107.17 TFLOPS and 34,884 tokens/s—about 26.8%, 9.7% and 12.3%. Results change with code, settings and measurement, so comparisons need a pinned version. The approximately 8.33 TB/s aggregate across eight cards is not a single-card bandwidth.
The repository also reports passing 77 of 77 CUDA parity checks and shows multi-GPU PyTorch/NCCL and llama.cpp tests. Passing them establishes coverage of those cases, not full CUDA certification, and overclocking gains cannot all be attributed to the Rust rewrite.
How AI helps analyze, reimplement and compare
The report cites Hartford crediting Gemini Neon, while Claude-related configuration and community contributions also appear in the project. Such traces do not quantify each model’s contribution or show that one model independently wrote the entire driver.

According to the report, the workflow analyzes existing binary behavior with tools such as Ghidra, reimplements it in Rust, and compares outputs and register state in emulation. Recorded V100 traces and real workloads provide further checks. This describes the development method; no commands were executed for this article.
Hartford also passes V100s into virtual machines with VFIO to contain driver failures within a test environment and shorten restart delays. Isolation helps repeated experiments, but does not guarantee that hardware, data or the host are unaffected by every failure.
Debate over clean-room claims and long-term reliability
One Hacker News debate concerns the project’s “clean-room” description. Commenters ask how analysis is separated from implementation when the two are closely linked. The report quotes Hartford saying he had no original source and reimplemented analyzed binaries, and that separation matters when combining reverse engineering with clean-room work.

This remains a disputed description of the development process, not enough to establish an intellectual-property compliance conclusion from a label or comment. The immediate engineering issue is that drivers contain timing dependencies, undocumented settings and workarounds that may fail in long sequences or rare states despite short tests passing.

Other commenters argue that tracing the original driver can recover existing timing and workaround behavior. That explains the value of comparisons, but tracing some behavior is far from covering all of it.
Next: more hardware and complete workloads
The community is expanding hardware coverage and fixing memory-management and multi-GPU issues. The report says Hartford also plans to optimize GPU kernels that perform computation. Driver compatibility and kernel acceleration are separate efforts; the latter plan is not an achieved result.

The project shows how AI-assisted analysis and repeatable tests can advance complex low-level software. People still define tests, interpret differences and manage hardware limits; reverse engineering and long-term maintenance have not thereby become solved problems.
Based on henry’s report in QbitAI, checked against the nvdriver repository (opens in a new tab) and NVIDIA’s open-module documentation (opens in a new tab). Performance is project-reported; this is not an installation recommendation.
Edited by AINRK. Reporting lead: Original AITNT report (opens in a new tab); original reporting: QbitAI; original author: henry; source date: 2026-12-04 09:54 (Beijing time, UTC+8).
Reference: nvdriver README (opens in a new tab)
Reference: NVIDIA open GPU kernel modules (opens in a new tab)
After reading
Join the AINRK community
Read how to join the community and connect with people working in AI.




