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.
No. Proof of Work that is useful for other applications damages the security model of cryptocurrency. The entire idea is to make it infeasible for an adversary to rent enough PoW to spawn camp the chain.
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)
This is also only the 'kernel' driver, not the userspace driver, where a majority of GPU poking actually happens. I don't have a rig to test this up rn, but it would not surprise me if this works fine with the Mesa-NVK driver.
For some variant value of 'work', of course, but current mesa does ship a nvidia userspace that does some things all the way from maxwell to blackwell.
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.
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.
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.
I feel like a law requiring open hardware, or even just requiring hardware to interoperate with any computer software system through the documentation published by the manufacturer, would very quickly solve this problem, at least for the bigger corpos. Of course, the law would also mandate that the means by which interoperability is acheived is no more difficult/complex than whatever the manufacturer does to communicate with the hardware.
It's basically the default state. There's a certain webcam sensor manufacturer that has notoriously terrible public datasheets, that basically tell you nothing and all the drivers that exist are just reverse-engineered blobs of 'write this value to this address'. I've heard from people who have signed NDAs and such with them, working with larger projects where you would expect to maybe get the full datasheet. Nope, they're not working with anything better in terms of documentation, what you get is being able to talk with their engineers to maybe figure out how to do what you want.
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.
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.
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.
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.
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.
>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.
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
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.
Before, two teams, one to analyze and document, other to implement.
Now, two AI agents, one to analyze and document, other to implement. Maybe a third agent to act as intermediary and lawyer.
And if that is illegal in your jurisdiction, find another jurisdiction. With governments around the world being pushed to make training AI on data without license or permission, you will probably find one to meet your needs.
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.
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…
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.
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.
> A trade secret doesn't lose its trade secret status just because it got leaked.
IANAL, but I did take a (non-law school) IP law class, and generally the loss of secrecy via any means results in the loss of the trade secret. In other words, a trade public-knowledge is not protected. You can prosecute the person(s) who leaked it, but not people who use it after it has become public. If you want protected public knowledge, you file a patent. (This led to a discussion on the choice of trade secret vs patent, depending on how long the knowledge is expected to be useful for, patentability, cost of patenting, etc.)
I also don't think that decompilability is any protection against violating a trade secret, since the test is whether the company took reasonable actions to protect the secret. Since the driver must be used, releasing a binary-only driver seems like it might be a reasonable level of secrecy. (But might not, you'd have to look at case law.)
It depends on how big the loss of secrecy is. If it is a small loss of secrecy the trade secret might survive. The Uniform Trade Secrets Act (UTSA), which has been adopted in the US by every state except New York, along with DC, Puerto Rico, and the U.S. Virgin Islands, defines "misappropriation" as (I'm going to insert underscores in front of some lines to represent indentation):
> (i) acquisition of a trade secret of another by a person who knows or has reason to know that the trade secret was acquired by improper means; or
> (ii) disclosure or use of a trade secret of another without express or implied consent by a person who
> ___(A) used improper means to acquire knowledge of the trade secret; or
> ___(B) at the time of disclosure or use, knew or had reason to know that his knowledge of the trade secret was
> ______(I) derived from or through a person who had utilized improper means to acquire it;
> ______(II) acquired under circumstances giving rise to a duty to maintain its secrecy or limit its use; or
> ______(III) derived from or through a person who owed a duty to the person seeking relief to maintain its secrecy or limit its use; or
> ___(C) before a material change of his [or her] position, knew or had reason to know that it was a trade secret and that knowledge of it had been acquired by accident or mistake.
If the owner can get the leaked or stolen information taken down while everybody who has acquired a copy falls under (ii)(B)(I) those people cannot legally use or further distribute the secret. If that succeeds in keeping the secret confined to such people and those people fear the legal consequences of going ahead and spreading it anyway, the trade secret survives.
If it spreads farther it can be lost. According to Wikipedia, the comments on the USTA's definition of a trade secret say "A trade secret ceases to exist when it is common knowledge within the community in which it is profitable. This means that the secret does not need to be known by the general public, but only throughout the industry that stands to profit from it". (A quick search failed to find the comments to the USTA and Wikipedia doesn't give a link so I'm just assuming they are right).
The legal consequences for the early spreaders, the ones covered by (ii)(B)(I), can be pretty scary. Suppose they keep spreading it, the trade secret is lost. The damages could include the market value of the trade secret (what a buyer would have paid for exclusive rights to the secret), or the R&D costs that the owner incurred in creating the secret, or the profits the owner loses due to competitors now using the former secret.
It can be hard to pin those on intermediate links in the chain of spreading, but even a small risk of that can make you think twice. If it happens to your post of the secret on some forum that rapidly goes viral then you can be royally screwed. You could end up in a situation where when the secret is public enough that the trade secret is extinguished the majority of copies out there came from your post.
You might think in that case you can argue that the upstream spreaders you got it from are just as responsible so at least any liability would be shared.
The frightening thing you run into there is "joint and several liability", which many states use. Briefly, what that says is that if multiple wrongdoers contribute to an individual harm the plaintiff doesn't have to come after each separately for their contribution. The plaintiff can sue any of them for the FULL amount of damages. If the plaintiff wins that defendant pays all the damages, and can then turn around and sue the other wrongdoers for the amounts they contributed.
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
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
> 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?
Not the above author, but I think the trade-offs are managing the tension between what can be tested during the hardware development part of the project and what ends up being the reality of operating in varied hardware and software environments. Add on to that any friction or risk of a secondary update failing (the driver updating the card firmware, for example) when the activity is "setup" that isn't part of the system after start up or driver or hardware initialization, it's a tantalizing prospect to remove a whole class of failures and gain more rapid deployment of fixes, and only paying in driver update/on disk size, for all intents and purposes.
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.
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.
If what you are trying to do is make your own program that is a clone (partial or full) of some other program and it is just you, then decompilation is risky because if you write code that is similar to the decompiled code it can be hard to defend against a copyright infringement claim.
The burden of proof will be on them to show you copied, but they only need a "preponderance of the evidence" to meet that burden. That's usually done by showing that the alleged infringer had access to the copyrighted work and made a work that is substantially similar.
If you don't decompile and just implement based on the behavior you observe in their program you are much safer.
If you have more than one person involved and you split the work in a proper clean room fashion, then decompilation can be fine. The people that decompile just use the decompilation to figure out what the program does, write a spec for that behavior, and pass just that spec to the people who implement. Ideally the people who implement should not even have the binary of the original program.
Since the implementers have no access to the copyrighted work they cannot have copied it. If the owners of the original program want to claim copyright infringement they have to go after the people who wrote the spec and that usually will be very difficult since the spec should just be documenting behavior.
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. Especially when it's now producing results experts did not expect any progress to be made on, and developing new unifying theories to explain the results.
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"?
If they followed the usual open source conventions, what would happen is they'd write the driver the way they think the hardware ought to work, and if it fails, they'd blame Nvidia and tell the user to complain to the people who made broken hardware.
Perform static analysis and then dynamic analysis; in many ways it's a lot easier than forward engineering drivers since the weird sequencing issues and errata that always come up are already fixed. Stuff like "which chicken bits to set" and "what clock/power domain blows the other one up if you get the ordering wrong" doesn't cause issues, since the instrumented traces and analyzed code already do everything in the right order.
Usually the way this is done by hand (and reading the source for this driver, it looks like Claude did things about the same way) is:
* Statically analyze enough of the system to understand how commands (mapped registers, mailboxes, buffers) are sent and structured at the highest level.
* Write a dynamic analysis tool which can trace the state changes sent to the hardware (ie - dump every register poke, every mailbox, every buffer)
* Dump enough of the bring-up to be able to do it yourself, even if you don't understand it (ie - these 500 registers need to be set to these values for "normal operation," we have no idea what they are, but we know how to poke them and in what sequence).
* Use static analysis to try to back out the meaning of each register/buffer and to define structures (ie - "this register has bit x set to y in a function called EnableFooClockDomain, it must be the FOO_CLK_EN bit" or "this structure is allocated in AllocateBigTransferBufferA, the type of this structure is clearly a big_transfer_buffer_a"). If you don't know what the functions are called, name them using context clues (observed logging, where in time said function is called, known values in the inputs, etc.)
Then you basically rinse and repeat this process using techniques like fuzzing observed inputs->outputs, tracing known constants, and finding context clues from documentation and parallel architectures.
The Asahi Linux RE process is a good way to understand how this kind of hardware RE worked pre-LLMs (and how LLMs learned to do it); they first constructed a hypervisor (m1n1) for the OS, then instrumented how the OS manipulated the hardware, then fuzzed the inputs to the OS to understand the resultant hardware-state-communication outputs.
I also doubt this driver will get too far down the game specialization rabbit hole, so they don't need to know quite as much; they seem to be targeting mostly basic display acceleration and GPGPU, so the stack of hacks isn't quite as tall.
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.
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.
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'm playing devil's advocate here, but are there really?
Are they benefits that outweigh the societal costs of IP protection for art and medicine? There are thousands of people suffering from conditions that are treatable via medication that is available now, but for the financial cost.
Drugs should be purchased by the government and sold at cost, for virtually any condition, I think.
And I'm also finding it hard to imagine cases where more art in the world is a bad thing. If people care they'll seek out authorized versions, surely, and if not a copy is fine. Note that I'm not saying we should abandon moral rights (your art shouldn't be used to support causes you don't like), just the commercial side.
That’s not remotely true yet. I imagine it will be relatively soon, but as of today that’s simply not the case. You aren’t designing a modern SoC from scratch with publicly available AI.
Why not abolish property altogether when you are at it.
Let's say you are a farmer, you grow apples. Should you let anyone just pick them up. After all, they just grow on trees. Or you may run a hotel, why can't I just walk into a room and sleep there, it is available, why should I pay. Or maybe you are a woodworker, I can just take that table you are making, you are not going to use it so I can just take it.
If you disagree, then why shouldn't intellectual professions get the same treatment? Is intellectual work worthless? Are woodworkers fundamentally superior to writers in that the former get the legal protection that let them be paid for their work but the latter don't?
Intellectual property laws are not perfect, but in modern society, if you recognize property, you should recognize intellectual property too. If you don't, that's communism, which may look like a good idea in theory, but in practice, it didn't do well.
I do actually want to abolish private property as a concept too. If we as a species ever mature enough to realize we are sharing the earth with each-other and other living beings too then we could maybe get to that point.
You could call it idealistic/unrealistic but I see people talking about AI super-intelligence based apocalypse scenarios now with regular frequency, so why can they not extend that same stretch of imagination towards more positive scenarios.
Because we have considerable evidence of humanity delivering on the negative scenarios and minimal examples of the positive ones.
Small things like the first Christmas during WWI when some soldiers played soccer are so extraordinary because they are, well, out of the ordinary! Whereas, comparatively, what percentage of WWI battles with >1000 fatalities could you name? Probably a tiny number.
It might be sad—and this is no reason not to try!—but the vast majority of outcomes will be negative or roughly neutral.
what about small developers, say right now some of us are incentivized to spend 5-10 years working on weird/creative/niche projects relying maybe on savings or even partners or friends, etc. to get it done. The reason is that there is a potential to make it worth it monetarily vs. just working a 9-5 for some mega-corp (with guaranteed income).
If there are no IP rights to what we came up with, what protects us? With AI, cloning something that's already been made is far, far easier than the years of work it took the original creator to develop it.
So there would no longer be this kind of interesting single/small team project to ever be made. And only the mega corps (due to pure manpower) would be making anything anymore right?
At some point we might need to acknowledge that GNU didn’t have the impact it wanted to. It was a fun experiment, but ultimately was better known within the engineering world than useful outside of it.
MIT licensed software has had such an unfathomably larger impact on software development and real problems than GNU.
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.
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!
Yep the last couple weeks I had a couple of Claude Opus sessions hammering on the performance of the Android projectM visualizer app on an underpowered Xiaomi L1 projector. When I ran the original app I was getting like 20fps at low resolutions. After 2 weeks I was pretty much staying at 60fps at HD resolutions.
Since the Claude sessions could test on the real device using WiFi ADB (sharing the one test device using a lock system and via communicating directly between sessions) they would run performance tests, take screenshots for comparisons, etc as well as run tests on the host machine including creating videos for me.
As you said, having a measurable outcome makes all the difference. They just kept chipping away at various performance areas, taking measurements to see what to work on next, and repeating that. It was directed by me including giving them ideas on what areas to check or ideas for optimizations, and confirming the output myself for things where I allowed them to degrade the quality for performance, but for the most part it was Claude and I probably could have just set it and forgot about it and still gotten decent improvements.
It was also helpful that I only needed it to run well on that one device and it’s a private personal fork, so I didn’t have to worry about compatibility or general code quality, just that it works.
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.
- Installed size: 2.7× in Ferrum's favor (75.4 MiB against 203 MiB).
- Start to first RPC: 33.8× in Ferrum's favor (59.8 ms (57.9–66.2) against 2019 ms (1967–2030)).
- Memory at idle (RSS): 12.2× in Ferrum's favor (41.8 MiB (41.1–42.1) against 512 MiB (511–513)).
- CPU while idle (per 10 s): 2.0× in Ferrum's favor (10.0 ms (10.0–20.0) against 20.0 ms (20.0–30.0)).
- CPU while idle, large database with clients (per 10 s): 1.0× in the reference's favor (20.0 ms (20.0–20.0) against 20.0 ms (20.0–20.0)).
- Memory at idle, large database: 3.5× in Ferrum's favor (151 MiB (142–159) against 520 MiB (517–522)).
- Peak memory, 3 clients opening long threads: 3.2× in Ferrum's favor (386 MiB against 1233 MiB).
- GET / p99 while 3 clients open long threads: 55.9× in Ferrum's favor (1.50 ms against 83.7 ms).
- Peak memory, Codex turns: 11.0× in Ferrum's favor (59.3 MiB (58.7–59.6) against 650 MiB (645–661)).
- Peak memory, Claude turns: 11.3× in Ferrum's favor (57.9 MiB (57.5–58.4) against 656 MiB (648–675)).
- Codex turns per second: 1.3× in the reference's favor (5.57 /s (5.43–5.70) against 7.27 /s (7.18–7.40)).
- Claude turns per second: 1.3× in the reference's favor (4.62 /s (4.59–4.72) against 5.92 /s (5.89–5.93)).
- CPU per Codex turn: 1.0× in Ferrum's favor (216 ms (211–225) against 221 ms (218–228)).
- CPU per Claude turn: 1.0× in Ferrum's favor (289 ms (285–293) against 290 ms (290–291)).
- RPC latency (p50 and p95 of 6 RPCs): from 1.3× to 13.9× (above 1× favors Ferrum).
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.
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.
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?
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.
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?
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...
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.
Many of the things in that level are not a question and therefore you are asking them to do extra labour for no real reason. I'm acknowledging the irony that this subtree is also not really a question.
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 may want to look at my background before you say this, given I used to run AI frameworks, GPU/TPU/etc compilers (including XLA, IREE, etc), along with developer AI and the teams building google's internal AI coding tools, at Google, for example.
I do understand, you know, at least a little bit about AI. I never said i was just a lawyer.
No, I am considering training time. This is the lawsuits they have lost - where they trained on private IP at training time.
Do you have a case where they did it and didn't lose or settle because they were going to lose?
You keep saying it's moot or won't happen or the current administration wont' allow it, but so far, AI companies haven't won a single case nor had a single law changed to enable their behavior, and instead, have had to pay literally billions of dollars in infringement lawsuits during the current administration?
That sure doesn't seem to jive with your repeated assertions about will surely happen, so it'd be good to see the actual evidence to back up your view since you keep asserting a lot of things, but seem very short on actual evidence for your view.
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?
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
It depends how you look at it. The act of downloading and keeping the pirated materials was penalized but the ability to train on such material was not. In this case copyright penalties are not an effective deterrent against piracy given the scale of reward for the action. Perhaps worse yet the court found use of pirated material for training to be fair use. The damage to the intellectual property owners due to derivative products, services or lost sales might turn out be far greater than the piracy.
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
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?
Nobody is suggesting you copy assembly or decompiled code over. You can use it to better understand the behavior, write functional specification (which is not copyrightable) and then base the new implementation on that.
> Nobody is suggesting you copy assembly or decompiled code over.
I don't think I said anything about copying code, did I?
> The term implies that the design team works in an environment that is "clean" or demonstrably uncontaminated by any knowledge of the proprietary techniques used by the competitor. [1]
So no, you can not use it because the proprietary techniques are protected by copyright. There's a difference between what's the result and how does the software achieve that result. The first isn't copyrightable, the latter is.
And you need decompiled code to do that? Since when? If you write specification based on proprietary code, it's still proprietary code reworded. Name it however you want, it's still copyright infringement.
> [...] decompiled code [...] You can use it to [...] write functional specification [...] then base the new implementation on that.
So in the end: you're still basing the new implementation on the decompiled code.
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:
1. Decompile driver, translate machine code into human language.
2. Translate human language back into code.
3. 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?
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.
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.
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.
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.
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
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.
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?
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.
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
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?