131 points rreyes1979 1 hour ago 85 comments

mattr03 47 minutes ago | parent

Genuine question: how can you claim your code is a clean-room re-implementation when you're using LLMs?

gspr 45 minutes ago | parent

Words don't have meaning anymore.

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.

embedding-shape 44 minutes ago | parent

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.

mungoman2 44 minutes ago | parent

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.

gspr 43 minutes ago | parent

> 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.

geraldwhen 41 minutes ago | parent

Not any more. All software is produced via AI that roughly encodes the IP theft of everyone alive.

It’s the dream of 90s hacker culture, realized in a strange way in the end.

gspr 38 minutes ago | parent

> 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".

zelphirkalt 30 minutes ago | parent

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."

adrianN 16 minutes ago | parent

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

singpolyma3 20 minutes ago | parent

It's been interesting to me how many people who were pretty hackery before suddenly really believe in "IP theft" now

Joker_vD 40 minutes ago | parent

Wait, do LLMs have the source code of NVIDIA drivers in their learning data set? If not, how is "clean room" inapplicable here?

xiphias2 36 minutes ago | parent

It's enough for them to have the NVIDIA binaries in the data set at this point

Marha01 27 minutes ago | parent

I doubt that LLMs are trained on binary data.

embedding-shape 39 minutes ago | parent

> 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.

papua_is_being_ 42 minutes ago | parent

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?

piker 40 minutes ago | parent

Subpoena the model providers in discovery to see if the Nvidia source was in the lake.

teekert 38 minutes ago | parent

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 ;))

jnovek 34 minutes ago | parent

It is an English saying! The English variation is “the knife cuts both ways”.

I don’t know why but I’m always tickled when the same idiom exists in other languages.

larsonian 29 minutes ago | parent

The Russian equivalent is "this is a two-ended stick", which I've always found a bit funny, because doesn't every stick have two ends?

embedding-shape 25 minutes ago | parent

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?

tomxor 22 minutes ago | parent

> doesn't every stick have two ends?

Yes but you don't want to get the wrong end of the stick.. the sponge end to be specific.

Yoric 19 minutes ago | parent

In French, "it's a double-edged knife".

rubyfan 24 minutes ago | parent

Ethics notwithstanding, I think courts have called training on copyrighted works fair use.

skrap 23 minutes ago | parent

Another English version of the same would be to say "It's a double-edged sword". Language is neat.

myrmidon 17 minutes ago | parent

There's also "live by the sword, die by the sword" in english if you want it to be more biblical.

gspr 39 minutes ago | parent

> 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".

papua_is_being_ 32 minutes ago | parent

> "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.

zelphirkalt 34 minutes ago | parent

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.

onionisafruit 26 minutes ago | parent

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.

singpolyma3 23 minutes ago | parent

Indeed. I often have quite complex projects pre-LLM with one commit I made after I got everything to work.

singpolyma3 25 minutes ago | parent

> If an LLM wrote code, it is also one of the authors

Legally, many jurisdictions have already rejected this premise.

Which seems correct to me. An LLM has no agency, it cannot be an author.

simianparrot 14 minutes ago | parent

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?

kikoreis 12 minutes ago | parent

LLMs don't author code (in the same way compilers aren't copyright holders of the binaries they generate).

DannyBee 24 minutes ago | parent

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

jpambrun 17 minutes ago | parent

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.

Yoric 20 minutes ago | parent

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)?

Pannoniae 37 minutes ago | parent

IMO a better question is, "does it need to be clean-room?" (I think the answer is no)

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

egeozcan 20 minutes ago | parent

I claimed clean-room for a red alert 2 YR engine project I have:

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.

spystath 19 minutes ago | parent

If an LLM touches your code is impossible to know if it's cleanroom or not, so better default to "no". In practice I don't think it matters.

imtringued 9 minutes ago | parent

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.

MitPitt 46 minutes ago | parent

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.

oarsinsync 42 minutes ago | parent

Or will result in consumer-tier GPUs becoming even more expensive.

quikoa 34 minutes ago | parent

Nvidia is already cutting consumer GPUs and makes them more expensive as a result.

kvemkon 17 minutes ago | parent

SubiculumCode 7 minutes ago | parent

Well, isn't that an unconfirmed source?

SillyUsername 10 minutes ago | parent

It will probably lower the price of newer GPUs while increasing the worth of the old ones. That's a good thing imho.

throw1234567891 43 minutes ago | parent

MIG? No. Still needs a license.

m00dy 41 minutes ago | parent

.

rb666 39 minutes ago | parent

The first release was today, how can it already be underrated?

nonestdeus 36 minutes ago | parent

Looks cool, but I'll wait for some tech youtubers to test it first.

mootothemax 34 minutes ago | parent

All of my Christmases have come at once!

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.

embedding-shape 27 minutes ago | parent

> 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?

tinco 19 minutes ago | parent

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 noise machine sitting in the corner.

faldore 31 minutes ago | parent

Eric Hartford (QuixiAI) here, author of nvdriver. Happy to answer any questions.

david-gpu 24 minutes ago | parent

From a former GPU wrangler: Congrats on your first release!

faldore 5 minutes ago | parent

thank you Mr. David!

embedding-shape 21 minutes ago | parent

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.

myrmidon 12 minutes ago | parent

It's much more practical to monitor one thread for new questions than to monitor all of them.

SillyUsername 18 minutes ago | parent

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.

faldore 6 minutes ago | parent

I've added all the hacks I'm aware of - If I've missed any, give me links, happy to add it!

xorcist 30 minutes ago | parent

An extremely verbose project description yet no mention of other nVidia drivers such as Nova. How are the goals and/or implemention different?

diydsp 25 minutes ago | parent

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?

cogman10 13 minutes ago | parent

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.

cillian64 11 minutes ago | parent

But at least in theory this claims to support pre-GSP cards (maxwell, pascal)

kimixa 9 minutes ago | parent

Considering https://github.com/QuixiAI/nvdriver/blob/master/AGENTS.md specifically mentions decompiling the proprietary driver I assume that was used as a reference for stuff like that.

And makes me wonder what the author thinks "clean room" means.

cogman10 8 minutes ago | parent

They vacuumed before firing up claude code.

Starlevel004 23 minutes ago | parent

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.

cillian64 5 minutes ago | parent

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.

thatsabadlook 23 minutes ago | parent

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?

timschmidt 12 minutes ago | parent

Throw any bugs you run into at your own LLM? Having the source, an agent, and hardware to test on makes for an effective loop.

samiv 22 minutes ago | parent

Why not put your effort into noveau?

utopiah 14 minutes ago | parent

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.

verti 18 minutes ago | parent

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?

forgotpwd16 10 minutes ago | parent

>how people can make a README.md that looks like absolute slop

Because it isn't people that make it, and very probably it indeed is slop.

paaloeye 15 minutes ago | parent

I'm so tired of those so-called clean room Rust projects on the front page. Can't even be bothered to open it tbh.

forgotpwd16 12 minutes ago | parent

Great if actually works. (Because tbh I don't trust much AI-written READMEs.)

EmmEff 7 minutes ago | parent

Port to macOS and get native NVIDIA support (for select cards...) back? ;)

silentkat 7 minutes ago | parent

Ah, "clean room". The new "No copyright infringement intended".