(github.com)
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.
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?
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.
One user with the email AHuang234@protonmail.com leaked the internal docs
(why would someone use proton mail, then proceed to use such an identifiable handle?)
One day there will be fines for unpublished/incomplete datasheets?
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.
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.
so are enforced traffic laws. Unfortunately without them the morning drive would have more in common with gladiatorial combat than commuting.
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.
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.
I don't think it is "easy" writing a own version of a GPU hardware documentation.
Most work isn't really hard, once you know how, it is just tedious. Most of the hard problems are people not engineering.
A few things like threads are always hard
1. Upload it to a pirate book site
2. Nvidia downloads it and seeds it to you
3. Train an AI model with it
4. The AI model writes a new document for you
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.
NVIDIA Profile Inspector: https://github.com/Orbmu2k/nvidiaProfileInspector
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.
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.
I think you meant: violate copyright protection.
There is a big difference in requirements between the two.
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.
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 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.
Nvidia does not want that sort of precedence: then it means that every AI-produced software is "contaminated" with GPL, proprietary licenses, etc.
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.
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.)
See https://cyber.harvard.edu/openlaw/DVD/research/EFF_General_8.... (My class was not at Harvard, this is just the first reference I found.)
> (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.
They may be spiteful… but these days I can’t blame folks for stuff like this … I doubt a jury woul
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?
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.
The reputation is a decade out of date
For the open sourced radeon drivers? Yeah lots of things work great now.
For their own in house proprietary drivers? Lol, Lmao.
Ok, what are chicken bits?
That and the existing kernel driver is already open source.
Same docs they use internally. I remember.
And makes me wonder what the author thinks "clean room" means.
An AI clean room decompilation could be one AI agent decompiling the code, turning methods into specifications, and feeding that to another agent to write the "clean" code.
This isn't that, though. This is straight "turn disassembly into Rust". That might be a copyright violation? Though, AI generated content is in a weird legal state at the moment; I don't think you can copyright a single line of code in this repository, but I'm also not sure if this is even illegal anymore. After all, AI companies got away with stealing billions of lines of GPL code, it'd be weird for licenses to matter now.
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 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.
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.
That's the opposite of what clean room means, not just a "different view".
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...
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.
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.
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'
"My parents refused to buy me any more Clod tokens unless I cleaned my room."
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...
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.
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.
LLMs today probably greatly accelerate the tedious parts of "reverse-engineering"
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
I am now thinking of telling my LLM to decompile all the blobs in RaspberryPi just because why not.
I'm a proponent for abolishing intellectual property altogether.
https://cdn.mises.org/Against%20Intellectual%20Property_2.pd...
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.
MIT licensed software has had such an unfathomably larger impact on software development and real problems than GNU.
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.
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.
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.
(And I mean “number of people more than the number of people who will die if we don’t.”)
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.
You’re commingling IP and Trademark when these are distinct things.
Your other two examples are fine, carry on :)
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.
https://www.mcmaster.com/products/cooling-systems/
https://www.titanrig.com/alphacool-eiswand-360-cpu-water-coo...
It's just a bit less wasteful in the winter than it is in the summer, because some of the waste isn't waste.
All the issues/limitations you've encountered with the GV100 been software/firmware limits placed there by NVIDIA? Could you give some examples what you hope would be solved by this alternative firmware?
Sure! The big ones are covered by this:
> nvdriver also unlocks HBM2 memory clocks to 1107 MHz (V100S factory spec, +26.2% memory bandwidth, 1,041.7 GB/s per card / 8.33 TB/s across 8× V100) alongside dynamic P0 boost (1290 MHz all-bin stable default / 1425 MHz golden-bin OC, 1380 MHz XBAR, and a 1 Hz on-die thermal guard)
All of which I've noticed and been expressly annoyed by, but didn't know enough of anything to really sit down and attack.
The HBM2 memory is speed makes a surprisingly big difference if - and it's a big if - this makes them align with the two regular V100 16GBs that I tested against, cos those two cards are stupid fast in comparison, especially for anything cross-PCI.
I also have a few nvlink bridges between the GV100s that have been sorely underutilised, and without knowing anything, I'd be interested to see whether that's part of this driver set, or whether it's now much easier to take advantage of.
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!
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.
building t3code into my app runtime, needed a rust backend.
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).
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.
Whats the difference? I thought the remaining proprietary bits were the userland part, not the kernel driver?
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?
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.
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.
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.
[disclaimer: I'm one of the co-founders]
amazing work, thank you for sharing!
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.
Who were in the two different teams? How did you ensure separation?
Claude and ChatGPT working in separate directories ;-)
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...
If not, the frontier model providers are in trouble.
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.
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
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
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.
OTOH, it’s a rust rewrite, so I don’t know if that counts as substantially similar.
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 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.
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.
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.
I do understand, you know, at least a little bit about AI. I never said i was just a lawyer.
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.
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.
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.
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.
They may not have the moral right, but they definitely have the legal right
I don’t know why but I’m always tickled when the same idiom exists in other languages.
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.
Yes but you don't want to get the wrong end of the stick.. the sponge end to be specific.
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 downloading was already infringement before, reading is allowed with all the usual consequences like possibly learning something new)
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.
It is pretty much is guaranteed to be the case, that one of the authors is an LLM, when the repo presents itself as a working driver for Nvidia graphics cards, yet has laughable 40 commits. Any hobby static blog implementation will have more commits than that, and we are talking about one of the, if not the most complex driver out there. This smells severely vibe-coded from the get go. Which in turn means the LLM is basically the main author/contributor.
Legally, many jurisdictions have already rejected this premise.
Which seems correct to me. An LLM has no agency, it cannot be an author.
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.
So it's a "room" implementation, then. The adjective clean is meant to convey something, not "oh well, who knows anyway". So it's an implementation in a room that may or may not be clean.
> but in a court of law, how would Nvidia prove conclusive unambigious copyright infringement?
"Well, it's maybe murder, but they'll never find the body".
Nvidia's own proprietary driver links to the GPL 2.0 kernel. So Jensen's team buried the first murder in a binary blob.
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)
Or at least let you run your own driver against it.
So you're right, it's probably not clean-room. I think the author (or his LLM) just added those words to sound fancy.
EDIT: I was dead wrong and I will take the L.
Check this. https://github.com/QuixiAI/nvdriver/blob/master/AGENTS.md Yes it mentions REA, it's just decompiling the drivers, this is 0% clean-room
Still not clean room. It's just assembly written in a more human readable form, the decompiled code does exactly the same as the assembly.
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.
[1] https://en.wikipedia.org/wiki/Clean-room_design
> write functional specification
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.
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 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.
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 ambiguous though! "Clean room" doesn't tell you enough since "clean room engineering" is a whole other thing than "clean room design". You could do the former with LLMs, but seems unlikely to me you could claim "clean room design" when you don't know the training data of the LLM.
It’s the dream of 90s hacker culture, realized in a strange way in the end.
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).
Instead it is rather a case of: "Upsides of copyright for me, but only the downsides for thee."
I couldn't think of anything further from the 90s hacker culture. To me, this all feels a lot closer to the "dream" of "oh hey, I found it for cheap on Aliexpress".
https://github.com/egeozcan/glasnost#how-glasnost-is-made-cl...
I don't call it licensed clean-room because you need lawyers as scrubbers to be able to claim no implementation details were actually shared to the clean room. My scrubber was a claude instance, soo...
If this is about training data, I think that wouldn't hold up in court against a project, but I'm no lawyer.
Prediction: People are gonna flock to your comment saying "this is a good thing!", "why are you defending nvidia?", and so on, completely missing the point.
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.
Something like this: https://en.wikibooks.org/wiki/Ada_Programming/Representation...
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.
I have the feeling it's not simply something you can install and test for fun.
Should I try running it and throwing some inference task on it?
For now I'm just having fun setting up Proxmox, VFIO, and tuning llama.cpp parameters
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 :\
It's more complicated than that of course but much more limited than, say AMD's open kernel driver.
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?
So... moat is that they've been doing it for decades now?
Already happened for Intel.
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...
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.
It's something we all want. But it sounds too good to be true doesn't it?
"read me" suggests it's all important information i should know, but how is: >zero GOT relocations, zero SIMD/x87, zero memcpy/memset/memmove, zero unwind sections, every stack frame <= 1,024 bytes important to me that i HAVE to read this?
Because it isn't people that make it, and very probably it indeed is slop.
Regarding the banner: Either omit it, or use a model to create a tasteful one.
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