Having worked briefly on GPU drivers (amd ex-ati) I'm curious how this can be done. There were myriad details inside that code that related directly to particular controls deep in the basics (micro cache enables, chicken bits, N-1 toggles, memory access radices, etc). Many of them were set once, not dynamically. And clearly not documented anywhere outside HQ. And almost none had a visible effect...until a long chain of operations caused a fantastic crash, or trivial one. Experienced people spent months with the manual, fancy tooling, and the hdl and the designers downstairs to get it shippable and then time was spent after shipping.
I would say you can scan 100s of games to see how they operate the hw...but many games have individual engs assigned to work w game devs to hash out configs down long trees of operations... this feels like learning Chinese with almost no feedback. There are so many parts/corners of the internals that get manipulated.
I could see moving from "one clone of every apps' code" to "common parts distilled," but what are the chances it could be reliable with code it hasn't been trained on that uses a novel feature?
For modern drivers, I believe all those fiddly bits have essentially been moved into the firmware. Nvidia is packing them all into the GSP. That remains an impenetrable binary blob.
I've not worked as a video card firmware writer so I can't be certain. Those pre GSP cards did still have firmware, it just did a lot less. It'd not surprise me to learn that it's still handling a lot of the fiddly bits OP mentioned.
Traditionally before the GSP, a lot of tweaks and game bug fixes were packed into the driver itself. Those have now been moved into the GSP.
The original story behind the "clean room" decompilation that made affordable PCs possible involved having one person decompile/decode instructions, describe what it does, and having another re-implement the code.
An AI clean room decompilation could be one AI agent decompiling the code, turning methods into specifications, and feeding that to another agent to write the "clean" code.
This isn't that, though. This is straight "turn disassembly into Rust". That might be a copyright violation? Though, AI generated content is in a weird legal state at the moment; I don't think you can copyright a single line of code in this repository, but I'm also not sure if this is even illegal anymore. After all, AI companies got away with stealing billions of lines of GPL code, it'd be weird for licenses to matter now.
probably 'clean room agents laundering': one agent reverse engineered and wrote a spec then other agent worked on implementation based on spec. Which is how it may work in theory but unlikely anyone really can believe that is no leak of original in that spec.
A while back I built up a 4u supermicro system with 8x GV100 32GB cards in it, plus a bunch of power, RAM and disk.
It is the single noisiest server I've ever encountered. Even by server standards, it sounds monsterous, and I feel sorry for my neighbours sitting inside other buildings when it's first starting up.
Noise aside, it's been an absolute blast to test and experiment with, but the GV100 limitations have been extremely painful to live with, and it _sounds_ like this project makes all of that disappear. I will report back... eventually.
Air cooling modern hardware is crazy. For a photogrammetry startup I built a half rack of quad-GPU + AMD ThreadRippers. I bought a bunch of 15k RPM 80mm fans on mouser that didn't even come with connectors, at 100% blast they were basically air cannons. The servers had to be on-premise because of data privacy reasons so I built a mini-datacenter in the garage under the office that had double doors. Obviously you weren't allowed to close them when someone was inside because of fire safety reasons, but the noise difference of adding the second door was surprising. It went from too loud for the people in the garage to work on their drone maintenance comfortably to not much louder than a noisy machine sitting in the corner.
> but the GV100 limitations have been extremely painful to live with, and it _sounds_ like this project makes all of that disappear
All the issues/limitations you've encountered with the GV100 been software/firmware limits placed there by NVIDIA? Could you give some examples what you hope would be solved by this alternative firmware?
>> Could you give some examples what you hope would be solved by this alternative firmware?
Sure! The big ones are covered by this:
> nvdriver also unlocks HBM2 memory clocks to 1107 MHz (V100S factory spec, +26.2% memory bandwidth, 1,041.7 GB/s per card / 8.33 TB/s across 8× V100) alongside dynamic P0 boost (1290 MHz all-bin stable default / 1425 MHz golden-bin OC, 1380 MHz XBAR, and a 1 Hz on-die thermal guard)
All of which I've noticed and been expressly annoyed by, but didn't know enough of anything to really sit down and attack.
The HBM2 memory is speed makes a surprisingly big difference if - and it's a big if - this makes them align with the two regular V100 16GBs that I tested against, cos those two cards are stupid fast in comparison, especially for anything cross-PCI.
I also have a few nvlink bridges between the GV100s that have been sorely underutilised, and without knowing anything, I'd be interested to see whether that's part of this driver set, or whether it's now much easier to take advantage of.
I'm assuming the authors never ever saw the source. Are you suggesting the LLM model was trained on leaked nvdriver code, proprietary snippets? Maybe it is not strictly 'clean-room' since who knows what the LLM may have seen but in a court of law, how would Nvidia prove conclusive unambigious copyright infringement?
Lawyer here - they don't have to prove conclusive unambiguous anything. The standard is access and substantial similarity.
Most time would be spent arguing about access and whether the LLM effectively had access.
Civil law standard in general is preponderance of the evidence - Ie evidence tips slightly in your favor. Unambiguous proof type standards are very rare
Peasant here - For one, your argument would make all code written in the last year infringe on something, which make this argument practically moot.
Secondly, with reverse engineering being trivially accessible the, genie is out of the bottle and no amount of court order or DMCA takedown will bring it back it.
I feel that it's very likely that the LLM model was trained at least on existing open-source drivers, no? If so, wouldn't this already mean that it's not 'clean-room' (although not in the sense you're using)?
Even if it was... Nvidia took Anna's Archive to train their models, so ethically they gave up their rights when taking this action? This knife cuts on both sides (not sure if this Dutch saying is also an English saying ;))
This becomes funnier and funnier; "every stick has two ends" is an English proverb :) Never heard that Russian variant though, maybe it's half loaned half translated?
If an LLM wrote code, it is also one of the authors. Did it see parts of Nvidia's driver code? Does the statement that authors didn't see the source still hold then?
It is pretty much is guaranteed to be the case, that one of the authors is an LLM, when the repo presents itself as a working driver for Nvidia graphics cards, yet has laughable 40 commits. Any hobby static blog implementation will have more commits than that, and we are talking about one of the, if not the most complex driver out there. This smells severely vibe-coded from the get go. Which in turn means the LLM is basically the main author/contributor.
I’m not saying it wasn’t vibe coded, but a low commit count for a newly published project can also be a sign of squashing all the ugly trial and error commits shortly before publication.
LLM's have no agency without human input. It's an algorithm, not a legal entity. It would be like listing Word as co-author of your research paper, it helped you fix grammatical errors so why not, right?
> Maybe it is not strictly 'clean-room' since who knows what the LLM may have seen
So it's a "room" implementation, then. The adjective clean is meant to convey something, not "oh well, who knows anyway". So it's an implementation in a room that may or may not be clean.
> but in a court of law, how would Nvidia prove conclusive unambigious copyright infringement?
"Well, it's maybe murder, but they'll never find the body".
Presumably because the LLM didn't have access to the binaries in the development process but if that was the case, it would be more interesting if they published their CUDA driver conformance suite.
Or at least let you run your own driver against it.
First, I think they meant "Clean-room design", not "Clean-room engineering", the latter I don't see why you couldn't do with LLMs, while obviously the first is really hard (impossible?). The repository itself just says "clean-room ... Rust Linux kernel driver for NVIDIA GPUs" and doesn't actually clarify which one of those it's referring to, I'm guessing the first? But yeah, as you say, wouldn't make sense given the tooling involved.
well the LLM industry and govt that supported it decided that not only stealing content to train your LLM is "fair use" but that the code output can't be really called copying (or even copyrighted in the first place) so that's just a fallout of that
This is technically grey but politically it is very clear that washing via LLM is acceptable. The whole AI economy is built on this and it can’t be allowed to fail.
> This is technically grey but politically it is very clear that washing via LLM is acceptable.
This isn't about the technical, legal, ethical or political aspects of LLM-washing. It's about f'ing words! Clean room means something! OP chose to add those two words even though they don't fit at all.
> It's about f'ing words! Clean room means something!
It's ambiguous though! "Clean room" doesn't tell you enough since "clean room engineering" is a whole other thing than "clean room design". You could do the former with LLMs, but seems unlikely to me you could claim "clean room design" when you don't know the training data of the LLM.
If that was true, then we would have global announcements of IP and copyright no longer being applicable to software at all, and that whoever gets hold of any source code can do whatever they want with it, without legal repercussions.
Instead it is rather a case of: "Upsides of copyright for me, but only the downsides for thee."
It is my understanding that copyright applying to LLM generated code is currently a bit unclear and it is conceivable that all autonomously generated code is public domain
> It’s the dream of 90s hacker culture, realized in a strange way in the end.
I couldn't think of anything further from the 90s hacker culture. To me, this all feels a lot closer to the "dream" of "oh hey, I found it for cheap on Aliexpress".
I don't call it licensed clean-room because you need lawyers as scrubbers to be able to claim no implementation details were actually shared to the clean room. My scrubber was a claude instance, soo...
If this is about training data, I think that wouldn't hold up in court against a project, but I'm no lawyer.
Prediction: People are gonna flock to your comment saying "this is a good thing!", "why are you defending nvidia?", and so on, completely missing the point.
Do you intend to add the hardware hacks for others in the series like Pascal (e.g. the HBM2 one)?
Also thanks, you're doing God's work making sure there's a future for old data centre GPUs in a world where modern GPUs are artificially constrained by price, availability and abandoned support.
This submission is an hour old, there are tons of questions around in the thread already, why not answer the existing questions instead of creating a new sub-thread?
I see this in lots of posts. The submission is N hours old, then someone related to the company pops up, ignores all existing posts but creates their own comment asking for feedback, more people ask the same questions, some gets answered, more gets ignored. Why not just answer existing questions instead?
I'm more confused about this than anything else, doesn't really hurt anyone, but gets worse when questions gets asked multiple times in different places because of this.
Proprietary drivers were a problem for running consumer-tier Nvidia GPUs (like RTX series) in datacenters. Open-source drivers will make renting compute cheaper, hopefully.
https://nouveau.freedesktop.org and my bet is that because if LLM is invoved it's precisely to avoid the overhead of collaborating on existing projects and instead get light shed on someone or a group to promote themselves or part of the tooling they produce that leverages LLMs.
Obvious vibeslop but I don't even care. If it lets me use my old-ass Pascal card at proper speeds without all the buginess of the 580 driver I'll take it.
That's my thought exactly, though this project being based around a bit-for-bit recompilation, my guess is that the new driver will be equally buggy as the old one.
Plus, the blob that runs on the card itself cannot be reimplemented like this. Any issues stemming from deviations/unexpected results on the card itself will remain buggy.
That’s my reaction. I’m going to wait for someone else to test Pascal first, but it doesn’t have to be amazing to be better than the current drivers for those cards.
srsly its open source - I dont have all the GPUs, help me. test it on your GPUs and if there are issues at least submit a github issue if not a pr. help me make it great for everyone
blows my mind how people can make a README.md that looks like absolute slop (with generated banner as well) made of huge walls of almost incomprehensible walls of text and make it public.
"read me" suggests it's all important information i should know, but how is:
>zero GOT relocations, zero SIMD/x87, zero memcpy/memset/memmove, zero unwind sections, every stack frame <= 1,024 bytes
important to me that i HAVE to read this?
This is going to be one of those projects where the downsides become immediately obvious to anyone who tries to actually depend on this isn't it? Solo author LLM repo, scant details on support, etc
It's something we all want. But it sounds too good to be true doesn't it?
I would say you can scan 100s of games to see how they operate the hw...but many games have individual engs assigned to work w game devs to hash out configs down long trees of operations... this feels like learning Chinese with almost no feedback. There are so many parts/corners of the internals that get manipulated.
I could see moving from "one clone of every apps' code" to "common parts distilled," but what are the chances it could be reliable with code it hasn't been trained on that uses a novel feature?
Traditionally before the GSP, a lot of tweaks and game bug fixes were packed into the driver itself. Those have now been moved into the GSP.
And makes me wonder what the author thinks "clean room" means.
An AI clean room decompilation could be one AI agent decompiling the code, turning methods into specifications, and feeding that to another agent to write the "clean" code.
This isn't that, though. This is straight "turn disassembly into Rust". That might be a copyright violation? Though, AI generated content is in a weird legal state at the moment; I don't think you can copyright a single line of code in this repository, but I'm also not sure if this is even illegal anymore. After all, AI companies got away with stealing billions of lines of GPL code, it'd be weird for licenses to matter now.
A while back I built up a 4u supermicro system with 8x GV100 32GB cards in it, plus a bunch of power, RAM and disk.
It is the single noisiest server I've ever encountered. Even by server standards, it sounds monsterous, and I feel sorry for my neighbours sitting inside other buildings when it's first starting up.
Noise aside, it's been an absolute blast to test and experiment with, but the GV100 limitations have been extremely painful to live with, and it _sounds_ like this project makes all of that disappear. I will report back... eventually.
All the issues/limitations you've encountered with the GV100 been software/firmware limits placed there by NVIDIA? Could you give some examples what you hope would be solved by this alternative firmware?
Sure! The big ones are covered by this:
> nvdriver also unlocks HBM2 memory clocks to 1107 MHz (V100S factory spec, +26.2% memory bandwidth, 1,041.7 GB/s per card / 8.33 TB/s across 8× V100) alongside dynamic P0 boost (1290 MHz all-bin stable default / 1425 MHz golden-bin OC, 1380 MHz XBAR, and a 1 Hz on-die thermal guard)
All of which I've noticed and been expressly annoyed by, but didn't know enough of anything to really sit down and attack.
The HBM2 memory is speed makes a surprisingly big difference if - and it's a big if - this makes them align with the two regular V100 16GBs that I tested against, cos those two cards are stupid fast in comparison, especially for anything cross-PCI.
I also have a few nvlink bridges between the GV100s that have been sorely underutilised, and without knowing anything, I'd be interested to see whether that's part of this driver set, or whether it's now much easier to take advantage of.
Most time would be spent arguing about access and whether the LLM effectively had access.
Civil law standard in general is preponderance of the evidence - Ie evidence tips slightly in your favor. Unambiguous proof type standards are very rare
Secondly, with reverse engineering being trivially accessible the, genie is out of the bottle and no amount of court order or DMCA takedown will bring it back it.
I don’t know why but I’m always tickled when the same idiom exists in other languages.
Yes but you don't want to get the wrong end of the stick.. the sponge end to be specific.
It is pretty much is guaranteed to be the case, that one of the authors is an LLM, when the repo presents itself as a working driver for Nvidia graphics cards, yet has laughable 40 commits. Any hobby static blog implementation will have more commits than that, and we are talking about one of the, if not the most complex driver out there. This smells severely vibe-coded from the get go. Which in turn means the LLM is basically the main author/contributor.
Legally, many jurisdictions have already rejected this premise.
Which seems correct to me. An LLM has no agency, it cannot be an author.
So it's a "room" implementation, then. The adjective clean is meant to convey something, not "oh well, who knows anyway". So it's an implementation in a room that may or may not be clean.
> but in a court of law, how would Nvidia prove conclusive unambigious copyright infringement?
"Well, it's maybe murder, but they'll never find the body".
Nvidia's own proprietary driver links to the GPL 2.0 kernel. So Jensen's team buried the first murder in a binary blob.
Or at least let you run your own driver against it.
So you're right, it's probably not clean-room. I think the author (or his LLM) just added those words to sound fancy.
EDIT: I was dead wrong and I will take the L.
Check this. https://github.com/QuixiAI/nvdriver/blob/master/AGENTS.md Yes it mentions REA, it's just decompiling the drivers, this is 0% clean-room
This isn't about the technical, legal, ethical or political aspects of LLM-washing. It's about f'ing words! Clean room means something! OP chose to add those two words even though they don't fit at all.
It's ambiguous though! "Clean room" doesn't tell you enough since "clean room engineering" is a whole other thing than "clean room design". You could do the former with LLMs, but seems unlikely to me you could claim "clean room design" when you don't know the training data of the LLM.
It’s the dream of 90s hacker culture, realized in a strange way in the end.
Instead it is rather a case of: "Upsides of copyright for me, but only the downsides for thee."
I couldn't think of anything further from the 90s hacker culture. To me, this all feels a lot closer to the "dream" of "oh hey, I found it for cheap on Aliexpress".
https://github.com/egeozcan/glasnost#how-glasnost-is-made-cl...
I don't call it licensed clean-room because you need lawyers as scrubbers to be able to claim no implementation details were actually shared to the clean room. My scrubber was a claude instance, soo...
If this is about training data, I think that wouldn't hold up in court against a project, but I'm no lawyer.
Prediction: People are gonna flock to your comment saying "this is a good thing!", "why are you defending nvidia?", and so on, completely missing the point.
Also thanks, you're doing God's work making sure there's a future for old data centre GPUs in a world where modern GPUs are artificially constrained by price, availability and abandoned support.
I see this in lots of posts. The submission is N hours old, then someone related to the company pops up, ignores all existing posts but creates their own comment asking for feedback, more people ask the same questions, some gets answered, more gets ignored. Why not just answer existing questions instead?
I'm more confused about this than anything else, doesn't really hurt anyone, but gets worse when questions gets asked multiple times in different places because of this.
Plus, the blob that runs on the card itself cannot be reimplemented like this. Any issues stemming from deviations/unexpected results on the card itself will remain buggy.
"read me" suggests it's all important information i should know, but how is: >zero GOT relocations, zero SIMD/x87, zero memcpy/memset/memmove, zero unwind sections, every stack frame <= 1,024 bytes important to me that i HAVE to read this?
Because it isn't people that make it, and very probably it indeed is slop.
It's something we all want. But it sounds too good to be true doesn't it?