• Hacker News
  • new|
  • comments|
  • show|
  • ask|
  • jobs|
  • Melatonic 56 minutes

    Anybody tested this on Maxwell gen? Like a Titan XP

  • Nik0laich 11 hours

    [dead]

  • kravmaga999 8 hours

    Hello, that's insane, I just scratched the surface, but looks great, thanks!

  • tuananh 12 hours

    anyone tries it yet? is the number claimed in the readme correct?

  • silentkat 13 hours

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

  • abijahkaj 2 hours

    Mind blown! I guess NVIDIA will only keep losing its software moat till everybody gets their chip printers at home and then game over

  • havertz2 12 hours

    [dead]

  • nonestdeus 13 hours

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

  • mozarella 7 hours

    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.

  • measurablefunc 9 hours

    Very impressive.

  • xorcist 13 hours

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

  • donovancoledev 54 minutes

    [dead]

  • petterroea 11 hours

    I have heard friends in the industry people doubt it is really a clean-room RE effort based on code comments and contents.

    I suspect when people say "clean-room", they often mean they told the LLM to perform clean-room RE and often don't have any clue what it means, have not verified that it actually happened (did you read the transcripts?), and have not set up their harness in such a way that diverting from clean-room RE was not possible.

    I have had some RE projects in order to test the waters and would regularly see frontier models perform actions that are incompatible with clean room RE while writing code. See the Wine Clean Room Guidelines [1]. I don't believe most projects that claim to be clean-room implementations are such, and I believe even less projects can prove it.

    I am not saying this is the case for every LLM RE project, but there sure are many LLM RE projects out there from people who have no idea what they are doing but are now able to carry out RE efforts. To many, "clean-room" is just a buzzword that they have heard around reverse engineering. This uncomfortable truth may get some projects in legal trouble.

    [1]: https://gitlab.winehq.org/wine/wine/-/wikis/Clean-Room-Guide...

  • alex1138 8 hours

    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

  • yread 8 hours

    Can it do MIG or fractional GPUs?

  • sligor 6 hours

    Why do LLM still have no idea in 2027 (nearly) on how to write a proper human readable README ?

  • rickdeckard 12 hours

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

  • tenox7 5 hours

    It's "memory safe". grep -r 'unsafe' | wc -l 532452345234

  • fennecfoxy 11 hours

    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.

  • forgotpwd16 13 hours

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

  • Thaxll 10 hours

    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?

  • hurricanepootis 8 hours

    What's the point of this project besides to show off their AI tooling?

    An open source Rust Nvidia driver already exists https://rust-for-linux.com/nova-gpu-driver. Not only that, there is also a newer open source userland Mesa implementation for it https://docs.mesa3d.org/drivers/nvk.html

    Seems like a really great use of their time :\

    dralley 8 hours

    TBF the Rust Nvidia driver mostly just serves as a loader for Nvidia's actual driver, a binary blob that acts more like extended firmware.

    It's more complicated than that of course but much more limited than, say AMD's open kernel driver.

  • bwfan123 11 hours

    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.

  • mmaunder 9 hours

    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.

  • dantillberg 10 hours

    This has me wondering: how thin is nvidia's moat?

    Regardless of "clean room" claim, not everyone in the world respects US courts, and even fewer respect nvidia itself now. Nvidia doesn't fab their own chips -- they're basically a software shop that licenses production of their chip designs and controls them post-production via complicated black box drivers.

    How easy or hard would it be for folks less inhibited by IP laws to chip a few trillion from nvidia's market cap?

    utopiah 9 hours

    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?

  • samiv 13 hours

    Why not put your effort into noveau?

    cowlevel 7 hours

    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.

    utopiah 13 hours

    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.

  • pak9rabid 10 hours

    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.

    raybb 8 hours

    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.

  • zokier 12 hours

    We already had one 1st party nvidia kernel driver here: https://github.com/NVIDIA/open-gpu-kernel-modules

    Whats the difference? I thought the remaining proprietary bits were the userland part, not the kernel driver?

    torginus 11 hours

    Good question.

    lern_too_spel 6 hours

    Pascal and Maxwell support for one.

    abbbi 10 hours

    rust instead of C?

    Aissen 9 hours

    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.

  • LastTrain 12 hours

    Can an AI driven, or even AI assisted project be considered clean really room?

    preisschild 7 hours

    With big tech companies bribing governments it seems the world has decided that copyright doesn't matter anymore

    xpct 11 hours

    I don't know if it can, but everyone seems to pretend it is so.

  • m00dy 13 hours

    .

    rb666 13 hours

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

  • thatsabadlook 13 hours

    This is going to be one of those projects where the downsides become immediately obvious to anyone who tries to actually depend on this isn't it? Solo author LLM repo, scant details on support, etc

    It's something we all want. But it sounds too good to be true doesn't it?

    timschmidt 13 hours

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

    faldore 12 hours

    its open source! please send me issues I am happy to fix them.

  • throw1234567891 13 hours

    MIG? No. Still needs a license.

    brettermeier 6 hours

    Licenses? Whats that, stuff from the past.

  • EmmEff 13 hours

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

    faldore 12 hours

    nvidia driver for macos?

    viraptor 8 hours

    https://github.com/nullmoth/nvidia-macos-driver

    Already happened for Intel.

  • coldblues 12 hours

    Lots of peeps in this thread talking about the legality of clean-room.

    I'm a proponent for abolishing intellectual property altogether.

    https://cdn.mises.org/Against%20Intellectual%20Property_2.pd...

    larodi 9 hours

    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.

    sneedMcFeed 37 minutes

    Maybe do away with nonsense like patent trolling but there are legitimate benefits in protecting original artworks or truly novel medicines.

    jaggederest 4 minutes

    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.

    GuB-42 2 hours

    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.

    ashkankiani 1 hours

    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.

    tyre 22 minutes

    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.

    wyager 6 hours

    I often wonder if IP even has a point anymore. The marginal cost of producing what would formerly be high-value IP is close to zero.

    sneak 4 hours

    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.

    Jtari323232 4 hours

    Abolish private property as well while you are at it.

    tyre 21 minutes

    Tens of millions of people, at a minimum, would die. More likely than not, hundreds of millions.

    (And I mean “number of people more than the number of people who will die if we don’t.”)

    AIShill101 11 hours

    Same I don't gaf that nvidia the giant trillion dollars company had its "IP stolen".

    teaearlgraycold 4 hours

    Well it’s only fair. Tit for tat.

    jenniferhooley 1 hours

    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?

    Andrew_nenakhov 4 hours

    This will actually break all GNU-type open source licenses and they all will become like MIT license. Not always a welcome develop.

    tyre 27 minutes

    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.

    jaggederest 3 minutes

    > MIT licensed software has had such an unfathomably larger impact on software development and real problems than GNU.

    GCC alone makes that a difficult argument, let alone the rest of the Gnu userspace.

    preisschild 8 hours

    I'm not. I like free software and copyleft licenses. Not enforcing copyright makes all the requirements of GPL voluntary.

    teaearlgraycold 4 hours

    Seems like a net win though if all software you can get your hands on is legal to decompile (much more useful now with LLMs) and use for anything.

    cowlevel 7 hours

    No IP means no protection from decompiling and you can pirate all the movies you want and film in the cinema if they won't put it on streaming, FWIW.

    Also means if you write a book you won't see a single cent.

    Also means every burger restaurant will call itself McDonald's with the golden arches.

    LaffertyDev 41 minutes

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

  • paaloeye 13 hours

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

    donutdonot 12 hours

    Why? The Artcraft stuff is heaven sent and even much faster than opening original Word etc. I love it!

    paaloeye 11 hours

    Why is it heaven sent? Have you tried working in like for a week? Cleanroomness of it is up for debate.

  • Starlevel004 13 hours

    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.

    jeroenhd 12 hours

    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.

    cillian64 13 hours

    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.

    faldore 12 hours

    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

  • markhermeling 11 hours

    Neat. Lots of 'unsafe' hardware access in this. Always makes me wonder if Rust should look into something like Representation Clauses like in Ada.

    https://learn.adacore.com/courses/advanced-ada/parts/data_ty...

    It would allow for compiler level protection from writing wrong data into a register.

    Anybody know if that is planned for Rust.

    viraptor 8 hours

    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.

    markhermeling 7 hours

    I was specifically thinking about register access. That you can make safe if you provide a way to describe what the hardware needs.

    Something like this: https://en.wikibooks.org/wiki/Ada_Programming/Representation...

    viraptor 5 hours

    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.

  • SupLockDef 9 hours

    Honest question here - could it be possible to damage your irreplaceable video card with a buggy driver?

    I have the feeling it's not simply something you can install and test for fun.

    utopiah 9 hours

    If it can control fans then I wouldn't trust it.

    yonatan8070 8 hours

    I had the exact same thought, I have a Tesla P40, which is listed as untested on real hardware.

    Should I try running it and throwing some inference task on it?

    doublerabbit 8 hours

    What else are you going to do with it if you don't?

    yonatan8070 8 hours

    Run some personal agent, that was my original plan anyway

    For now I'm just having fun setting up Proxmox, VFIO, and tuning llama.cpp parameters

  • mootothemax 13 hours

    All of my Christmases have come at once!

    A while back I built up a 4u supermicro system with 8x GV100 32GB cards in it, plus a bunch of power, RAM and disk.

    It is the single noisiest server I've ever encountered. Even by server standards, it sounds monsterous, and I feel sorry for my neighbours sitting inside other buildings when it's first starting up.

    Noise aside, it's been an absolute blast to test and experiment with, but the GV100 limitations have been extremely painful to live with, and it _sounds_ like this project makes all of that disappear. I will report back... eventually.

    embedding-shape 13 hours

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

    mootothemax 13 hours

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

    tinco 13 hours

    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.

    InsidiousWombat 12 hours

    high frequency noise is far easier to dampen

    plasticchris 7 hours

    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.

    Onavo 7 hours

    Why didn't you go with liquid cooling and heat pump the energy out to a proper condenser/cooling tower setup? You can jury rig one pretty easily they are all fairly simple to build with parts of McMaster-Carr (the cooling tower, not the condenser, that one is best to get off the shelf).

    https://www.mcmaster.com/products/cooling-systems/

    https://www.titanrig.com/alphacool-eiswand-360-cpu-water-coo...

    sandworm101 12 hours

    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!

    harikb 8 hours

    In the winter, the free heating for your home is a plus :) - you are actually saving money

    kadoban 7 hours

    I _think_ depending on what your heating method is, it can be so efficient that you still don't save money, exactly. Eg heat pumps are _very_ good.

    It's just a bit less wasteful in the winter than it is in the summer, because some of the waste isn't waste.

  • ttul 12 hours

    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!

    einsteinx2 1 hours

    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.

    notenchange 12 hours

    That’s interesting. Can you link to the project?

    ttul 10 hours

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

    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.

    ttul 10 hours

    https://github.com/ttulttul/Ferrum

    theultdev 5 hours

    thank you for sharing, this is very useful to me.

    building t3code into my app runtime, needed a rust backend.

  • verti 13 hours

    blows my mind how people can make a README.md that looks like absolute slop (with generated banner as well) made of huge walls of almost incomprehensible walls of text and make it public.

    "read me" suggests it's all important information i should know, but how is: >zero GOT relocations, zero SIMD/x87, zero memcpy/memset/memmove, zero unwind sections, every stack frame <= 1,024 bytes important to me that i HAVE to read this?

    forgotpwd16 13 hours

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

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

    faldore 12 hours

    what do you want? me to hire a graphic artist? for an open source project nobody is paying me anything for?

    the__alchemist 12 hours

    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.

    verti 12 hours

    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.

    worble 11 hours

    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.

    brettermeier 6 hours

    Is it important? No. If you are annoyed by this image just block it.

  • MitPitt 13 hours

    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.

    preisschild 8 hours

    You can also just support vendors who provide & maintain free software drivers (like amd)

    12 hours

    the8472 12 hours

    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.

    oarsinsync 13 hours

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

    SillyUsername 13 hours

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

    quikoa 13 hours

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

    kvemkon 13 hours

    Yes, just announced: https://news.ycombinator.com/item?id=50694304

    SubiculumCode 13 hours

    Well, isn't that an unconfirmed source?

  • diydsp 13 hours

    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?

    13 hours

    cowlevel 8 hours

    Most likely they just prompted an LLM "port Nvidia driver to rust. make it clean-room"

    fl0id 10 hours

    I assume it is like those other projects that told the llm to do "clean room".

    raverbashing 9 hours

    > chicken bits

    Oh TIL

    > A bit on a chip that can be used to disable one of the features of the chip if it proves faulty or negatively impacts performance

    barrkel 5 hours

    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.

    torginus 11 hours

    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.

    bri3d 6 hours

    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.

    fooblaster 11 hours

    a lot, but not all of the docs are public: https://nvidia.github.io/open-gpu-doc/

    That and the existing kernel driver is already open source.

    Same docs they use internally. I remember.

    choppaface 7 hours

    Not a clean answer but: back in the day Naveen Rao and Nervana Systems beat nVidia at BLAS https://news.ycombinator.com/item?id=20490050

    LLMs today probably greatly accelerate the tedious parts of "reverse-engineering"

    varispeed 7 hours

    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.

    nathas 10 hours

    > learning Chinese with almost no feedback

    Perhaps you should take a read of https://en.wikipedia.org/wiki/Chinese_room which is the thought experiment about AI and true understanding vs regurgitation.

    You can understand the symbols even if you don't understand the meaning.

    "Clean room" is doing a lot of lifting here without any evidence.

    teaearlgraycold 10 hours

    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.

    derefr 7 hours

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

    formerly_proven 7 hours

    Isn't that what nvidia is using the GSP for and why (or perhaps rather: how) nvidia has moved to an open source kernel driver?

    opello 2 hours

    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.

    0c3ca83 11 hours

    That's all in the firmware. This is a copy paste from the open source Nvidia driver.

    9 hours

    latentsea 9 hours

    > chicken bits

    Ok, what are chicken bits?

    papercrane 9 hours

    They're bits you set to disable a feature, usually because it's faulty or buggy. Literally 'chickening out'.

    alain94040 9 hours

    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.

    tsukikage 12 hours

    > scan 100s of games

    I see zero indication in the docs that the authors care about games, or indeed video output at all. The target use cases are headless: LLM inference and crypto mining.

    mycall 1 hours

    I wonder if anything uses LLM inference as PoW for crypto mining.

    harikb 7 hours

    One of the two authors work for OpenRouter. So you are probably right

    ChuckMcM 7 hours

    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?

    Gh0stRAT 6 hours

    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)

    vetrom 1 hours

    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.

    maybewhenthesun 11 hours

    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.

    pmontra 9 hours

    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.

    dralley 8 hours

    > AMD has a reputation for their driver being quite bad/incomplete

    The reputation is a decade out of date

    officeplant 4 hours

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

    cogman10 13 hours

    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.

    happyPersonR 7 hours

    yeah that needs to get penetrated too lol

    cillian64 13 hours

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

    cogman10 13 hours

    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.

    Pannoniae 12 hours

    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

    e4m2 12 hours

    > on nvidia you can view some of the keys with that utility I forgot the name of

    NVIDIA Profile Inspector: https://github.com/Orbmu2k/nvidiaProfileInspector

    kimixa 13 hours

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

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

    strobe 13 hours

    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.

    torginus 11 hours

    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'

    supjeff 12 hours

    im here to register my dismay at the use of "clean room" too. vague nonsense

    RunSet 8 hours

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

    "My parents refused to buy me any more Clod tokens unless I cleaned my room."

    leobuskin 12 hours

    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.

    dizhn 6 hours

    I call this development model "clean room theater". No judgement on my part but LLMs make decompiling so easy.

    cogman10 13 hours

    They vacuumed before firing up claude code.

    functionmouse 12 hours

    good one

    rickdeckard 12 hours

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

    chasd00 9 hours

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

    cozzyd 12 hours

    Author forgot to get a billion dollar valuation before shrugging off IP law

    faldore 12 hours

    Sure, I think it's clean room since I don't have the source code, I am decompiling the source and analyzing and reimplementing it.

    If you have a different view of clean room that's cool, you can make your own clean room reimplementation, and rightfully claim it's better than mine.

    disperso 12 hours

    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.

    elehack 12 hours

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

    6581 12 hours

    > Sure, I think it's clean room since I don't have the source code, I am decompiling the source and analyzing and reimplementing it.

    That's the opposite of what clean room means, not just a "different view".

    load-bearing 12 hours

    FWIW, reversing is considered acceptable by ReactOS contribution terms, so you're probably fine-ish.

    It's interesting because it's the largest relevant effort that I'm aware of.

    https://reactos.org/intellectual-property-guideline/

    https://reactos.org/project-news/reactos-and-tinykrnl-projec...

    torginus 11 hours

    This is a bit of an aside, but have ReactOS devs ever tried to build an NT based OS without the Win32 compat layer?

    jrmg 12 hours

    Can you point to the wording that accepts this?

    It surprised me, so I checked. I understood the opposite. From your first link:

    …contributors often need to conduct research to understand the internal architecture of the NT™ operating system. In such cases, the project follows the GNU guidelines for referencing non-free code. This applies both to usage of reverse engineering and exposure to proprietary code such as in the Windows Research Kernel.

    The GNU guidelines don’t seem to cover reverse engineering specifically, but they do say:

    Don’t in any circumstances refer to Unix source code for or during your work on GNU! (Or to any other proprietary programs.) If you have a vague recollection of the internals of a Unix program, this does not absolutely mean you can’t write an imitation of it, but do try to organize the imitation internally along different lines, because this is likely to make the details of the Unix version irrelevant and dissimilar to your results.

    And from your second link:

    …due to copyright laws and other law-related stuff, ReactOS (which aims at commercial usage too) can not directly utilize methods of development like dirty reverse engineering, and thus ReactOS can not share all code with the TinyKRNL project.

    load-bearing 11 hours

    You're probably right and I misunderstood it. Wikipedia has a decent explanation:

    https://en.wikipedia.org/wiki/Chinese_wall#Reverse_engineeri...

    https://en.wikipedia.org/wiki/ReactOS#:~:text=In%20a%20state...

    So it looks like you're fine as long as one person reverses and other writes code. No idea how it applies when one clanker reverses and other writes, with a person as a middle man.

    jeroenhd 12 hours

    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.

    willis936 12 hours

    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?

    teiferer 11 hours

    I'd even see this as the point of this repo. If the owners go through with it.

    orthoxerox 12 hours

    The original "clean room" didn't involve any decompiling, IIRC, only describing directly observable behavior in excruciating detail.

    ndiddy 9 hours

    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.

    sandos 11 hours

    My friendly AI fooled me if so, it told me that is 100% ok to observer and re-implement, its the decompile which is problematic.

    tzs 6 hours

    What did you ask it?

    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.

    kimixa 11 hours

    I think that just shows you should not rely on that "friendly AI" for legal questions :p

    breakwaterlabs 12 hours

    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.

    ndriscoll 11 hours

    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?

    breakwaterlabs 7 hours

    It is explicitly acknowledged by the frontier labs that they train on your promptings.

    And it is demonstrable that an LLM will one day say "I never thought of that" and months later will intuitively know it.

    And there have been multiple cases where research thrown through an LLM get scooped by the AI lab, not just navier-stokes.

    I do not think there is any reasonable doubt that just about every lab uses chat transcripts to train or finetune.

    ndriscoll 6 hours

    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.

    Betelbuddy 12 hours

    >> And clearly not documented anywhere outside HQ.

    One user with the email AHuang234@protonmail.com leaked the internal docs

    12 hours

    RebeccaTheDev 8 hours

    This reminds me of the hilarious comments you used to see on Slashdot back in the day. Bravo! :D

    az226 12 hours

    [flagged]

    ndesaulniers 8 hours

    lol, this made me spit out my coffee!

    (why would someone use proton mail, then proceed to use such an identifiable handle?)

    waynecochran 7 hours

    Brilliant -- laughed out loud myself .. amazed out how many HN folks didn't get the joke

    MASNeo 7 hours

    Made my day. Thank you.

    danlitt 8 hours

    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.

    airstrike 8 hours

    It also sounds like "One", hence 2, 3, 4...

    abirch 8 hours

    This is a joke email address in a nod to Alice Huang[1] [1] https://en.wikipedia.org/wiki/Alice_Huang_(executive)#Relati...

    ndesaulniers 7 hours

    Yeah, I got the joke, which is why I spit out my coffee.

    zoobab 12 hours

    ">> And clearly not documented anywhere outside HQ. One user with the email AHuang234@protonmail.com leaked the internal docs"

    One day there will be fines for unpublished/incomplete datasheets?

    stronglikedan 11 hours

    Jeez, I hope not. That sounds very authoritarian.

    Lerc 7 hours

    You can do this with soft power.

    Decare that the government will only buy tech with publicly available data sheets.

    People are then free to do what they want, but going counter to openness would cost them a considerable market.

    sophacles 8 hours

    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.

    idiotsecant 9 hours

    >That sounds very authoritarian.

    so are enforced traffic laws. Unfortunately without them the morning drive would have more in common with gladiatorial combat than commuting.

    thephyber 8 hours

    That's not at all what authoritarian means.

    danlitt 8 hours

    Neither is "you must publish a certain dataset". Isn't that the point of this subthread?

    swiftcoder 11 hours

    And yet necessary to ensure adversarial interoperability

    cowlevel 7 hours

    Adversarial interoperability is adversarial. If you want it, go and decompile an Nvidia driver.

    swiftcoder 6 hours

    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.

    cowlevel 6 hours

    We can also just do it, regulation be damned.

    kennywinker 9 hours

    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.

    smitty1e 9 hours

    Your attention is drawn to https://en.wikipedia.org/wiki/Regulatory_capture

    kennywinker 6 hours

    I’m well aware of regulatory capture. But not all regulations make for regulatory capture. Sometimes regulations are just good for everyone.

    poontanglatits 8 hours

    Yes, only the government can be trusted.

    kennywinker 5 hours

    Do you have a counter-solution, or do you just believe in giving up before you try?

    6 hours

    phoghed 8 hours

    You’re going to be equally downvoted by people who think you’re being serious and people who think you’re being facetious lol

    ixtli 8 hours

    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.

    rcxdude 8 hours

    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.

    ndriscoll 5 hours

    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.

    vbezhenar 7 hours

    Open source VHDL :)

    ethin 6 hours

    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.

    dylan604 5 hours

    I feel like a law as suggested would just quickly lead to companies ensuring that no internal documentation exists.

    drdaeman 2 hours

    Well, good luck to those companies working on anything serious without any documentation.

    rcxdude 37 minutes

    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.

    badgersnake 11 hours

    So not clean room at all then

    lp92 9 hours

    It was a joke about Alice Huang.

    circuit10 10 hours

    I'm pretty sure this is a joke, not a serious comment: https://en.wikipedia.org/wiki/Alice_Huang_(executive)#Relati...

    8 hours

    KPGv2 11 hours

    Unless it uses nvidia code or trade secrets, it's still clean room

    A document being leaked (widely) by a third party renders all of its trade secrets contents no longer trade secrets, by definition (yes, even if the doc was obtained through espionage).

    The only person nvidia could go after for this is the person who leaked the doc, not anyone who uses the doc. This is why protecting trade secrets is so important: the only remedy is suing the discloser if they had no authorization to disclose. This is specifically the reason ndas exist: to provide for recourse if trade secrets are disclosed publicly. At no point do you obtain the right to sue someone who wasn't bound by trade secrets law.

    So this is still a clean room implementation.

    badgersnake 11 hours

    The leaked document is almost certainly subject to copyright, anyone making copies of it is certainly liable for breach to copyright.

    phoghed 8 hours

    Here’s the plan to minimize any legal issues:

    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

    fulafel 10 hours

    so you could be held liable for depriving nvidia of the income they could have charged for this artful document, if you make copies of it?

    xoa 9 hours

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

    10 hours

    bluGill 10 hours

    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)

    lukan 9 hours

    "You can read the document and write your own version easy enough."

    I don't think it is "easy" writing a own version of a GPU hardware documentation.

    tadfisher 8 hours

    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?

    lukan 8 hours

    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.

    bluGill 8 hours

    For someone skilled in that area it is. Tedious and time consuming, but easy enough when you have the information.

    lukan 8 hours

    If you are skilled, have the information and are willing to do tedious and time consuming work, what would qualify as "hard work"?

    bluGill 5 hours

    Getting skilled...

    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

    zaptheimpaler 12 hours

    There was already a big leak of proprietary NVIDIA driver source a few years ago. Overall there’s probably lots of information out there.

    RussianBot9580 2 hours

    There is almost no delta between the proprietary and open kernel driver. All the interesting bits are in the GSP firmware blob.

    mrtesthah 12 hours

    Leaks would preclude a “clean room” implementation — perhaps the authors are hoping that no one calls their bluff?

    ndriscoll 11 hours

    They don't as long as one person e.g. documents what various registers do from the leak and another writes the code.

    worthless-trash 11 hours

    If AI can get away with training on differently licensed code, why is this any different ?

    teiferer 11 hours

    I find the irony in this particular product absoutely hilarious.

    not2b 6 hours

    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.

    stubish 1 hours

    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.

    jonhohle 5 hours

    > LLMs are a great way to launder away copyright protection.

    I think you meant: violate copyright protection.

    5 hours

    throawayonthe 10 hours

    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

    therein 8 hours

    Yeah, pretty comical.

    7 hours

    tzs 7 hours

    It depends.

    As far as copyright goes, it shouldn't really matter if a leak was involved.

    The potential problem is trade secrets. A trade secret doesn't lose its trade secret status just because it got leaked. It can eventually lose it if is spreads too widely. If you do the clean room stuff before that you could be liable under trade secret law.

    LLMs are probably going to make it much harder for companies to take down leaks before they spread too far. As a major LLM told me, "LLMs act as a massive information-laundering and acceleration engine that shrinks a company's containment window from weeks to hours".

    In the specific case of trade secrets involving how to operate hardware the trade secret claims start out kind of weak because under US trade secret law something that can be readily figured out by legal means is not a trade secret. If people could figure it out by buying your product on the open market and then using bus sniffing and decompiling to figure out how to operate the hardware then you probably do not have a trade secret.

    happyPersonR 7 hours

    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

    prewett 6 hours

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

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

    tzs 1 hours

    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.

    dagmx 12 hours

    A lot of these “clones” use the word clean room incorrectly as a hopes of avoiding any takedowns or being locked out by the LlM providers

    sharifhsn 12 hours

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

    cozzyd 12 hours

    I mean, you did sweep the floor recently, right?

    Conscat 5 hours

    It ran while I cleaned my room :D

    zug_zug 12 hours

    Does that mean every driver ever written with AI from now on is using proprietary material from 100s of companies?

    danlitt 8 hours

    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.

    BigTTYGothGF 11 hours

    Surely it's been that way since the beginning, proprietary stuff would have been vacuumed up in the training data.

    Forgeties79 8 hours

    It’s wild to me that some people are only just now going “oh wait hold on are my agents using unlawfully gathered information?”

    lelanthran 11 hours

    > Does that mean every driver ever written with AI from now on is using proprietary material from 100s of companies?

    Nvidia does not want that sort of precedence: then it means that every AI-produced software is "contaminated" with GPL, proprietary licenses, etc.

    cowlevel 7 hours

    They'll find a way to make it apply to their stuff but not their enemies.

    mrtesthah 9 hours

    Probably, yes. All software generated by an LLM that was trained on proprietary or incompatibly-copyrighted works is tainted.

    bee_rider 9 hours

    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.

    cowlevel 7 hours

    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.

    bee_rider 7 hours

    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…

    cdud3 8 hours

    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.

    compiler-guy 8 hours

    Peeking once at gpled code isn't enough to create licensing issues, but it's absolutely enough to preclude "clean room" implementations.

    There is a big difference in requirements between the two.

    mrtesthah 8 hours

    LLMs don't have brains that read copyrighted works. They literally are the copyrighted works themselves.

    red75prime 7 hours

    Prove it. Preferably in court.

    mrtesthah 7 hours

    Sure, help me crowdfund a legal case and I'd be glad to.

    bee_rider 7 hours

    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.

  • mattr03 13 hours

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

    InsidiousWombat 12 hours

    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

    phendrenad2 8 hours

    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?

    embedding-shape 13 hours

    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.

    Rapzid 8 hours

    Add "Make it look legal." to your prompt.

    imtringued 13 hours

    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.

    egeozcan 13 hours

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

    https://github.com/egeozcan/glasnost#how-glasnost-is-made-cl...

    I don't call it licensed clean-room because you need lawyers as scrubbers to be able to claim no implementation details were actually shared to the clean room. My scrubber was a claude instance, soo...

    If this is about training data, I think that wouldn't hold up in court against a project, but I'm no lawyer.

    gspr 13 hours

    Words don't have meaning anymore.

    Prediction: People are gonna flock to your comment saying "this is a good thing!", "why are you defending nvidia?", and so on, completely missing the point.

    preisschild 8 hours

    Yep. This isnt even restricted to nvidia/proprietary software. Its also applicable to copyleft licensed software

    spystath 13 hours

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

    JacobAsmuth 8 hours

    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)

    mungoman2 13 hours

    This is technically grey but politically it is very clear that washing via LLM is acceptable.

    gspr 13 hours

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

    embedding-shape 13 hours

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

    cfiggers 12 hours

    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.

    alkonaut 11 hours

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

    myko 9 hours

    As long as you start a new session after coming up with the dirty spec it should be considered clean room is my understanding.

    Joker_vD 13 hours

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

    xiphias2 13 hours

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

    Marha01 13 hours

    I doubt that LLMs are trained on binary data.

    InsidiousWombat 12 hours

    doesn't matter. Reverse engineering a driver from binary isn't clean room implementation

    shawnz 13 hours

    See https://news.ycombinator.com/item?id=50546587 and associated discussion

    valleyer 9 hours

    The binary data wasn't in training here; it was in context. The repo talks about disassembling the originals.

    geraldwhen 13 hours

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

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

    gspr 13 hours

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

    singpolyma3 13 hours

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

    preisschild 8 hours

    Because those are proprietary black boxes made by for profit companies?

    cozzyd 11 hours

    Stealing IP to make something proprietary should be morally questionable actoss the hacker spectrum.

    ragnese 11 hours

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

    singpolyma3 7 hours

    Right. The actual problem is letting rich people just do whatever they want.

    zelphirkalt 13 hours

    If that was true, then we would have global announcements of IP and copyright no longer being applicable to software at all, and that whoever gets hold of any source code can do whatever they want with it, without legal repercussions.

    Instead it is rather a case of: "Upsides of copyright for me, but only the downsides for thee."

    adrianN 13 hours

    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

    zelphirkalt 11 hours

    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.

    Pannoniae 13 hours

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

    So you're right, it's probably not clean-room. I think the author (or his LLM) just added those words to sound fancy.

    EDIT: I was dead wrong and I will take the L.

    Check this. https://github.com/QuixiAI/nvdriver/blob/master/AGENTS.md Yes it mentions REA, it's just decompiling the drivers, this is 0% clean-room

    hackernudes 9 hours

    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?

    phendrenad2 8 hours

    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.

    szmarczak 8 hours

    No. Rewording the program from assembly into human readable text does not constitute clean room.

    phendrenad2 8 hours

    Then what constitutes clean room in your definition? I think you'll find that you've excluded every possible method.

    fwip 8 hours

    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.

    drnick1 6 hours

    No one does it like this in practice, decompilation is almost always the first step.

    szmarczak 5 hours

    > decompilation is almost always the first step.

    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.

    dns_snek 4 hours

    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.

    szmarczak 1 hours

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

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

    papua_is_being_ 13 hours

    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?

    Yoric 13 hours

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

    larodi 11 hours

    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.

    LinXitoW 9 hours

    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.

    hugmynutus 7 hours

    There is only one solution to this, somebody clean room re-implement Oracle DB

    gspr 13 hours

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

    ape4 13 hours

    [dead]

    papua_is_being_ 13 hours

    > "Well, it's maybe murder, but they'll never find the body".

    Nvidia's own proprietary driver links to the GPL 2.0 kernel. So Jensen's team buried the first murder in a binary blob.

    zelphirkalt 13 hours

    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.

    simianparrot 13 hours

    LLM's have no agency without human input. It's an algorithm, not a legal entity. It would be like listing Word as co-author of your research paper, it helped you fix grammatical errors so why not, right?

    kikoreis 13 hours

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

    onionisafruit 13 hours

    I’m not saying it wasn’t vibe coded, but a low commit count for a newly published project can also be a sign of squashing all the ugly trial and error commits shortly before publication.

    singpolyma3 13 hours

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

    cozzyd 11 hours

    Or not bothering committing until a full "first draft" is done

    singpolyma3 13 hours

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

    Legally, many jurisdictions have already rejected this premise.

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

    lioeters 12 hours

    No author, no copyright.

    However, in this particular case of a "clean room" driver - the human controlling the LLM is then responsible for any potential and relevant copyright violations in the training data. Or perhaps language models are the perfect copyright-laundering process, it consumes any and all data and generates copyright-free public domain code, text, images, sounds.

    DannyBee 13 hours

    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

    zaptheimpaler 12 hours

    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.

    swiftcoder 10 hours

    > So they don’t have any right to accuse anyone else of stealing

    They may not have the moral right, but they definitely have the legal right

    crote 12 hours

    Don't worry, they'll still keep suing individuals and startups.

    lioeters 12 hours

    For context: https://en.wikipedia.org/wiki/Robber_baron_(industrialist)

    ttul 12 hours

    There is also the legal reality that a multi-trillion-dollar corporation can sue you for longer than you can remain alive, never mind solvent.

    squidmaster 9 hours

    [dead]

    cromka 8 hours

    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.

    briansm 11 hours

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

    swiftcoder 10 hours

    > 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

    LastTrain 12 hours

    Maybe you should mention this is unsettled law and what that means with respect to whatever guidance you would give?

    DannyBee 12 hours

    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.

    jppittma 9 hours

    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.

    DannyBee 2 hours

    Yes, that would literally be infringement?

    Jolter 7 hours

    The Mozart example is a very straightforward copyright infringement. I’m not sure where you’re trying to take the argument.

    jpambrun 13 hours

    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.

    crote 12 hours

    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.

    0xpgm 12 hours

    There are some projects that reject LLM-generated code because of the legal gray area surrounding it.

    snarfy 12 hours

    All of the hyperscalers are rewriting their stacks with LLM-generated code. If there is a gray area they are all deep in it.

    Jolter 7 hours

    Well, they have big money for lawyers. Do you?

    marmarama 12 hours

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

    orangecat 10 hours

    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.

    crote 12 hours

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

    lelanthran 11 hours

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

    qlte 6 hours

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

    DannyBee 12 hours

    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.

    jpambrun 10 hours

    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.

    DannyBee 2 hours

    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.

    phendrenad2 8 hours

    You're not confused, lawyer up there just doesn't understand AI. In my opinion.

    DannyBee 2 hours

    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.

    piker 13 hours

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

    teekert 13 hours

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

    skrap 13 hours

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

    myrmidon 13 hours

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

    rubyfan 13 hours

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

    sedictious 8 hours

    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

    breakwaterlabs 12 hours

    I think they found the opposite, didnt Anthropic just get handed a monstrous judgement for using copyrighted works?

    rubyfan 3 hours

    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.

    ketzu 12 hours

    My understanding was: training on copyrighted material is fair use. Acquiring the copyrighted material via Anna's archive etc is still not allowed.

    (I think downloading was already infringement before, reading is allowed with all the usual consequences like possibly learning something new)

    sedictious 8 hours

    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

    jnovek 13 hours

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

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

    lelanthran 11 hours

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

    That's funny; I remember it as "That sword cuts both ways".[1]

    ------------------------------

    [1] Many knives typically cut only one way - the blade has only one sharp edge.

    Yoric 13 hours

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

    11 hours

    larsonian 13 hours

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

    tomxor 13 hours

    > doesn't every stick have two ends?

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

    embedding-shape 13 hours

    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?

    ahartmetz 12 hours

    In German, there's a saying "Everything has an end but the sausage has two". (It just means "Everything will eventually come to an end".)

  • faldore 13 hours

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

    jrmeyer2 12 hours

    How do real time graphic api support factor into this 'driver', like DX and Vulkan?

    lesspassiveobse 12 hours

    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?

    lern_too_spel 5 hours

    Are there any technical limitations that limit the reverse engineering to Maxwell and later, or could it also support Kepler in the future?

    antihero 9 hours

    How did you do this?

    tudorizer 8 hours

    I don't see any mention of GB10, so will trial it out on the Sparks we run at https://enverge.ai. Unsure what kind of improvements to expect though.

    [disclaimer: I'm one of the co-founders]

    ksimukka 12 hours

    tough crowd?

    amazing work, thank you for sharing!

    embedding-shape 9 hours

    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.

    david-gpu 13 hours

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

    faldore 13 hours

    thank you Mr. David!

    andrewla 12 hours

    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?

    bhhaskin 9 hours

    Would be fairly trivial with LLMs no?

    Hey Claude, decompile this driver and write a detailed spec of how it works. Don't include any code.

    Hey codex, write a driver based off this spec.

    csnover 8 hours

    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.

    andrewla 8 hours

    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.

    SillyUsername 13 hours

    Do you intend to add the hardware hacks for others in the series like Pascal (e.g. the HBM2 one)?

    Also thanks, you're doing God's work making sure there's a future for old data centre GPUs in a world where modern GPUs are artificially constrained by price, availability and abandoned support.

    faldore 13 hours

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

    SillyUsername 12 hours

    I'd assumed the V100 HBM2 memory clock could be backported, that the earlier Tesla series would have the same capability.

    embedding-shape 13 hours

    This submission is an hour old, there are tons of questions around in the thread already, why not answer the existing questions instead of creating a new sub-thread?

    I see this in lots of posts. The submission is N hours old, then someone related to the company pops up, ignores all existing posts but creates their own comment asking for feedback, more people ask the same questions, some gets answered, more gets ignored. Why not just answer existing questions instead?

    I'm more confused about this than anything else, doesn't really hurt anyone, but gets worse when questions gets asked multiple times in different places because of this.

    myrmidon 13 hours

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

    sph 10 hours

    They just have to monitor one more level of the tree. It's not that hard.

    interstice 2 hours

    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.

    g-b-r 12 hours

    As several others already said, how can you call it clean-room when it was made by reverse-engineering Nvidia drivers?

    g-b-r 5 hours

    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.

    faldore 12 hours

    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.

    ValueTheory 11 hours

    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?

    varispeed 7 hours

    > one team ... separate team

    Claude and ChatGPT working in separate directories ;-)

    jacquesm 11 hours

    These are very valid questions.

    g-b-r 10 hours

    For Claude, I guess

    rendaw 6 hours

    What is software, if not a very precise specification?

    g-b-r 5 hours

    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.

    iAMkenough 8 hours

    Two different sandboxed AI agents who went to the same university (training data), instructed not to talk directly to each other

    g-b-r 6 hours

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

    cowlevel 7 hours

    Except they do talk to each other one-way and no one's checking what they're saying

    iAMkenough 7 hours

    Might be sufficient for the judge and jury

    cowlevel 7 hours

    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?

    iAMkenough 7 hours

    Training on stolen source data to generate new work is court-approved AI use, isn’t it?

    If not, the frontier model providers are in trouble.

    cowlevel 6 hours

    Yes, it's court-approved.

    g-b-r 6 hours

    As an aside, can I ask you how you got a karma of 3300 in 55 days, with not even 700 of it coming from submissions?