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?
I see zero indication in the docs that the authors care about games, or indeed video output at all. The target use cases are headless: LLM inference and crypto mining.
This, they don't care at all about games, they want to run AI models on them. What I'm curious about is if that is possible not knowing what the parts of the driver that enable video processing "do". Lots of questions about that.
Not to mentioned if you have a vibe coded engine for your running your LLM is that uncertainty on top of uncertainty in terms of the work product? Anyone have a good paper on the transitive properties of vibe coded AI's accuracy vs "less" vibe coded AI?
Presumably they could just run a series of deterministic workloads on the proprietary driver and on their new driver, comparing outputs? (Which should be bit-for-bit identical)
It's clearly an identity, but surely not the identity of the leaker. I assume it's a reference to Alice Huang, but who knows, Huang is an incredibly common name.
This is exactly the use case for gov regulation. Bad regulations protect monopolies and oligopolies, but forced openness, interoperability, and transparency are a simple easy win. Compliance isn't hard, just release your internal documentation.
Part of the problem is that often isn't any internal documentation: it's literally a case of talking to whoever designed it and tracing through that actualy implementation.
We could require the drivers/firmware to be open source, in addition to any hardware documents that do exist. Surely things will be written down soon if they aren't though in order to prompt an LLM for codegen.
idk i think its obvious sarcasm which is gonna be downvoted because US people are really fucked over by a lack of consumer protection so the idea that government is necessarily useless and inefficient isn't a punchline anymore lol. "run it like a business" won and were living in that shit soup.
The definition of authoritarian is not "there exists a rule".
Authoritarian is used to describe systems that limit individual freedom in favor of a strong limited set of authority.
A rule that says a corporation, that is a legal entity that limits liability for actions and ownership, must release enough information for its products to allow people to do as they please with them, seems to maximize individual freedom at a small cost to the corporate authority.
Frankly it seems a good tradeoff to me - if you want to sell something while limiting your liability for what you sell, I'm fine with making that part of the requirements for limited liability.
Although i do think that people willing to take on full liability for their products and actions can still withold the information.
It can be, but just as big corporations sponsor regulation to prevent it (i.e. making reverse-engineering DRM illegal), we can demand regulation to make it easier too.
Unless it uses nvidia code or trade secrets, it's still clean room
A document being leaked (widely) by a third party renders all of its trade secrets contents no longer trade secrets, by definition (yes, even if the doc was obtained through espionage).
The only person nvidia could go after for this is the person who leaked the doc, not anyone who uses the doc. This is why protecting trade secrets is so important: the only remedy is suing the discloser if they had no authorization to disclose. This is specifically the reason ndas exist: to provide for recourse if trade secrets are disclosed publicly. At no point do you obtain the right to sue someone who wasn't bound by trade secrets law.
>The leaked document is almost certainly subject to copyright, anyone making copies of it is certainly liable for breach to copyright.
Seems like it effectively doesn't matter in this case? Nvidia would struggle to prove any significant damages from a copyright perspective given it's not something they sell. But that's a detail really, even the simple statutory max of $150k/copy (in this case just one copy), which would be ruinous for the classic case of someone downloading tons of songs or something, might as well be rounding error for a open source set of Nvidia drivers. I doubt they'd even bother. And the entire point of clean room reverse engineering is to start with copyrighted material and then break the chain ending up with material copyrighted by the RE team instead of the source copyright holder. Even if the original source is an act of infringement of one kind or another it doesn't change that process. A factual spec sheet is still completely unprotected.
The real question is software patents. While patents can be challenged and invalidated, nothing bypasses them either.
True, but there are limits to copyright protection. You can read the document and write your own version easy enough. Most of what is contains is functional facts which are not subject to copyright (only patents)
I don't know if you've noticed this technology that keeps being talked about on HN. I think it was invented to help with language translation but folks are using it to write code, documentation, and even entire Geocities pages. What a time to be alive, eh?
Oh gosh, I think I noticed and use them heavily. Which is why I would not rely on them to just transhallucinate a technical document. If that comes with a automated test suite, where it can go run wild on the hardware and has unlimited time and tokens - maybe.
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 GSP (or any card firmware in fact) does not have game-specific hacks. Those live in the UMD itself, the architecture depends on the graphics API but things like shader replacement based on app hash+shader hash, specific settings by default (on nvidia you can view some of the keys with that utility I forgot the name of) and so on
> 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.
A bit of a tangent, but: do you have any idea why these things get handled in the GPU driver in the first place, rather than the GPU having firmware that does its own bring-up into a useful state before it ever starts letting the CPU talk to it?
No, a leak doesn't preclude a "clean room" implementation, you just make sure that the implementers don't look at the leaked info. Companies that want to do a safe clean room implementation often involve lawyers to restrict who gets to look at what; the most paranoid version was to have two teams, one of which analyzes the product and writes reports, which go through legal, and one of which does the work without looking at the product (or any leaked specs).
Although LLMs complicate that: if leaked trade secrets make it into the training data of frontier models, then the code generators "know" the secrets. But that's already a huge issue: LLMs are a great way to launder away copyright protection.
As far as copyright goes, it shouldn't really matter if a leak was involved.
The potential problem is trade secrets. A trade secret doesn't lose its trade secret status just because it got leaked. It can eventually lose it if is spreads too widely. If you do the clean room stuff before that you could be liable under trade secret law.
LLMs are probably going to make it much harder for companies to take down leaks before they spread too far. As a major LLM told me, "LLMs act as a massive information-laundering and acceleration engine that shrinks a company's containment window from weeks to hours".
In the specific case of trade secrets involving how to operate hardware the trade secret claims start out kind of weak because under US trade secret law something that can be readily figured out by legal means is not a trade secret. If people could figure it out by buying your product on the open market and then using bus sniffing and decompiling to figure out how to operate the hardware then you probably do not have a trade secret.
I’m not too sure about the law , but it would strike me that keeping a trade secret secret is the job of the company that holds the rights? Why would it be protected by govts after it’s released into the wild?
They may be spiteful… but these days I can’t blame folks for stuff like this … I doubt a jury woul
Yes, obviously (that is, it is obvious that the proprietary material was used). What conclusion do you want to draw from that? It is not immediately copyright infringement.
By that logic it would be enough when you looked once at GPL code to tain your brain forever and all your future output needs to be GPL. That's not how it works.
I’d assume that the law treats human-created works differently from machine-transformations of existing works because it generally treats humans as different from machines. I guess the proof will come from some case where a company finds out that their works can’t be protected by a proprietary license.
But if we’re right, doing nothing is the best option. A bunch of unprotectable code might be generated! Some of it might even be useful, enriching the public square.
In the same sense that it is GPL licensed. And BSD licensed. Maybe someone needs to write a giant file that does the BSD-style acknowledgement for every project.
Realistically, though, large/politically connected companies have gone all-in on this AI stuff so it will be found, somehow, to not be infringing.
We will declare matrix multiplications sentient and capable of producing their own creative works before we let those investments get written off, I think.
A derivative of a GPL work is not automatically GPL-licensed. However, you have to GPL-license it yourself when distributing it, or else you committed copyright violation.
A derivative of a BSD-licensed work doesn't even have to be BSD-licensed. It has to include a copy of the BSD copyright notice somewhere within it, that's all.
These are importantly caveats to keep in mind, but how much do they change things materially? I guess it creates an edge case where people who don’t plan on distributing their LLM generated programs don’t have to worry about licensing issues, right? But I doubt they were worried…
Also LLM-generated READMEs will automatically insert the word "clean room" to a rewrite even if you explicitly tell it to rewrite based on the source. I tried to rewrite FFmpeg and literally included it as a Git submodule in the repo and Claude still insisted on it being "clean room".
real clean room RE can involve one team inspecting decompilations etc and writing independent documentation, which another team then uses to re-implement it having never seen the starting material. people try to replicate this with agents but like lol
Maybe nvidia's cards are slightly more logically setup? The nouveau driver works reasonably well for a lot of older cards as well so it's not like it is completely unknown.
And let's be honest. AMD has a reputation for their driver being quite bad/incomplete . Your description sounds like even AMD themselves did not really have a good overview of what the engineering department had cooked up either, which kinda matches that reputation.
I've got an old laptop with K1100M. This is too old for this nvdriver. Nouveau works well for 2D and probably basic 3D. Anything that requires true 3D fails, eg every HN link to WebGPU games and sites. That's annoying but I can do without it as of course my job is not about 3D graphics. The only major thing that Nouveau cannot do is brightness control. I simulate it with gamma correction, but that works only on X11, not in Wayland.
When you design new silicon, you add features to the old generation, but just in case you messed up a weird corner case, you add a config bit that disables the new hardware optimization. In other words, if you chicken-out and get scared of the new feature, your firmware/code can just set one bit in an obscure register then the new feature is disabled, and you are guaranteed the same behavior as the old chip.
this is kinda ancient history, but I remember old GeForce cards used to implement the OpenGL state machine, with every command submitted to the GPU matching an OpenGL call, parameters and all.
Binary files are no different than sourcecode for LLMs. I had jaw drop moment when I thought I'll attach firmware and ask LLM why it shows certain message on LCD. I told it what CPU was used and got an answer promptly. It even listed some bugs which I then tried on the device and they were indeed happening.
I am now thinking of telling my LLM to decompile all the blobs in RaspberryPi just because why not.
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.
The source code to the IBM BIOS was printed in the PC technical reference manual. The "dirty" team read the manual and the source and produced detailed specifications, then a programmer implemented a new BIOS based on the specifications.
And then this repo goes in a training set that another chatbot reproduces. Why is copyright only a concern for tech companies and not the literally everyone else on the planet that they’ve ripped off? I’d love for nvidia to litigate this and set a legal precedent that lights the entire AI theft business model on fire. How brave are the creators of the brave new world?
Even the first option is sus, since the recent navier-stokes-and-friends scenarios strongly suggest that the models directly learn from prompting in a way that breaks the clean-room premises.
How does it strongly suggest that? Mathematicians were on the brink of solving NS, GRH, VP≠VNP, the complexity of matrix multiplication, showing factoring is subexponential, and myriad other problems all within a couple months of each other? And the AI companies took their work and scooped them all? People still believe this?
Yeah they explicitly fine tune on your inputs, e.g. even asking which responses you like better. The question is whether that actually matters and they learned some trick specifically from that one person in a billion users so far that it explains the apparently superhuman math ability, or whether the more obvious explanation of them being given a compiler to train on contributed more.
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.
I'm no expert, but I think most people would call that "reverse engineered", not "clean room". And BTW, I think no need to get defensive. Up this thread I have not seem criticisms of the code, just questioning if it's actually clean-room, because that matters for whether someone is gonna have a better chance of taking down the repository, how likely is gonna end up in distributions, and the like.
That is definitionally not clean-room, by any historically-understood meaning of the term. There might be multiple definitions of the subtleties of "clean-room", but its stable core is "not one person decompiling + reimplementing".
It surprised me, so I checked. I understood the opposite. From your first link:
…contributors often need to conduct research to understand the internal architecture of the NT™ operating system. In such cases, the project follows the GNU guidelines for referencing non-free code. This applies both to usage of reverse engineering and exposure to proprietary code such as in the Windows Research Kernel.
The GNU guidelines don’t seem to cover reverse engineering specifically, but they do say:
Don’t in any circumstances refer to Unix source code for or during your work on GNU! (Or to any other proprietary programs.) If you have a vague recollection of the internals of a Unix program, this does not absolutely mean you can’t write an imitation of it, but do try to organize the imitation internally along different lines, because this is likely to make the details of the Unix version irrelevant and dissimilar to your results.
And from your second link:
…due to copyright laws and other law-related stuff, ReactOS (which aims at commercial usage too) can not directly utilize methods of development like dirty reverse engineering, and thus ReactOS can not share all code with the TinyKRNL project.
So it looks like you're fine as long as one person reverses and other writes code. No idea how it applies when one clanker reverses and other writes, with a person as a middle man.
Nobody actually knows. Clean room is a bit of a BS term. You can take a piece of hardware/software, poke, prod and disassemble it, and write a detailed spec.
You are 'dirty' at this point, but then somebody else can come along and produce a 'clean' implementation of the spec.
This sounds like an LLM skill at this point tbh, so you just copy the .md file into the repo, and then 'do the thing, make no mistakes'
I see "REA" - I know that the person doing RE is not a professional, I'm sorry, REA - is a bundle of semi-random tools glued with slop'd guidelines. This reconstruction needed to be gated with byte-identical verification done with the original toolchain (it's easy to fingerprint it and its flags). And only when you have it verified in the original language (C/C++? whatever nvidia used), did multi-pass review with names reconstruction, covered with tests and so on -> you could port it to Rust. Right now is a ticking bomb (just bc it speaks with hw low-level), let's be honest.
> "And makes me wonder what the author thinks "clean room" means."
Either the whole definition of clean-room changed or he just cleaned his room before release... /s
This Markdown is quite a gem. It describes "We are building a clean-room Rust driver" in the title, with Step #1 asking to decompile the driver and "Understand the subsystem's full call graph, object ownership, state machines, and lock hierarchy before writing any code."...
It literally asks to reverse-engineer the original implementation and then rewrite it with "new code".
I doubt this can be used to circumvent any IP-claim...
people dilute phrases that have high impact for clout. Remember when "air gapped" actually meant something different than "I configured a switch and router like you normally would"?
This is kind of wishy-washy, but I feel like we can say large language models have reverse engineered systems described by natural language, simply by being trained on natural language. To me, I think this can be reasonably declared to be a type of understanding. When I originally heard about the Chinese room thought experiment I felt like it was being presented as though it’s not possible to understand something through symbolic representation. I think this is mistaken and assumes everything has to think the way that a human does. Sure, humans can’t learn Chinese in that fashion. But we only have a handful of slots in our working memory. Not millions or billions like a computer.
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.
Air cooling is great, unless you have high density. I can run a bunch of gpus flat out with almost no noise since they are spread around on the floor and a very large very slow fan is blowing on them.
Why didn't you go with liquid cooling and heat pump the energy out to a proper condenser/cooling tower setup? You can jury rig one pretty easily they are all fairly simple to build with parts of McMaster-Carr (the cooling tower, not the condenser, that one is best to get off the shelf).
Noise and cooling are still arts more than science. I recently built a home AI server in a rack. I did the normal cooling stuff (insane fans) and it was loud. I just accepted that. Then I wanted to add some GPUs but didn't have space. So as an experiment while waiting for a bigger rack enclosure I tried one of those open "mining" frames for 50$. Surrounded by open air, the GPUs were happy enough without any extra fans. And it was quiet, more quiet than my desktop gaming rig. Counterintuitively, the ramshackle frame was quieter and cooler than a "professional" rack mount. It is silently sitting in the corner of my apartment right now. Only when I ask Qwen-27b to do something substantial do the fans even twitch!
> 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.
This does not work with V100 (Volta family), because they don't have a (full?) GSP. This family is specifically the target of the driver, as you can see in the README.
makes the two of us, given it IS already abolished,... WAS really several years ago when large scale training started and it was proved to have been done on licensed material. you see - everyone not understanding IP was slashed, diced and effectively killed, is living in some weird dissonance compared to what world we live in 2026. IP and copyright are super transient and very often complete loss of effort.
it is effectively impossible to bar anyone to cook your soup if they can guess how its done. is some early 20 century wet dream which makes super little sense in information society where there is no viable way to sign authorship, at least not yet. and particularly in the light of impeding doom of classic crypto.
How do you define "clean-room"? It appears that you started by decompiling the existing driver, which is almost the exact opposite of clean-room. The exact opposite would be having access to the original source code, but this is pretty close.
I would describe this approach as reverse engineered rather than clean room. Maybe just semantics here, but why add the clean room labelling if not to imply that it uses no NVidia IP?
No. Clean room engineering means that the team implementing the thing are, to quote Wikipedia, “demonstrably uncontaminated by any knowledge of the proprietary techniques used by the competitor”. You can make no such guarantee with an LLM that has been trained on unknown sources.
What exactly would be fairly trivial? To make it hard to prove that the implementation was not clean-room safe?
In that case, sure, I guess, but the question is what are we trying to do here. If the goal is just to evade a takedown notice because of IP infringement, this makes it harder to obtain evidence that there was IP infringement.
If the goal is to actually not engage in any IP infringement, then you have to not decompile.
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.
Does the P2PDMA mean I can pull weights off of an nvme array straight into VRAM without crossing RAM/CPU? Does this unlock SR-IOV/vGPU on cards that don't expose it normally or just remove licence checks?
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.
If you're used to Twitter/reddit where 90% of the "feedback" someone receives is "Wow, cool work, thank you author!" and similar empty platitudes, I know I much more prefer HNs way of providing actual feedback instead of just "happy vibes", since I want to actually improve.
By the way, the Nvidia terms that you accepted if you downloaded the driver forbid reverse engineering; and in any case, the drivers are likely to be employing some patent, for which even a true, legal, clean room process would require a grant.
Reverse engineering and clean-room development aren't mutually exclusive. Reverse engineering, including decompilation, can be part of a clean-room process. The relevant question is whether there's sufficient separation between the analysis of the original implementation and the development of the replacement, not whether reverse engineering occurred at all.
So did you have one team reverse engineer the drivers, write a specification and have a completely separate team build software based on that specification?
Who were in the two different teams? How did you ensure separation?
A specific implementation of a precise specification, with lots of arbitrary choices; which are, I believe, what makes it literary work that can be afforded copyright protection.
In this case it's not even that, from its AGENTS.md every function is reverse-engineered, and the same agent (supposedly) reimplements it again.
Besides it being the same agent with all the reverse-engineering context still there, reverse-engineering always means "inventing" code akin to the original source code, this methods basically just uses a second shot of inventing that code.
And it might well be that there's not even this attempt of indirection: the instructions say "REA the exact algorithm step-by-step for each function" and then "Implement the full algorithm faithfully".
Will the agent interpret the first step as writing the algorithm in pseudo-code, or will it use an actual programming language?
If it's the second case, the succeeding step might well reuse the output of the first step directly.
But most of all, to my understanding clean room requires extracting a higher level specification to reimplement, and your code must not be influenced by the original product's implementation details; re-implementing each function faithfully, yeah, doesn't exactly abide by these rules...
Unlikely. Real clean room uses such strong techniques because it's the only reasonable way to prove you didn't. The plaintiff can examine the documentation you gave to the clean side for any trace of copyrighted material. If you gave them an AI transcript, think they'd find any?
Frontier LLMs are extremely good at hill-climbing tasks like this, where the outcome is fully measurable (e.g. full parity with an existing kernel module’s behavior and interface).
For the last week, I’ve had a swarm of agents working on a new Rust back-end for T3 Code. It reached full parity quite rapidly and the last ten days have been spent finishing off the edge cases that are encountered rarely in real use. The Rust version loads 22x faster, uses 11x less RAM, and blows away the Typescript original (already no slouch) on nearly every metric.
But, toppling Nvidia’s ivory tower? That’s impressive AND useful!
But perhaps the coolest thing is the WAY that agents built this thing. I basically just kept using T3 Code on my Mac while agents periodically swapped out the T3 Code server back-end for Ferrum. At first, it would do a 30-second swap test because they mostly failed. But over time, the swap-out duration lengthened and lengthened. Now, it's possible to just run it all the time.
And, I bolted Ferrum onto Cloudflare Workers for an internal software factory project, allowing you to run T3 Code sessions inside of the same sandbox environment that our software factory agents live inside. And it's all super performant. A very cool and satisfying project.
Ah man, I would absolutely love something like this that could power older nvidia GPUs as well (say the Curie architecture found in older models like the 7700 Go) so that I could have a driver available that could compile against modern Linux kernels. I know there's Nouveau, but that won't run the GPU at it's full potential unfortunately.
As it is now I'm stuck running an ancient version of Kubuntu because I need the older kernel ABI that can interface with the legacy nvidia driver.
Speaking of older tech, I wonder if something like this could be done for the T2 Mac's wifi/Bluetooth chipset? I understand it's just one blob for a chip no other computers use but that it's quite complicated go reverse engineer because it's like a full os in that little thing.
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
I don't think this particular one would last that long, they would be arguing that LLM can output a copyright-infringing code which is a direct stance against pretty much the entirety of their customers.
(bear in mind its stock market value is shakier than an earthquake just now, it tanked and recovered almost 50% recently and is on the hook for trillions in dodgy data-center build-outs just now)
> bear in mind its stock market value is shakier than an earthquake just now
It only costs a few million in legal fees to keep you in court till the bank repossesses your house. A rounding error, even to an embattled corporation of this size
The standard for infringement is not unsettled law. It's very well settled law. I was pretty clear most of the argument would be over access, and I believe that is correct.
Most of the time substantial similarity is a blocker to even getting started - despite lots of word-blood being spilled, llms generally do not output like 50 pages of your favorite book. Once you get over that hump and find substantial similarlity somewhere (IE it outputs 10 pages of code someone else wrote), most of the actual argument is over access.
Well, they say Mozart could listen to a symphony, go home, and write it out by hand. Is that infringement? These ais have no problem running a decompiler and reading assembly. It’d be hard to argue it doesn’t have access to the Nvidia gpu driver.
OTOH, it’s a rust rewrite, so I don’t know if that counts as substantially similar.
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.
You seem very confused. I didnt argue anything was or wasnt infringement. I argued nobody will have to prove conclusive unambiguous anything. This is not an argument. This is very well settled law that has so far been applied in the age of AI
you seem to believe this would make everything infringe on something. I dont. As I said most of the argument would be around whether or not LLMs have access to protected works or not, just because they were nearby when they were trained or used as feedback or whatever. whether that argument succeeds remains to be seen. I do not believe it will change the standard for infringement overall.
As for the second for what it’s worth, you’re talking to someone who uses thousands of dollars worth of tokens for coding per week, including reverse engineering. i’ve also run many high-level reverse engineering projects for companies.
just because it’s easy to do something doesn’t mean we don’t make it illegal or expensive to do it. we do that all the time. probably the majority of civil laws fall into the case of making easy things illegal or expensive. it is wildly naive to believe that just because something became easy means that the law will do to do nothing about it.
people porting video games to Windows using reverse engineering is very different than starting and running a viable business around it that won't cause you to be on the run legally forever
while it’s accurate to say the law will roughly not achieve anything against the former, and doesn't really try for the most part (except to establish a basic social barrier to entry), it tends to be very good against the latter.
Finally, it's useful to keep in mind so far every major AI company has lost or settled every single case where someone could prove substantial similarity to a protectable work. Losing every case and paying billions is fairly hard to square with your view that we have reached the Assassin's Creed stage of "nothing is true everything is permitted". Maybe you don't like the amounts won or settled for, thinking them too small or whatever, but that is not quite the same.
I don't feel very confused.. I guess you limit LLM access to runtime while I am considering training time. It's very likely private IP were used to train models by accident. Accepting this argument is the risk I was mentioning.
Obviously if antropic and openai are liable for end user actions, or unfortunate IP inclusion on training data, they won't be able to compete with Chinese and open weight models. I can't imagine the current administration letting this happen.
You are missing the point of clean-room reimplementation.
A clean-room reimplementation is never required. You can definitely get away with far less strict separation - but there is no strictly defined line line of what is okay and what isn't, which opens you up to billion-dollar lawsuits.
A clean-room reimplementation is the nuclear approach. You are ruling out every possibility of a lawsuit because copyright violation is by definition impossible. It is a huge pain for everyone involved, but it is worth it when you can 100% rule out a decade-long lawsuit with a company like Oracle.
In reality "your honor, the genie is out of the bottle" is not exactly a watertight legal argument, and until someone gets sued to oblivion we won't know for sure which side of the LLM argument will win. The fact that this doubt exists at all makes any "LLM-written cleanroom implementation" claim worse than useless.
> For one, your argument would make all code written in the last year infringe on something, which make this argument practically moot.
Does it? None of this has really been tested in court yet. There's a distinctly nonzero chance that that all of last year's code _could_ be found to be infringing on copyright.
Wishful thinking and scale does not guarantee the courts.
My bet is on large companies treating it like mutually-assured destruction: when everyone is both doing the stealing and being stolen from, then nobody can call foul without also self-implicating. To have a real test in court we'd need a Microsoft v. Google, which is never going to happen.
Of course, that's not going to stop Big Tech from using it to crush smaller parties...
> Of course, that's not going to stop Big Tech from using it to crush smaller parties...
They may not; it only takes a single loss to set precedence, which none of the big tech companies want right now.
Not sure how they are going to handle this going forward; all their software is now effectively clonable for almost nothing. They are going to need to rely on network effects, if that, and that's fickle as hell.
At this point there is no need for a Microsoft Windows license[1].
-------------------------
[1] Last night I wanted to play Project Diablo on Wine. It didn't start up (no crash, just a refusal to load a DLL). Claude helpfully investigated, resulting in it making a change to the Wine version I had installed (from Ubuntu), compiling an entire new system dll, and then copying it over the Ubuntu provided one. It did this because it found, just from the binary, a NULL-pointer exception in a DLL.
All I did was prompt "Project Diablo is installed in $FOO; make it work".
> At this point there is no need for a Microsoft Windows license[1].
There hasn't been for years now. You can run Windows indefinitely without activating. Just download and install the official ISO from Microsoft's website.
Different calculus for a business of course but for a consumer MS doesn't bother with technical or legal obstacles to enforce TOS anymore.
There's a distinctly nonzero chance that that all of last year's code _could_ be found to be infringing on copyright.
Nonzero I suppose, but smaller than any x you care to name. Courts are not going to destroy the AI industry over copyright for the same reason they weren't going to declare that airplanes were violating the property rights of everyone whose homes they flew over.
My dumb civilian logic is these companies stole the entire worlds knowledge including pirating huge datasets and taking copyrighted code and it somehow counts as “fair use”. So they don’t have any right to accuse anyone else of stealing, they are the ultimate thieves.
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?
Keep in mind that the legal precedent of today's tech may not hold for tomorrow's tech. This is all pretty new and the dust hasn't settled.
IANAL so please lawyers, correct me. What most of the cases were about was whether training itself infringes on copyright, but it doesn't mean you can reproduce copyrighted material. This is the exact reason why models have guardrails on top refusing reproduction of copyrighted works and it's also part of the EU AI act.
So far, they have not legally enforce copyright on the training but the output of the model may still infringe copyright. If you use my books to create a spell-checker model, then this is considered fair use (even though I think it shouldn't when taking this scale). If you use my books to create a book-writing model that reproduces whole paragraphs of my work, then your output still infringes on copyright. Then since you have access to the material and your output is identical, you have a copyright infringement case.
You can also read about the Suno case which was judging exactly this. Copyright work were memorised inside the model in a way that's not deemed transformative. You are allowed to store "statistics" and "trends" but not copy the work itself.
But again, with everything legal a precedent might exist but it's rarely a one size fits all. You can guess whenever there is a precedence but details (and your defense/opposition) also matter
training was deemed fair use in that case but your output can not infringe on copyrighted material. In Anthropic the main case was on illegal access, it does not cover reproducing significant amount of the training material
Nvidia would be insane to create a precedent that any proprietary code in the training data would mean ALL code created from it violates licenses. That would single handedly destroy the main driver of (reasonable) AI adoption, coding.
all of this is clean room for as long as nobody proves LLMs were not trained on everything they could reverse-engineer in advance. because it actually seems a very good idea, and particularly if we are taking measures to first shuffle it a little, and clean the traces of it in post-training.
until then, though, most software will already have been reversed and rewritten. ordinary joe and jane's wouldn't mind that much, trust me on this, if they even understand what all the hassle is about.
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.
However, in this particular case of a "clean room" driver - the human controlling the LLM is then responsible for any potential and relevant copyright violations in the training data. Or perhaps language models are the perfect copyright-laundering process, it consumes any and all data and generates copyright-free public domain code, text, images, sounds.
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".
What is the credence you'd put on Anthropic having had access to Nvidia's driver source code, and that if they did, they used it for pre-training?
For me personally it's about 0.0000001% (the approximate density of the hypothetical dataset in the pre-training, assuming a 100T token pretrain with 2M LoC driver)
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.
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.
If you use the agents to decompile the driver, then document it, then have another agent (session?) implement it based on the documentation, does that count as clean room?
Different person here, but you can construct a spec by simply observing behavior of the system. You can even automate this, with fuzzing and related techniques.
Isn't this how many Linux wifi and graphics drivers were written? And then didn't BSD take those drivers, and do the dame process to derive BSD versions? (Just using humans instead of AI)
This is why, while the two sides of this debate seem evenly matched, it's clear if we do a little historical research that one side is much much more likely to win.
> 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.
If you knowingly point your LLM at material that would preclude clean room (e.g. ask it to disassemble proprietary code, or use "leaked" docs etc) then it's certainly not clean room.
But if I say ask an LLM to produce an application that mimics that of another app, only by observing its behavior from the outside as a black box, then I'd argue it's very much clean room. Even if I have no idea of what the LLM itself was trained on (It could have been trained on the source of the proprietary app, through a leak!).
> 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.
As one of those anti-copyright (really: just way less powerful copyright) people, myself, I agree- if those people are not expanding with any context or nuance. For me, I'm pissed that these guys are getting away with the "IP theft" just because they're rich and powerful, while the rest of us plebes would still be punished today if we did any fraction of what Zuck had Meta employees doing with copyright materials.
Given the choice between "everyone has to follow copyright law" and "most people have to follow copyright law; but connected, wealthy, people/companies don't", I much rather have the former than the latter. That's in spite of the fact that fewer people restricted by copyright is, in some way, technically closer to what I want (i.e., zero people restricted).
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
This current situation is very convenient for some players, of course. As long as the copyright is in this Schroedinger state, the individual can get sued into oblivion and must still conform to copyright laws, or risk their freedom and existence, while big tech can delay as much as needed, or just write a cost-of-business check and not get into trouble.
> 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".
The one and only unambiguous thing "clean room" means in this context is that the authors are trying to position themselves in line with the legal precedent that would protect them from being sued over this project. That's it.
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.
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
Because "clean room unless the courts decide that all code written since 2024 is now potentially infringing on someone's code that was in the training data, single-handedly crashing the world economy" doesn't have quite the same ring to it, you know?
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.
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.
Our head of IT told me that insurance also is a problem because the consumer GPUs aren't rated for DC use the DC's own insurance wouldn't cover fire risks. And getting custom insurance was way out of their wheelhouse.
Any hardware access is always going to be unsafe, because the compiler cannot know what the hardware does. For all it knows, it could change the memory of the running app. There's no implementation that cares about ownership where that goes away.
You cannot make it safe. The data representation part is already mostly covered by packed!, enum and ranged_integers. But that doesn't make register access safe.
Any time you touch hardware, all guarantees Rust makes disappear. And anything you place in mapped io can change when you don't expect it.
nouveau is strictly clean-room, not "we told an LLM to make it clean-room then gave it a full copy of the proprietary drivers". You aren't allowed to contribute to nouveau if you've seen the proprietary driver.
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.
"clean-room" usually defines two distinct isolated teams, one to document the implementation of a product, and another one to implement it based on that documentation.
A very odd idea if both roles are taken by an AI agent:
Decompile driver, translate machine code into human language.
Translate human language back into code.
Test against original driver, restart at #1 if error
It's more like a sport.
Like asking Agent #1 to only use animal sounds to instruct Agent #2 and then compare how well the result matches the source...
Regardless of "clean room" claim, not everyone in the world respects US courts, and even fewer respect nvidia itself now. Nvidia doesn't fab their own chips -- they're basically a software shop that licenses production of their chip designs and controls them post-production via complicated black box drivers.
How easy or hard would it be for folks less inhibited by IP laws to chip a few trillion from nvidia's market cap?
I don't think a rando, even with a billion in cash, can call TSMC, block few of its production lines, and get few million cards built just like that, even if they get CUDA compatible drivers.
So... moat is that they've been doing it for decades now?
lol @ the people debating the copyright implications of this, when the would-be-plaintiff is among the parties chiefly responsible for the gang-scraping of the collective cultural output of humanity. Its yolo-times, folks. Intellectual Property is dead.
I see a modern movement in software akin to reading chicken entrails. First, folks are attempting to set weights on neural nets using LLMs, and then you have this reverse-engineering and translation. Whereas setting weights on neural nets is somewhat justified as no one knows how LLMs work, decoding and translation is a fools errand since there is a theory of how the chip works and what you end up with is something brittle. Instead, I would build sw using AI but with a theory which has the potential to be longer lasting.
We’re going to have to work very hard to counter AI incumbents who want to prevent you from using the very technology they enable to compete with them.
I have heard friends in the industry people doubt it is really a clean-room RE effort based on code comments and contents.
I suspect when people say "clean-room", they often mean they told the LLM to perform clean-room RE and often don't have any clue what it means, have not verified that it actually happened (did you read the transcripts?), and have not set up their harness in such a way that diverting from clean-room RE was not possible.
I have had some RE projects in order to test the waters and would regularly see frontier models perform actions that are incompatible with clean room RE while writing code. See the Wine Clean Room Guidelines [1]. I don't believe most projects that claim to be clean-room implementations are such, and I believe even less projects can prove it.
I am not saying this is the case for every LLM RE project, but there sure are many LLM RE projects out there from people who have no idea what they are doing but are now able to carry out RE efforts. To many, "clean-room" is just a buzzword that they have heard around reverse engineering. This uncomfortable truth may get some projects in legal trouble.
Huh. Well with people decomping games and loads of other things using AI...just kinda realised...what stops people from decompiling official GPU drivers and porting them to wherever they need to go? I bet Linus would giggle at the irony.
Maintaining a driver for GPUs is a full-time job for a full size team, is it going to be a dead project in the next couple of months? What's the goal of that project?
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
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'm just going to say it, the fact Jensen was caught in a cheating scandal is not surprising given the lack of care towards non-Windows people with Nvidia cards
I do see people posting the angle occasionally that early on AMD was garbage and Nvidia was the only one with a good Linux card. That's possible. But Nvidia has been a pain on Linux for years and no surprise the quality isn't there given the CEO
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?
An acceptable option is write a brief description of the project that's intended to be read by a person, and not present LLM-written descriptors and prose to users, forcing them to determine if it's genuine and/or worth their time. As a human, LLM-generated readmes like this are insulting.
Regarding the banner: Either omit it, or use a model to create a tasteful one.
You could just have no image? Back in my day README's were text only, and if you were really motivated you added some ascii art, regardless it's orthogonal to the thing people are actually there for: the text.
the banner is the smallest "issue", it brings no value other than showing you've spent 5min generating an image which falls apart when you zoom. the project description being unreadable is my main point.
[delayed]
It's "memory safe".
grep -r 'unsafe' | wc -l
532452345234
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?
> scan 100s of games
I see zero indication in the docs that the authors care about games, or indeed video output at all. The target use cases are headless: LLM inference and crypto mining.
One of the two authors work for OpenRouter. So you are probably right
This, they don't care at all about games, they want to run AI models on them. What I'm curious about is if that is possible not knowing what the parts of the driver that enable video processing "do". Lots of questions about that.
Not to mentioned if you have a vibe coded engine for your running your LLM is that uncertainty on top of uncertainty in terms of the work product? Anyone have a good paper on the transitive properties of vibe coded AI's accuracy vs "less" vibe coded AI?
Presumably they could just run a series of deterministic workloads on the proprietary driver and on their new driver, comparing outputs? (Which should be bit-for-bit identical)
>> And clearly not documented anywhere outside HQ.
One user with the email AHuang234@protonmail.com leaked the internal docs
This reminds me of the hilarious comments you used to see on Slashdot back in the day. Bravo! :D
lol, this made me spit out my coffee!
(why would someone use proton mail, then proceed to use such an identifiable handle?)
It's clearly an identity, but surely not the identity of the leaker. I assume it's a reference to Alice Huang, but who knows, Huang is an incredibly common name.
It also sounds like "One", hence 2, 3, 4...
Brilliant -- laughed out loud myself .. amazed out how many HN folks didn't get the joke
This is a joke email address in a nod to Alice Huang[1]
[1] https://en.wikipedia.org/wiki/Alice_Huang_(executive)#Relati...
Yeah, I got the joke, which is why I spit out my coffee.
Made my day. Thank you.
">> And clearly not documented anywhere outside HQ.
One user with the email AHuang234@protonmail.com leaked the internal docs"
One day there will be fines for unpublished/incomplete datasheets?
Jeez, I hope not. That sounds very authoritarian.
This is exactly the use case for gov regulation. Bad regulations protect monopolies and oligopolies, but forced openness, interoperability, and transparency are a simple easy win. Compliance isn't hard, just release your internal documentation.
Part of the problem is that often isn't any internal documentation: it's literally a case of talking to whoever designed it and tracing through that actualy implementation.
We could require the drivers/firmware to be open source, in addition to any hardware documents that do exist. Surely things will be written down soon if they aren't though in order to prompt an LLM for codegen.
Open source VHDL :)
Your attention is drawn to https://en.wikipedia.org/wiki/Regulatory_capture
Yes, only the government can be trusted.
Let's only trust corporations instead, that always works out well.
You’re going to be equally downvoted by people who think you’re being serious and people who think you’re being facetious lol
idk i think its obvious sarcasm which is gonna be downvoted because US people are really fucked over by a lack of consumer protection so the idea that government is necessarily useless and inefficient isn't a punchline anymore lol. "run it like a business" won and were living in that shit soup.
You can do this with soft power.
Decare that the government will only buy tech with publicly available data sheets.
People are then free to do what they want, but going counter to openness would cost them a considerable market.
The definition of authoritarian is not "there exists a rule".
Authoritarian is used to describe systems that limit individual freedom in favor of a strong limited set of authority.
A rule that says a corporation, that is a legal entity that limits liability for actions and ownership, must release enough information for its products to allow people to do as they please with them, seems to maximize individual freedom at a small cost to the corporate authority.
Frankly it seems a good tradeoff to me - if you want to sell something while limiting your liability for what you sell, I'm fine with making that part of the requirements for limited liability.
Although i do think that people willing to take on full liability for their products and actions can still withold the information.
And yet necessary to ensure adversarial interoperability
Adversarial interoperability is adversarial. If you want it, go and decompile an Nvidia driver.
It can be, but just as big corporations sponsor regulation to prevent it (i.e. making reverse-engineering DRM illegal), we can demand regulation to make it easier too.
We can also just do it, regulation be damned.
>That sounds very authoritarian.
so are enforced traffic laws. Unfortunately without them the morning drive would have more in common with gladiatorial combat than commuting.
That's not at all what authoritarian means.
Neither is "you must publish a certain dataset". Isn't that the point of this subthread?
[deleted]
So not clean room at all then
I'm pretty sure this is a joke, not a serious comment: https://en.wikipedia.org/wiki/Alice_Huang_(executive)#Relati...
[deleted]
It was a joke about Alice Huang.
Unless it uses nvidia code or trade secrets, it's still clean room
A document being leaked (widely) by a third party renders all of its trade secrets contents no longer trade secrets, by definition (yes, even if the doc was obtained through espionage).
The only person nvidia could go after for this is the person who leaked the doc, not anyone who uses the doc. This is why protecting trade secrets is so important: the only remedy is suing the discloser if they had no authorization to disclose. This is specifically the reason ndas exist: to provide for recourse if trade secrets are disclosed publicly. At no point do you obtain the right to sue someone who wasn't bound by trade secrets law.
So this is still a clean room implementation.
The leaked document is almost certainly subject to copyright, anyone making copies of it is certainly liable for breach to copyright.
>The leaked document is almost certainly subject to copyright, anyone making copies of it is certainly liable for breach to copyright.
Seems like it effectively doesn't matter in this case? Nvidia would struggle to prove any significant damages from a copyright perspective given it's not something they sell. But that's a detail really, even the simple statutory max of $150k/copy (in this case just one copy), which would be ruinous for the classic case of someone downloading tons of songs or something, might as well be rounding error for a open source set of Nvidia drivers. I doubt they'd even bother. And the entire point of clean room reverse engineering is to start with copyrighted material and then break the chain ending up with material copyrighted by the RE team instead of the source copyright holder. Even if the original source is an act of infringement of one kind or another it doesn't change that process. A factual spec sheet is still completely unprotected.
The real question is software patents. While patents can be challenged and invalidated, nothing bypasses them either.
True, but there are limits to copyright protection. You can read the document and write your own version easy enough. Most of what is contains is functional facts which are not subject to copyright (only patents)
"You can read the document and write your own version easy enough."
I don't think it is "easy" writing a own version of a GPU hardware documentation.
For someone skilled in that area it is. Tedious and time consuming, but easy enough when you have the information.
If you are skilled, have the information and are willing to do tedious and time consuming work, what would qualify as "hard work"?
I don't know if you've noticed this technology that keeps being talked about on HN. I think it was invented to help with language translation but folks are using it to write code, documentation, and even entire Geocities pages. What a time to be alive, eh?
Oh gosh, I think I noticed and use them heavily. Which is why I would not rely on them to just transhallucinate a technical document. If that comes with a automated test suite, where it can go run wild on the hardware and has unlimited time and tokens - maybe.
[deleted]
Here’s the plan to minimize any legal issues:
so you could be held liable for depriving nvidia of the income they could have charged for this artful document, if you make copies of it?
[dead]
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.
But at least in theory this claims to support pre-GSP cards (maxwell, pascal)
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 GSP (or any card firmware in fact) does not have game-specific hacks. Those live in the UMD itself, the architecture depends on the graphics API but things like shader replacement based on app hash+shader hash, specific settings by default (on nvidia you can view some of the keys with that utility I forgot the name of) and so on
> on nvidia you can view some of the keys with that utility I forgot the name of
NVIDIA Profile Inspector: https://github.com/Orbmu2k/nvidiaProfileInspector
yeah that needs to get penetrated too lol
> 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.
A bit of a tangent, but: do you have any idea why these things get handled in the GPU driver in the first place, rather than the GPU having firmware that does its own bring-up into a useful state before it ever starts letting the CPU talk to it?
Isn't that what nvidia is using the GSP for and why (or perhaps rather: how) nvidia has moved to an open source kernel driver?
There was already a big leak of proprietary NVIDIA driver source a few years ago. Overall there’s probably lots of information out there.
Leaks would preclude a “clean room” implementation — perhaps the authors are hoping that no one calls their bluff?
No, a leak doesn't preclude a "clean room" implementation, you just make sure that the implementers don't look at the leaked info. Companies that want to do a safe clean room implementation often involve lawyers to restrict who gets to look at what; the most paranoid version was to have two teams, one of which analyzes the product and writes reports, which go through legal, and one of which does the work without looking at the product (or any leaked specs).
Although LLMs complicate that: if leaked trade secrets make it into the training data of frontier models, then the code generators "know" the secrets. But that's already a huge issue: LLMs are a great way to launder away copyright protection.
> LLMs are a great way to launder away copyright protection.
I think you meant: violate copyright protection.
It depends.
As far as copyright goes, it shouldn't really matter if a leak was involved.
The potential problem is trade secrets. A trade secret doesn't lose its trade secret status just because it got leaked. It can eventually lose it if is spreads too widely. If you do the clean room stuff before that you could be liable under trade secret law.
LLMs are probably going to make it much harder for companies to take down leaks before they spread too far. As a major LLM told me, "LLMs act as a massive information-laundering and acceleration engine that shrinks a company's containment window from weeks to hours".
In the specific case of trade secrets involving how to operate hardware the trade secret claims start out kind of weak because under US trade secret law something that can be readily figured out by legal means is not a trade secret. If people could figure it out by buying your product on the open market and then using bus sniffing and decompiling to figure out how to operate the hardware then you probably do not have a trade secret.
I’m not too sure about the law , but it would strike me that keeping a trade secret secret is the job of the company that holds the rights? Why would it be protected by govts after it’s released into the wild?
They may be spiteful… but these days I can’t blame folks for stuff like this … I doubt a jury woul
Does that mean every driver ever written with AI from now on is using proprietary material from 100s of companies?
Yes, obviously (that is, it is obvious that the proprietary material was used). What conclusion do you want to draw from that? It is not immediately copyright infringement.
Probably, yes. All software generated by an LLM that was trained on proprietary or incompatibly-copyrighted works is tainted.
By that logic it would be enough when you looked once at GPL code to tain your brain forever and all your future output needs to be GPL. That's not how it works.
Peeking once at gpled code isn't enough to create licensing issues, but it's absolutely enough to preclude "clean room" implementations.
There is a big difference in requirements between the two.
LLMs don't have brains that read copyrighted works. They literally are the copyrighted works themselves.
Prove it. Preferably in court.
I’d assume that the law treats human-created works differently from machine-transformations of existing works because it generally treats humans as different from machines. I guess the proof will come from some case where a company finds out that their works can’t be protected by a proprietary license.
But if we’re right, doing nothing is the best option. A bunch of unprotectable code might be generated! Some of it might even be useful, enriching the public square.
Sure, help me crowdfund a legal case and I'd be glad to.
In the same sense that it is GPL licensed. And BSD licensed. Maybe someone needs to write a giant file that does the BSD-style acknowledgement for every project.
Realistically, though, large/politically connected companies have gone all-in on this AI stuff so it will be found, somehow, to not be infringing.
We will declare matrix multiplications sentient and capable of producing their own creative works before we let those investments get written off, I think.
A derivative of a GPL work is not automatically GPL-licensed. However, you have to GPL-license it yourself when distributing it, or else you committed copyright violation.
A derivative of a BSD-licensed work doesn't even have to be BSD-licensed. It has to include a copy of the BSD copyright notice somewhere within it, that's all.
These are importantly caveats to keep in mind, but how much do they change things materially? I guess it creates an edge case where people who don’t plan on distributing their LLM generated programs don’t have to worry about licensing issues, right? But I doubt they were worried…
> Does that mean every driver ever written with AI from now on is using proprietary material from 100s of companies?
Nvidia does not want that sort of precedence: then it means that every AI-produced software is "contaminated" with GPL, proprietary licenses, etc.
They'll find a way to make it apply to their stuff but not their enemies.
Surely it's been that way since the beginning, proprietary stuff would have been vacuumed up in the training data.
It’s wild to me that some people are only just now going “oh wait hold on are my agents using unlawfully gathered information?”
They don't as long as one person e.g. documents what various registers do from the leak and another writes the code.
A lot of these “clones” use the word clean room incorrectly as a hopes of avoiding any takedowns or being locked out by the LlM providers
Also LLM-generated READMEs will automatically insert the word "clean room" to a rewrite even if you explicitly tell it to rewrite based on the source. I tried to rewrite FFmpeg and literally included it as a Git submodule in the repo and Claude still insisted on it being "clean room".
I mean, you did sweep the floor recently, right?
real clean room RE can involve one team inspecting decompilations etc and writing independent documentation, which another team then uses to re-implement it having never seen the starting material. people try to replicate this with agents but like lol
Yeah, pretty comical.
[deleted]
If AI can get away with training on differently licensed code, why is this any different ?
I find the irony in this particular product absoutely hilarious.
Maybe nvidia's cards are slightly more logically setup? The nouveau driver works reasonably well for a lot of older cards as well so it's not like it is completely unknown.
And let's be honest. AMD has a reputation for their driver being quite bad/incomplete . Your description sounds like even AMD themselves did not really have a good overview of what the engineering department had cooked up either, which kinda matches that reputation.
I've got an old laptop with K1100M. This is too old for this nvdriver. Nouveau works well for 2D and probably basic 3D. Anything that requires true 3D fails, eg every HN link to WebGPU games and sites. That's annoying but I can do without it as of course my job is not about 3D graphics. The only major thing that Nouveau cannot do is brightness control. I simulate it with gamma correction, but that works only on X11, not in Wayland.
> AMD has a reputation for their driver being quite bad/incomplete
The reputation is a decade out of date
> chicken bits
Ok, what are chicken bits?
When you design new silicon, you add features to the old generation, but just in case you messed up a weird corner case, you add a config bit that disables the new hardware optimization. In other words, if you chicken-out and get scared of the new feature, your firmware/code can just set one bit in an obscure register then the new feature is disabled, and you are guaranteed the same behavior as the old chip.
They're bits you set to disable a feature, usually because it's faulty or buggy. Literally 'chickening out'.
this is kinda ancient history, but I remember old GeForce cards used to implement the OpenGL state machine, with every command submitted to the GPU matching an OpenGL call, parameters and all.
Binary files are no different than sourcecode for LLMs. I had jaw drop moment when I thought I'll attach firmware and ask LLM why it shows certain message on LCD. I told it what CPU was used and got an answer promptly. It even listed some bugs which I then tried on the device and they were indeed happening.
I am now thinking of telling my LLM to decompile all the blobs in RaspberryPi just because why not.
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.
I call this development model "clean room theater". No judgement on my part but LLMs make decompiling so easy.
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.
The original "clean room" didn't involve any decompiling, IIRC, only describing directly observable behavior in excruciating detail.
The source code to the IBM BIOS was printed in the PC technical reference manual. The "dirty" team read the manual and the source and produced detailed specifications, then a programmer implemented a new BIOS based on the specifications.
My friendly AI fooled me if so, it told me that is 100% ok to observer and re-implement, its the decompile which is problematic.
I think that just shows you should not rely on that "friendly AI" for legal questions :p
And then this repo goes in a training set that another chatbot reproduces. Why is copyright only a concern for tech companies and not the literally everyone else on the planet that they’ve ripped off? I’d love for nvidia to litigate this and set a legal precedent that lights the entire AI theft business model on fire. How brave are the creators of the brave new world?
I'd even see this as the point of this repo. If the owners go through with it.
Even the first option is sus, since the recent navier-stokes-and-friends scenarios strongly suggest that the models directly learn from prompting in a way that breaks the clean-room premises.
How does it strongly suggest that? Mathematicians were on the brink of solving NS, GRH, VP≠VNP, the complexity of matrix multiplication, showing factoring is subexponential, and myriad other problems all within a couple months of each other? And the AI companies took their work and scooped them all? People still believe this?
It is explicitly acknowledged by the frontier labs that they train on your promptings.
And it is demonstrable that an LLM will one day say "I never thought of that" and months later will intuitively know it.
And there have been multiple cases where research thrown through an LLM get scooped by the AI lab, not just navier-stokes.
I do not think there is any reasonable doubt that just about every lab uses chat transcripts to train or finetune.
Yeah they explicitly fine tune on your inputs, e.g. even asking which responses you like better. The question is whether that actually matters and they learned some trick specifically from that one person in a billion users so far that it explains the apparently superhuman math ability, or whether the more obvious explanation of them being given a compiler to train on contributed more.
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.
Sure, I think it's clean room since I don't have the source code, I am decompiling the source and analyzing and reimplementing it.
If you have a different view of clean room that's cool, you can make your own clean room reimplementation, and rightfully claim it's better than mine.
> Sure, I think it's clean room since I don't have the source code, I am decompiling the source and analyzing and reimplementing it.
That's the opposite of what clean room means, not just a "different view".
I'm no expert, but I think most people would call that "reverse engineered", not "clean room". And BTW, I think no need to get defensive. Up this thread I have not seem criticisms of the code, just questioning if it's actually clean-room, because that matters for whether someone is gonna have a better chance of taking down the repository, how likely is gonna end up in distributions, and the like.
That is definitionally not clean-room, by any historically-understood meaning of the term. There might be multiple definitions of the subtleties of "clean-room", but its stable core is "not one person decompiling + reimplementing".
FWIW, reversing is considered acceptable by ReactOS contribution terms, so you're probably fine-ish.
It's interesting because it's the largest relevant effort that I'm aware of.
https://reactos.org/intellectual-property-guideline/
https://reactos.org/project-news/reactos-and-tinykrnl-projec...
Can you point to the wording that accepts this?
It surprised me, so I checked. I understood the opposite. From your first link:
…contributors often need to conduct research to understand the internal architecture of the NT™ operating system. In such cases, the project follows the GNU guidelines for referencing non-free code. This applies both to usage of reverse engineering and exposure to proprietary code such as in the Windows Research Kernel.
The GNU guidelines don’t seem to cover reverse engineering specifically, but they do say:
Don’t in any circumstances refer to Unix source code for or during your work on GNU! (Or to any other proprietary programs.) If you have a vague recollection of the internals of a Unix program, this does not absolutely mean you can’t write an imitation of it, but do try to organize the imitation internally along different lines, because this is likely to make the details of the Unix version irrelevant and dissimilar to your results.
And from your second link:
…due to copyright laws and other law-related stuff, ReactOS (which aims at commercial usage too) can not directly utilize methods of development like dirty reverse engineering, and thus ReactOS can not share all code with the TinyKRNL project.
You're probably right and I misunderstood it. Wikipedia has a decent explanation:
https://en.wikipedia.org/wiki/Chinese_wall#Reverse_engineeri...
https://en.wikipedia.org/wiki/ReactOS#:~:text=In%20a%20state...
So it looks like you're fine as long as one person reverses and other writes code. No idea how it applies when one clanker reverses and other writes, with a person as a middle man.
This is a bit of an aside, but have ReactOS devs ever tried to build an NT based OS without the Win32 compat layer?
They vacuumed before firing up claude code.
good one
im here to register my dismay at the use of "clean room" too. vague nonsense
Nobody actually knows. Clean room is a bit of a BS term. You can take a piece of hardware/software, poke, prod and disassemble it, and write a detailed spec.
You are 'dirty' at this point, but then somebody else can come along and produce a 'clean' implementation of the spec.
This sounds like an LLM skill at this point tbh, so you just copy the .md file into the repo, and then 'do the thing, make no mistakes'
I see "REA" - I know that the person doing RE is not a professional, I'm sorry, REA - is a bundle of semi-random tools glued with slop'd guidelines. This reconstruction needed to be gated with byte-identical verification done with the original toolchain (it's easy to fingerprint it and its flags). And only when you have it verified in the original language (C/C++? whatever nvidia used), did multi-pass review with names reconstruction, covered with tests and so on -> you could port it to Rust. Right now is a ticking bomb (just bc it speaks with hw low-level), let's be honest.
> makes me wonder what the author thinks "clean room" means.
"My parents refused to buy me any more Clod tokens unless I cleaned my room."
> "And makes me wonder what the author thinks "clean room" means."
Either the whole definition of clean-room changed or he just cleaned his room before release... /s
This Markdown is quite a gem. It describes "We are building a clean-room Rust driver" in the title, with Step #1 asking to decompile the driver and "Understand the subsystem's full call graph, object ownership, state machines, and lock hierarchy before writing any code."...
It literally asks to reverse-engineer the original implementation and then rewrite it with "new code".
I doubt this can be used to circumvent any IP-claim...
Author forgot to get a billion dollar valuation before shrugging off IP law
people dilute phrases that have high impact for clout. Remember when "air gapped" actually meant something different than "I configured a switch and router like you normally would"?
Most likely they just prompted an LLM "port Nvidia driver to rust. make it clean-room"
I assume it is like those other projects that told the llm to do "clean room".
a lot, but not all of the docs are public: https://nvidia.github.io/open-gpu-doc/
That and the existing kernel driver is already open source.
Same docs they use internally. I remember.
Not a clean answer but: back in the day Naveen Rao and Nervana Systems beat nVidia at BLAS https://news.ycombinator.com/item?id=20490050
LLMs today probably greatly accelerate the tedious parts of "reverse-engineering"
[deleted]
> learning Chinese with almost no feedback
Perhaps you should take a read of https://en.wikipedia.org/wiki/Chinese_room which is the thought experiment about AI and true understanding vs regurgitation.
You can understand the symbols even if you don't understand the meaning.
"Clean room" is doing a lot of lifting here without any evidence.
This is kind of wishy-washy, but I feel like we can say large language models have reverse engineered systems described by natural language, simply by being trained on natural language. To me, I think this can be reasonably declared to be a type of understanding. When I originally heard about the Chinese room thought experiment I felt like it was being presented as though it’s not possible to understand something through symbolic representation. I think this is mistaken and assumes everything has to think the way that a human does. Sure, humans can’t learn Chinese in that fashion. But we only have a handful of slots in our working memory. Not millions or billions like a computer.
> chicken bits
Oh TIL
> A bit on a chip that can be used to disable one of the features of the chip if it proves faulty or negatively impacts performance
That's all in the firmware. This is a copy paste from the open source Nvidia driver.
[deleted]
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.
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.
Air cooling is great, unless you have high density. I can run a bunch of gpus flat out with almost no noise since they are spread around on the floor and a very large very slow fan is blowing on them.
Why didn't you go with liquid cooling and heat pump the energy out to a proper condenser/cooling tower setup? You can jury rig one pretty easily they are all fairly simple to build with parts of McMaster-Carr (the cooling tower, not the condenser, that one is best to get off the shelf).
https://www.mcmaster.com/products/cooling-systems/
https://www.titanrig.com/alphacool-eiswand-360-cpu-water-coo...
high frequency noise is far easier to dampen
Noise and cooling are still arts more than science. I recently built a home AI server in a rack. I did the normal cooling stuff (insane fans) and it was loud. I just accepted that. Then I wanted to add some GPUs but didn't have space. So as an experiment while waiting for a bigger rack enclosure I tried one of those open "mining" frames for 50$. Surrounded by open air, the GPUs were happy enough without any extra fans. And it was quiet, more quiet than my desktop gaming rig. Counterintuitively, the ramshackle frame was quieter and cooler than a "professional" rack mount. It is silently sitting in the corner of my apartment right now. Only when I ask Qwen-27b to do something substantial do the fans even twitch!
In the winter, the free heating for your home is a plus :) - you are actually saving money
I _think_ depending on what your heating method is, it can be so efficient that you still don't save money, exactly. Eg heat pumps are _very_ good.
It's just a bit less wasteful in the winter than it is in the summer, because some of the waste isn't waste.
> 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.
We already had one 1st party nvidia kernel driver here: https://github.com/NVIDIA/open-gpu-kernel-modules
Whats the difference? I thought the remaining proprietary bits were the userland part, not the kernel driver?
This does not work with V100 (Volta family), because they don't have a (full?) GSP. This family is specifically the target of the driver, as you can see in the README.
Good question.
rust instead of C?
Lots of peeps in this thread talking about the legality of clean-room.
I'm a proponent for abolishing intellectual property altogether.
https://cdn.mises.org/Against%20Intellectual%20Property_2.pd...
makes the two of us, given it IS already abolished,... WAS really several years ago when large scale training started and it was proved to have been done on licensed material. you see - everyone not understanding IP was slashed, diced and effectively killed, is living in some weird dissonance compared to what world we live in 2026. IP and copyright are super transient and very often complete loss of effort.
it is effectively impossible to bar anyone to cook your soup if they can guess how its done. is some early 20 century wet dream which makes super little sense in information society where there is no viable way to sign authorship, at least not yet. and particularly in the light of impeding doom of classic crypto.
I often wonder if IP even has a point anymore. The marginal cost of producing what would formerly be high-value IP is close to zero.
I'm not. I like free software and copyleft licenses. Not enforcing copyright makes all the requirements of GPL voluntary.
No IP means no protection from decompiling and you can pirate all the movies you want and film in the cinema if they won't put it on streaming, FWIW.
Also means if you write a book you won't see a single cent.
Also means every burger restaurant will call itself McDonald's with the golden arches.
Same I don't gaf that nvidia the giant trillion dollars company had its "IP stolen".
Eric Hartford (QuixiAI) here, author of nvdriver. Happy to answer any questions.
How do you define "clean-room"? It appears that you started by decompiling the existing driver, which is almost the exact opposite of clean-room. The exact opposite would be having access to the original source code, but this is pretty close.
I would describe this approach as reverse engineered rather than clean room. Maybe just semantics here, but why add the clean room labelling if not to imply that it uses no NVidia IP?
Would be fairly trivial with LLMs no?
Hey Claude, decompile this driver and write a detailed spec of how it works. Don't include any code.
Hey codex, write a driver based off this spec.
No. Clean room engineering means that the team implementing the thing are, to quote Wikipedia, “demonstrably uncontaminated by any knowledge of the proprietary techniques used by the competitor”. You can make no such guarantee with an LLM that has been trained on unknown sources.
What exactly would be fairly trivial? To make it hard to prove that the implementation was not clean-room safe?
In that case, sure, I guess, but the question is what are we trying to do here. If the goal is just to evade a takedown notice because of IP infringement, this makes it harder to obtain evidence that there was IP infringement.
If the goal is to actually not engage in any IP infringement, then you have to not decompile.
I don't see any mention of GB10, so will trial it out on the Sparks we run at https://enverge.ai. Unsure what kind of improvements to expect though.
[disclaimer: I'm one of the co-founders]
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.
I've added all the hacks I'm aware of - If I've missed any, give me links, happy to add it!
I'd assumed the V100 HBM2 memory clock could be backported, that the earlier Tesla series would have the same capability.
Does the P2PDMA mean I can pull weights off of an nvme array straight into VRAM without crossing RAM/CPU?
Does this unlock SR-IOV/vGPU on cards that don't expose it normally or just remove licence checks?
How do real time graphic api support factor into this 'driver', like DX and Vulkan?
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.
It's much more practical to monitor one thread for new questions than to monitor all of them.
They just have to monitor one more level of the tree. It's not that hard.
How did you do this?
tough crowd?
amazing work, thank you for sharing!
If you're used to Twitter/reddit where 90% of the "feedback" someone receives is "Wow, cool work, thank you author!" and similar empty platitudes, I know I much more prefer HNs way of providing actual feedback instead of just "happy vibes", since I want to actually improve.
As several others already said, how can you call it clean-room when it was made by reverse-engineering Nvidia drivers?
By the way, the Nvidia terms that you accepted if you downloaded the driver forbid reverse engineering; and in any case, the drivers are likely to be employing some patent, for which even a true, legal, clean room process would require a grant.
Reverse engineering and clean-room development aren't mutually exclusive. Reverse engineering, including decompilation, can be part of a clean-room process. The relevant question is whether there's sufficient separation between the analysis of the original implementation and the development of the replacement, not whether reverse engineering occurred at all.
So did you have one team reverse engineer the drivers, write a specification and have a completely separate team build software based on that specification?
Who were in the two different teams? How did you ensure separation?
What is software, if not a very precise specification?
A specific implementation of a precise specification, with lots of arbitrary choices; which are, I believe, what makes it literary work that can be afforded copyright protection.
These are very valid questions.
For Claude, I guess
> one team ... separate team
Claude and ChatGPT working in separate directories ;-)
Two different sandboxed AI agents who went to the same university (training data), instructed not to talk directly to each other
In this case it's not even that, from its AGENTS.md every function is reverse-engineered, and the same agent (supposedly) reimplements it again.
Besides it being the same agent with all the reverse-engineering context still there, reverse-engineering always means "inventing" code akin to the original source code, this methods basically just uses a second shot of inventing that code.
And it might well be that there's not even this attempt of indirection: the instructions say "REA the exact algorithm step-by-step for each function" and then "Implement the full algorithm faithfully".
Will the agent interpret the first step as writing the algorithm in pseudo-code, or will it use an actual programming language?
If it's the second case, the succeeding step might well reuse the output of the first step directly.
But most of all, to my understanding clean room requires extracting a higher level specification to reimplement, and your code must not be influenced by the original product's implementation details; re-implementing each function faithfully, yeah, doesn't exactly abide by these rules...
Except they do talk to each other one-way and no one's checking what they're saying
Might be sufficient for the judge and jury
Unlikely. Real clean room uses such strong techniques because it's the only reasonable way to prove you didn't. The plaintiff can examine the documentation you gave to the clean side for any trace of copyrighted material. If you gave them an AI transcript, think they'd find any?
Training on stolen source data to generate new work is court-approved AI use, isn’t it?
If not, the frontier model providers are in trouble.
Yes, it's court-approved.
From a former GPU wrangler: Congrats on your first release!
thank you Mr. David!
Frontier LLMs are extremely good at hill-climbing tasks like this, where the outcome is fully measurable (e.g. full parity with an existing kernel module’s behavior and interface).
For the last week, I’ve had a swarm of agents working on a new Rust back-end for T3 Code. It reached full parity quite rapidly and the last ten days have been spent finishing off the edge cases that are encountered rarely in real use. The Rust version loads 22x faster, uses 11x less RAM, and blows away the Typescript original (already no slouch) on nearly every metric.
But, toppling Nvidia’s ivory tower? That’s impressive AND useful!
That’s interesting. Can you link to the project?
https://github.com/ttulttul/Ferrum
thank you for sharing, this is useful to me.
P.S. the performance gains are pretty extraordinary. From performance.md just 22 minutes ago:
From the latest CI run, on a GitHub-hosted runner. A ratio above 1× favors Ferrum.
https://github.com/ttulttul/Ferrum/blob/main/docs/performanc...
But perhaps the coolest thing is the WAY that agents built this thing. I basically just kept using T3 Code on my Mac while agents periodically swapped out the T3 Code server back-end for Ferrum. At first, it would do a 30-second swap test because they mostly failed. But over time, the swap-out duration lengthened and lengthened. Now, it's possible to just run it all the time.
And, I bolted Ferrum onto Cloudflare Workers for an internal software factory project, allowing you to run T3 Code sessions inside of the same sandbox environment that our software factory agents live inside. And it's all super performant. A very cool and satisfying project.
Ah man, I would absolutely love something like this that could power older nvidia GPUs as well (say the Curie architecture found in older models like the 7700 Go) so that I could have a driver available that could compile against modern Linux kernels. I know there's Nouveau, but that won't run the GPU at it's full potential unfortunately.
As it is now I'm stuck running an ancient version of Kubuntu because I need the older kernel ABI that can interface with the legacy nvidia driver.
Speaking of older tech, I wonder if something like this could be done for the T2 Mac's wifi/Bluetooth chipset? I understand it's just one blob for a chip no other computers use but that it's quite complicated go reverse engineer because it's like a full os in that little thing.
Genuine question: how can you claim your code is a clean-room re-implementation when you're using LLMs?
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
There is also the legal reality that a multi-trillion-dollar corporation can sue you for longer than you can remain alive, never mind solvent.
I don't think this particular one would last that long, they would be arguing that LLM can output a copyright-infringing code which is a direct stance against pretty much the entirety of their customers.
(bear in mind its stock market value is shakier than an earthquake just now, it tanked and recovered almost 50% recently and is on the hook for trillions in dodgy data-center build-outs just now)
> bear in mind its stock market value is shakier than an earthquake just now
It only costs a few million in legal fees to keep you in court till the bank repossesses your house. A rounding error, even to an embattled corporation of this size
[dead]
Maybe you should mention this is unsettled law and what that means with respect to whatever guidance you would give?
The standard for infringement is not unsettled law. It's very well settled law. I was pretty clear most of the argument would be over access, and I believe that is correct.
Most of the time substantial similarity is a blocker to even getting started - despite lots of word-blood being spilled, llms generally do not output like 50 pages of your favorite book. Once you get over that hump and find substantial similarlity somewhere (IE it outputs 10 pages of code someone else wrote), most of the actual argument is over access.
Well, they say Mozart could listen to a symphony, go home, and write it out by hand. Is that infringement? These ais have no problem running a decompiler and reading assembly. It’d be hard to argue it doesn’t have access to the Nvidia gpu driver.
OTOH, it’s a rust rewrite, so I don’t know if that counts as substantially similar.
The Mozart example is a very straightforward copyright infringement. I’m not sure where you’re trying to take the argument.
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.
You seem very confused. I didnt argue anything was or wasnt infringement. I argued nobody will have to prove conclusive unambiguous anything. This is not an argument. This is very well settled law that has so far been applied in the age of AI
you seem to believe this would make everything infringe on something. I dont. As I said most of the argument would be around whether or not LLMs have access to protected works or not, just because they were nearby when they were trained or used as feedback or whatever. whether that argument succeeds remains to be seen. I do not believe it will change the standard for infringement overall.
As for the second for what it’s worth, you’re talking to someone who uses thousands of dollars worth of tokens for coding per week, including reverse engineering. i’ve also run many high-level reverse engineering projects for companies.
just because it’s easy to do something doesn’t mean we don’t make it illegal or expensive to do it. we do that all the time. probably the majority of civil laws fall into the case of making easy things illegal or expensive. it is wildly naive to believe that just because something became easy means that the law will do to do nothing about it.
people porting video games to Windows using reverse engineering is very different than starting and running a viable business around it that won't cause you to be on the run legally forever
while it’s accurate to say the law will roughly not achieve anything against the former, and doesn't really try for the most part (except to establish a basic social barrier to entry), it tends to be very good against the latter.
Finally, it's useful to keep in mind so far every major AI company has lost or settled every single case where someone could prove substantial similarity to a protectable work.
Losing every case and paying billions is fairly hard to square with your view that we have reached the Assassin's Creed stage of "nothing is true everything is permitted".
Maybe you don't like the amounts won or settled for, thinking them too small or whatever, but that is not quite the same.
I don't feel very confused.. I guess you limit LLM access to runtime while I am considering training time. It's very likely private IP were used to train models by accident. Accepting this argument is the risk I was mentioning.
Obviously if antropic and openai are liable for end user actions, or unfortunate IP inclusion on training data, they won't be able to compete with Chinese and open weight models. I can't imagine the current administration letting this happen.
You're not confused, lawyer up there just doesn't understand AI. In my opinion.
You are missing the point of clean-room reimplementation.
A clean-room reimplementation is never required. You can definitely get away with far less strict separation - but there is no strictly defined line line of what is okay and what isn't, which opens you up to billion-dollar lawsuits.
A clean-room reimplementation is the nuclear approach. You are ruling out every possibility of a lawsuit because copyright violation is by definition impossible. It is a huge pain for everyone involved, but it is worth it when you can 100% rule out a decade-long lawsuit with a company like Oracle.
In reality "your honor, the genie is out of the bottle" is not exactly a watertight legal argument, and until someone gets sued to oblivion we won't know for sure which side of the LLM argument will win. The fact that this doubt exists at all makes any "LLM-written cleanroom implementation" claim worse than useless.
There are some projects that reject LLM-generated code because of the legal gray area surrounding it.
All of the hyperscalers are rewriting their stacks with LLM-generated code. If there is a gray area they are all deep in it.
Well, they have big money for lawyers. Do you?
> For one, your argument would make all code written in the last year infringe on something, which make this argument practically moot.
Does it? None of this has really been tested in court yet. There's a distinctly nonzero chance that that all of last year's code _could_ be found to be infringing on copyright.
Wishful thinking and scale does not guarantee the courts.
My bet is on large companies treating it like mutually-assured destruction: when everyone is both doing the stealing and being stolen from, then nobody can call foul without also self-implicating. To have a real test in court we'd need a Microsoft v. Google, which is never going to happen.
Of course, that's not going to stop Big Tech from using it to crush smaller parties...
> Of course, that's not going to stop Big Tech from using it to crush smaller parties...
They may not; it only takes a single loss to set precedence, which none of the big tech companies want right now.
Not sure how they are going to handle this going forward; all their software is now effectively clonable for almost nothing. They are going to need to rely on network effects, if that, and that's fickle as hell.
At this point there is no need for a Microsoft Windows license[1].
-------------------------
[1] Last night I wanted to play Project Diablo on Wine. It didn't start up (no crash, just a refusal to load a DLL). Claude helpfully investigated, resulting in it making a change to the Wine version I had installed (from Ubuntu), compiling an entire new system dll, and then copying it over the Ubuntu provided one. It did this because it found, just from the binary, a NULL-pointer exception in a DLL.
All I did was prompt "Project Diablo is installed in $FOO; make it work".
Different calculus for a business of course but for a consumer MS doesn't bother with technical or legal obstacles to enforce TOS anymore.
There's a distinctly nonzero chance that that all of last year's code _could_ be found to be infringing on copyright.
Nonzero I suppose, but smaller than any x you care to name. Courts are not going to destroy the AI industry over copyright for the same reason they weren't going to declare that airplanes were violating the property rights of everyone whose homes they flew over.
My dumb civilian logic is these companies stole the entire worlds knowledge including pirating huge datasets and taking copyrighted code and it somehow counts as “fair use”. So they don’t have any right to accuse anyone else of stealing, they are the ultimate thieves.
> So they don’t have any right to accuse anyone else of stealing
They may not have the moral right, but they definitely have the legal right
For context: https://en.wikipedia.org/wiki/Robber_baron_(industrialist)
Don't worry, they'll still keep suing individuals and startups.
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)?
Subpoena the model providers in discovery to see if the Nvidia source was in the lake.
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 ;))
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.
> It is an English saying! The English variation is “the knife cuts both ways”.
That's funny; I remember it as "That sword cuts both ways".[1]
------------------------------
[1] Many knives typically cut only one way - the blade has only one sharp edge.
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?
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?
In German, there's a saying "Everything has an end but the sausage has two". (It just means "Everything will eventually come to an end".)
> 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.
In French, "it's a double-edged knife".
[deleted]
There's also "live by the sword, die by the sword" in english if you want it to be more biblical.
Ethics notwithstanding, I think courts have called training on copyrighted works fair use.
Keep in mind that the legal precedent of today's tech may not hold for tomorrow's tech. This is all pretty new and the dust hasn't settled.
IANAL so please lawyers, correct me. What most of the cases were about was whether training itself infringes on copyright, but it doesn't mean you can reproduce copyrighted material. This is the exact reason why models have guardrails on top refusing reproduction of copyrighted works and it's also part of the EU AI act.
So far, they have not legally enforce copyright on the training but the output of the model may still infringe copyright. If you use my books to create a spell-checker model, then this is considered fair use (even though I think it shouldn't when taking this scale). If you use my books to create a book-writing model that reproduces whole paragraphs of my work, then your output still infringes on copyright. Then since you have access to the material and your output is identical, you have a copyright infringement case.
You can also read about the Suno case which was judging exactly this. Copyright work were memorised inside the model in a way that's not deemed transformative. You are allowed to store "statistics" and "trends" but not copy the work itself.
But again, with everything legal a precedent might exist but it's rarely a one size fits all. You can guess whenever there is a precedence but details (and your defense/opposition) also matter
I think they found the opposite, didnt Anthropic just get handed a monstrous judgement for using copyrighted works?
My understanding was: training on copyrighted material is fair use. Acquiring the copyrighted material via Anna's archive etc is still not allowed.
(I think downloading was already infringement before, reading is allowed with all the usual consequences like possibly learning something new)
training was deemed fair use in that case but your output can not infringe on copyrighted material. In Anthropic the main case was on illegal access, it does not cover reproducing significant amount of the training material
Another English version of the same would be to say "It's a double-edged sword". Language is neat.
Nvidia would be insane to create a precedent that any proprietary code in the training data would mean ALL code created from it violates licenses. That would single handedly destroy the main driver of (reasonable) AI adoption, coding.
There is only one solution to this, somebody clean room re-implement Oracle DB
all of this is clean room for as long as nobody proves LLMs were not trained on everything they could reverse-engineer in advance. because it actually seems a very good idea, and particularly if we are taking measures to first shuffle it a little, and clean the traces of it in post-training.
until then, though, most software will already have been reversed and rewritten. ordinary joe and jane's wouldn't mind that much, trust me on this, if they even understand what all the hassle is about.
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.
Indeed. I often have quite complex projects pre-LLM with one commit I made after I got everything to work.
Or not bothering committing until a full "first draft" is done
> 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.
No author, no copyright.
However, in this particular case of a "clean room" driver - the human controlling the LLM is then responsible for any potential and relevant copyright violations in the training data. Or perhaps language models are the perfect copyright-laundering process, it consumes any and all data and generates copyright-free public domain code, text, images, sounds.
LLMs don't author code (in the same way compilers aren't copyright holders of the binaries they generate).
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".
[dead]
> "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.
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.
What is the credence you'd put on Anthropic having had access to Nvidia's driver source code, and that if they did, they used it for pre-training?
For me personally it's about 0.0000001% (the approximate density of the hypothetical dataset in the pre-training, assuming a 100T token pretrain with 2M LoC driver)
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.
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.
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.mdYes it mentions REA, it's just decompiling the drivers, this is 0% clean-room
If you use the agents to decompile the driver, then document it, then have another agent (session?) implement it based on the documentation, does that count as clean room?
No. Rewording the program from assembly into human readable text does not constitute clean room.
No one does it like this in practice, decompilation is almost always the first step.
> decompilation is almost always the first step.
Still not clean room. It's just assembly written in a more human readable form, the disassembled code does exactly the same as the assembly.
Then what constitutes clean room in your definition? I think you'll find that you've excluded every possible method.
Different person here, but you can construct a spec by simply observing behavior of the system. You can even automate this, with fuzzing and related techniques.
Isn't this how many Linux wifi and graphics drivers were written? And then didn't BSD take those drivers, and do the dame process to derive BSD versions? (Just using humans instead of AI)
This is why, while the two sides of this debate seem evenly matched, it's clear if we do a little historical research that one side is much much more likely to win.
This is technically grey but politically it is very clear that washing via LLM is acceptable.
> 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.
If you knowingly point your LLM at material that would preclude clean room (e.g. ask it to disassemble proprietary code, or use "leaked" docs etc) then it's certainly not clean room.
But if I say ask an LLM to produce an application that mimics that of another app, only by observing its behavior from the outside as a black box, then I'd argue it's very much clean room. Even if I have no idea of what the LLM itself was trained on (It could have been trained on the source of the proprietary app, through a leak!).
As long as you start a new session after coming up with the dirty spec it should be considered clean room is my understanding.
Wait, do LLMs have the source code of NVIDIA drivers in their learning data set? If not, how is "clean room" inapplicable here?
It's enough for them to have the NVIDIA binaries in the data set at this point
I doubt that LLMs are trained on binary data.
The binary data wasn't in training here; it was in context. The repo talks about disassembling the originals.
doesn't matter. Reverse engineering a driver from binary isn't clean room implementation
See https://news.ycombinator.com/item?id=50546587 and associated discussion
> 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.
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.
It's been interesting to me how many people who were pretty hackery before suddenly really believe in "IP theft" now
Stealing IP to make something proprietary should be morally questionable actoss the hacker spectrum.
As one of those anti-copyright (really: just way less powerful copyright) people, myself, I agree- if those people are not expanding with any context or nuance. For me, I'm pissed that these guys are getting away with the "IP theft" just because they're rich and powerful, while the rest of us plebes would still be punished today if we did any fraction of what Zuck had Meta employees doing with copyright materials.
Given the choice between "everyone has to follow copyright law" and "most people have to follow copyright law; but connected, wealthy, people/companies don't", I much rather have the former than the latter. That's in spite of the fact that fewer people restricted by copyright is, in some way, technically closer to what I want (i.e., zero people restricted).
Right. The actual problem is letting rich people just do whatever they want.
Because those are proprietary black boxes made by for profit companies?
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
This current situation is very convenient for some players, of course. As long as the copyright is in this Schroedinger state, the individual can get sued into oblivion and must still conform to copyright laws, or risk their freedom and existence, while big tech can delay as much as needed, or just write a cost-of-business check and not get into trouble.
> 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".
The one and only unambiguous thing "clean room" means in this context is that the authors are trying to position themselves in line with the legal precedent that would protect them from being sued over this project. That's it.
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.
Add "Make it look legal." to your prompt.
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
Because "clean room unless the courts decide that all code written since 2024 is now potentially infringing on someone's code that was in the training data, single-handedly crashing the world economy" doesn't have quite the same ring to it, you know?
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.
Yep. This isnt even restricted to nvidia/proprietary software. Its also applicable to copyleft licensed software
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.
Or will result in consumer-tier GPUs becoming even more expensive.
Nvidia is already cutting consumer GPUs and makes them more expensive as a result.
Yes, just announced: https://news.ycombinator.com/item?id=50694304
Well, isn't that an unconfirmed source?
It will probably lower the price of newer GPUs while increasing the worth of the old ones.
That's a good thing imho.
Our head of IT told me that insurance also is a problem because the consumer GPUs aren't rated for DC use the DC's own insurance wouldn't cover fire risks. And getting custom insurance was way out of their wheelhouse.
You can also just support vendors who provide & maintain free software drivers (like amd)
[deleted]
Neat. Lots of 'unsafe' hardware access in this. Always makes me wonder if Rust should look into something like Representation Clauses like in Ada.
https://learn.adacore.com/courses/advanced-ada/parts/data_ty...
It would allow for compiler level protection from writing wrong data into a register.
Anybody know if that is planned for Rust.
Any hardware access is always going to be unsafe, because the compiler cannot know what the hardware does. For all it knows, it could change the memory of the running app. There's no implementation that cares about ownership where that goes away.
I was specifically thinking about register access. That you can make safe if you provide a way to describe what the hardware needs.
Something like this:https://en.wikibooks.org/wiki/Ada_Programming/Representation...
You cannot make it safe. The data representation part is already mostly covered by packed!, enum and ranged_integers. But that doesn't make register access safe.
Any time you touch hardware, all guarantees Rust makes disappear. And anything you place in mapped io can change when you don't expect it.
Can an AI driven, or even AI assisted project be considered clean really room?
I don't know if it can, but everyone seems to pretend it is so.
With big tech companies bribing governments it seems the world has decided that copyright doesn't matter anymore
Honest question here - could it be possible to damage your irreplaceable video card with a buggy driver?
I have the feeling it's not simply something you can install and test for fun.
I had the exact same thought, I have a Tesla P40, which is listed as untested on real hardware.
Should I try running it and throwing some inference task on it?
What else are you going to do with it if you don't?
Run some personal agent, that was my original plan anyway
For now I'm just having fun setting up Proxmox, VFIO, and tuning llama.cpp parameters
If it can control fans then I wouldn't trust it.
Can it do MIG or fractional GPUs?
Hello, that's insane, I just scratched the surface, but looks great, thanks!
Why not put your effort into noveau?
nouveau is strictly clean-room, not "we told an LLM to make it clean-room then gave it a full copy of the proprietary drivers". You aren't allowed to contribute to nouveau if you've seen the proprietary driver.
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.
anyone tries it yet? is the number claimed in the readme correct?
Very impressive.
Looks cool, but I'll wait for some tech youtubers to test it first.
[dead]
[dead]
What's the point of this project besides to show off their AI tooling?
An open source Rust Nvidia driver already exists https://rust-for-linux.com/nova-gpu-driver. Not only that, there is also a newer open source userland Mesa implementation for it https://docs.mesa3d.org/drivers/nvk.html
Seems like a really great use of their time :\
TBF the Rust Nvidia driver mostly just serves as a loader for Nvidia's actual driver, a binary blob that acts more like extended firmware.
It's more complicated than that of course but much more limited than, say AMD's open kernel driver.
"clean-room" usually defines two distinct isolated teams, one to document the implementation of a product, and another one to implement it based on that documentation.
A very odd idea if both roles are taken by an AI agent:
It's more like a sport.
Like asking Agent #1 to only use animal sounds to instruct Agent #2 and then compare how well the result matches the source...
An extremely verbose project description yet no mention of other nVidia drivers such as Nova. How are the goals and/or implemention different?
This has me wondering: how thin is nvidia's moat?
Regardless of "clean room" claim, not everyone in the world respects US courts, and even fewer respect nvidia itself now. Nvidia doesn't fab their own chips -- they're basically a software shop that licenses production of their chip designs and controls them post-production via complicated black box drivers.
How easy or hard would it be for folks less inhibited by IP laws to chip a few trillion from nvidia's market cap?
I don't think a rando, even with a billion in cash, can call TSMC, block few of its production lines, and get few million cards built just like that, even if they get CUDA compatible drivers.
So... moat is that they've been doing it for decades now?
Ah, "clean room". The new "No copyright infringement intended".
Port to macOS and get native NVIDIA support (for select cards...) back? ;)
nvidia driver for macos?
https://github.com/nullmoth/nvidia-macos-driver
Already happened for Intel.
lol @ the people debating the copyright implications of this, when the would-be-plaintiff is among the parties chiefly responsible for the gang-scraping of the collective cultural output of humanity. Its yolo-times, folks. Intellectual Property is dead.
I see a modern movement in software akin to reading chicken entrails. First, folks are attempting to set weights on neural nets using LLMs, and then you have this reverse-engineering and translation. Whereas setting weights on neural nets is somewhat justified as no one knows how LLMs work, decoding and translation is a fools errand since there is a theory of how the chip works and what you end up with is something brittle. Instead, I would build sw using AI but with a theory which has the potential to be longer lasting.
We’re going to have to work very hard to counter AI incumbents who want to prevent you from using the very technology they enable to compete with them.
I have heard friends in the industry people doubt it is really a clean-room RE effort based on code comments and contents.
I suspect when people say "clean-room", they often mean they told the LLM to perform clean-room RE and often don't have any clue what it means, have not verified that it actually happened (did you read the transcripts?), and have not set up their harness in such a way that diverting from clean-room RE was not possible.
I have had some RE projects in order to test the waters and would regularly see frontier models perform actions that are incompatible with clean room RE while writing code. See the Wine Clean Room Guidelines [1]. I don't believe most projects that claim to be clean-room implementations are such, and I believe even less projects can prove it.
I am not saying this is the case for every LLM RE project, but there sure are many LLM RE projects out there from people who have no idea what they are doing but are now able to carry out RE efforts. To many, "clean-room" is just a buzzword that they have heard around reverse engineering. This uncomfortable truth may get some projects in legal trouble.
[1]: https://gitlab.winehq.org/wine/wine/-/wikis/Clean-Room-Guide...
Huh. Well with people decomping games and loads of other things using AI...just kinda realised...what stops people from decompiling official GPU drivers and porting them to wherever they need to go? I bet Linus would giggle at the irony.
Maintaining a driver for GPUs is a full-time job for a full size team, is it going to be a dead project in the next couple of months? What's the goal of that project?
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
Great if actually works. (Because tbh I don't trust much AI-written READMEs.)
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?
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.
its open source! please send me issues I am happy to fix them.
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.
Why? The Artcraft stuff is heaven sent and even much faster than opening original Word etc. I love it!
Why is it heaven sent? Have you tried working in like for a week?
Cleanroomness of it is up for debate.
I'm just going to say it, the fact Jensen was caught in a cheating scandal is not surprising given the lack of care towards non-Windows people with Nvidia cards
I do see people posting the angle occasionally that early on AMD was garbage and Nvidia was the only one with a good Linux card. That's possible. But Nvidia has been a pain on Linux for years and no surprise the quality isn't there given the CEO
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?
>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.
what do you want? me to hire a graphic artist? for an open source project nobody is paying me anything for?
An acceptable option is write a brief description of the project that's intended to be read by a person, and not present LLM-written descriptors and prose to users, forcing them to determine if it's genuine and/or worth their time. As a human, LLM-generated readmes like this are insulting.
Regarding the banner: Either omit it, or use a model to create a tasteful one.
You could just have no image? Back in my day README's were text only, and if you were really motivated you added some ascii art, regardless it's orthogonal to the thing people are actually there for: the text.
Is it important? NO! If you are annoyed by this image just block it and spare us your pointless words.
the banner is the smallest "issue", it brings no value other than showing you've spent 5min generating an image which falls apart when you zoom. the project description being unreadable is my main point.
MIG? No. Still needs a license.
Licenses? Whats that, stuff from the past.
.
The first release was today, how can it already be underrated?