• galaxy_nova@lemmy.world
    link
    fedilink
    English
    arrow-up
    25
    arrow-down
    2
    ·
    24 hours ago

    I find it odd for people to be adverse to “vibe coding” something like this if they use Nvidia’s own proprietary driver since you know that’s also probably vibe coded now. I don’t see how this would be any less appealing that that except I guess the Nvidia driver base isn’t necessarily vibe coded.

    • Cryxtalix@programming.dev
      link
      fedilink
      arrow-up
      7
      ·
      edit-2
      6 hours ago

      It is generally unsafe to install untrusted software, but especially if it runs in kernel space. It has free reign to access and exfiltrate personal data, and can even damage hardware.

    • utopiah@lemmy.ml
      link
      fedilink
      arrow-up
      15
      arrow-down
      3
      ·
      14 hours ago

      NVIDIA has decades of NOT shipping drivers that will mine crypto on your GPU or not crash your system (well…) or not stop the fan in the middle of a very demanding task … so sure it’s bad that they ship close source drivers but they did accumulate, justifiably so, trust from their community of users. When problem do arise they are there to reply on forums, possibly update accordingly, take some responsibility not because they are good but because otherwise their value will follow.

      Random person from the Internet who claims their very complex code does something do not. They can show up, move on.

      • galaxy_nova@lemmy.world
        link
        fedilink
        English
        arrow-up
        4
        ·
        5 hours ago

        I entirely agree with your point, however I’m not sure this is specific to the fact it’s vibe coded (depending on the knowledge of the developer). I generally have the same level of caution for any project that is a solo developer project for anything security critical just as a general rule. I suppose the fact it’s AI coded might make me a bit more wary I will concede, but I’d still feel the same way if some solo dev of equal qualification hand wrote everything. Your last paragraph would also apply to that situation as well.

        • Kazumara@discuss.tchncs.de
          link
          fedilink
          arrow-up
          1
          ·
          4 hours ago

          When comparing a solo dev previously who hand coded a big project and one now who vibe coded a big project I consider one thing that’s missing from the latter is the proof-of-work inherent in the output.

          This increases my suspicion in the new case over that of the old case, because it increases the likelihood that someone might have produced all this output just to hide something nefarious. Not that it was impossible previously, it just implied much more investment.

      • Nibodhika@lemmy.world
        link
        fedilink
        arrow-up
        3
        arrow-down
        1
        ·
        13 hours ago

        Not to mention that if the Nvidia driver breaks your GPU for any reason, they’re likely to give you a new one, it’s cheaper than the bad PR. If this thing breaks your GPU you’re shit out of luck. And go ahead and keep a chat going for a few days in a topic you’re extremely familiar with any major LLM to see if it didn’t make a single mistake in all of it.

        • burlemarx@lemmygrad.ml
          link
          fedilink
          arrow-up
          1
          ·
          12 hours ago

          The problem is determining the driver as the fault for the device breaking. Unless you are an expert, it’s very unlikely that you are able to determine that. This is more something that will happen in big tech companies, the major clients of Nvidia, or some OEM manufacturers.

  • lnxtx (xe/xem/xyr)@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    102
    arrow-down
    4
    ·
    1 day ago

    I like the phrasing (bold is mine):

    nvdriver (nvidia_rs.ko) is a clean-room, open-source […]

    AI and clean-room 👍

    /s

    • Bakkoda@lemmy.world
      link
      fedilink
      arrow-up
      12
      ·
      edit-2
      1 day ago

      Is this a common term? I always get very critical when i hear a term like that used over and over in a video. They always sound like they are trying to convince me about something

      • ozymandias117@lemmy.world
        link
        fedilink
        English
        arrow-up
        9
        ·
        9 hours ago

        It comes from the early days of computers.

        The idea is one group of engineers that may have read the source code document the specific behaviors of the program

        That specification is then handed off to another group of engineers that have definitely never seen the source code.

        That second group then reimplements the same behaviors through their own source.

        This means there can’t be any copyrightable code in the second implementation.

        That’s how what are called IBM compatible machines became ubiquitous. The implementation can be copyrighted, but if you have an independent implementation then you’re fine.

        The problem is there’s no way to independently say an AI hasn’t been trained on the source of the original program, so anything written by AI may be copyright infringement

        • Clambake0351@piefed.zip
          link
          fedilink
          English
          arrow-up
          23
          arrow-down
          2
          ·
          1 day ago

          While it can apply to human-written code, it’s almost always used today in the context of AI reproducing proprietary code without the owners source material or insider knowledge from someone that had access to the source.

          The glaring omission in that statement is, unless you trained your AI by hand, you likely have no idea what if any proprietary training data went into the model, so it only “avoids copyright” so long as your AI model isn’t violating any copyright laws, which…

          • Cethin@lemmy.zip
            link
            fedilink
            English
            arrow-up
            5
            ·
            11 hours ago

            I wonder who’s legally responsible, if it turns out it is violating copyright laws. Is it the user, who created the copy, or is it the AI developer, who sold a product that they claim wasn’t an issue. The user has no reasonable way to know what the training data was, so they probably shouldn’t be the one accountable.

            • wewbull@feddit.uk
              link
              fedilink
              English
              arrow-up
              4
              ·
              8 hours ago

              wonder who’s legally responsible

              The person with the smallest legal fund.

              • Cethin@lemmy.zip
                link
                fedilink
                English
                arrow-up
                2
                ·
                7 hours ago

                In this case, it sets a precedent. Does the AI company have more money, or do all the users? It’s more than just the person in this case. It’s also all the companies using it.

                • girsaysdoom@sh.itjust.works
                  link
                  fedilink
                  arrow-up
                  2
                  ·
                  2 hours ago

                  Imagine if they did lose a case to copyright because they used AI. I think that would damning for a lot of businesses that use mainstream models.

          • P03 Locke@lemmy.dbzer0.com
            link
            fedilink
            English
            arrow-up
            3
            arrow-down
            2
            ·
            12 hours ago

            LLMs don’t “own” code, the writing process, and certainly can’t reverse engineer anything. It’s just a tool used by a human.

            An AI model can’t “violate any copyright laws”.

          • lenabee@lemmy.blahaj.zone
            link
            fedilink
            arrow-up
            13
            ·
            1 day ago

            Yes. I agree 100%. That to me is also some of the beauty in this trend. I personally believe that these are not clean room reverse engineering due to AI having knowledge that they “shouldn’t” have. But it puts the AI companies in a logical trap.

            If this counts as clean-room, then every computer program will continue to be reverse engineered legally for maybe forever. If this doesn’t count as clean room, then that term has to be redefined to arbitrarily exclude AI as an allowed tool or the AI companies will need to disclose what forbidden knowledge their models actually know.

            It looks like a lose-lose for AI companies. Barring corrupt legislation favoring corporations over people, seems like the machine they built ignoring copyright is being used to ignore copyright.

        • theparadox@lemmy.world
          link
          fedilink
          English
          arrow-up
          2
          ·
          10 hours ago

          I interpret it as “we made efforts not to violate any copyright so if the code looks familiar, blame the model’s owner not us”.

        • Nik282000@lemmy.ca
          link
          fedilink
          arrow-up
          4
          arrow-down
          3
          ·
          22 hours ago

          You can not have “clean-room” software if an LLM was involved. They are trained on other peoples code, both free and non-free and even if it is not incorporated char for char in the final project, other people’s work was involved, thus making it not a clean-room project.

          • just another dev@lemmy.my-box.dev
            link
            fedilink
            English
            arrow-up
            3
            arrow-down
            1
            ·
            13 hours ago

            That sounds like nitpicking to me. I might be wrong, but in my understanding, the idea of clean room reverse engineering is that you don’t look at the compiled code to see what it does, but just by how it reacts.

            Let’s assume for the moment that the LLM was not trained on nvidia’s closed source code. (after all, if it wat leaked, there wouldn’t be a need for this project)

            If a human developer used Wikipedia or looks up stuff on githib during an otherwise clean room reverse engineering session, is that then also no longer a clean room session? That seems… Very arbitrary.

            • ffhein@lemmy.world
              link
              fedilink
              arrow-up
              5
              ·
              11 hours ago

              I think clean room reverse engineering usually means that you have one person/team/agent that decompiles and analyses the binaries, they write a detailed specification of what it does, and then a different person/team/agent writes a new implementation based on that spec. I.e. it involves looking at the compiled code, just not by the same person who writes the new implementation. And it doesn’t depend on any information already being available.

              However, I wouldn’t take for granted that this actually is a clean room implementation just because the AI says it is.

              • just another dev@lemmy.my-box.dev
                link
                fedilink
                English
                arrow-up
                3
                ·
                11 hours ago

                Thank you for the explanation, that makes it so much clearer.

                And while I agree we shouldn’t trust anything written on the internet - that this was actually the method they used, it sounds like the methodology you described can definitely be executed through the use of AI.

                Either way, personally I still think it’s an incredible achievement.

                • Jako302@feddit.org
                  link
                  fedilink
                  arrow-up
                  1
                  ·
                  5 hours ago

                  it sounds like the methodology you described can definitely be executed through the use of AI.

                  It quite literally can’t cause the AI most likely has the code already in its training data.

                  You could use it to write the documentation, but once AI was used to write any code, it could only be considered cleanroom if the original code is with 100% certainty not in the training data.

            • wewbull@feddit.uk
              link
              fedilink
              English
              arrow-up
              1
              arrow-down
              1
              ·
              8 hours ago

              It’s not nitpicking. It’s the reason US courts have stated that copyrighted LLM code is not a thing.

              • just another dev@lemmy.my-box.dev
                link
                fedilink
                English
                arrow-up
                2
                ·
                8 hours ago

                Can you elaborate? If one LLM writes the spec, and the other implements it, why doesn’t that qualify as clean room? What makes it different than with humans?

                (again, I’m working on the basis that those LLMs haven’t been trained on nvidia’s closed source code, Ockhams razor and all)

                • wewbull@feddit.uk
                  link
                  fedilink
                  English
                  arrow-up
                  1
                  ·
                  2 hours ago

                  In a human “clean room” the implementors can never have had any previous exposure to any thing related to the original product.

                  A logical extension of this is that a “clean room” implementation is impossible using LLMs because an LLM always carries all of the things it was trained on within it. It’s not implementing from just a spec, but from all of the things it’s seen before, which more than likely includes the thing you are trying to “clean room”.

  • pageflight@piefed.social
    link
    fedilink
    English
    arrow-up
    31
    arrow-down
    2
    ·
    1 day ago

    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?

    So, AI making a tool tailored to a very specific use case, which is… AI. I’ve heard this story before, not that interested.

  • ☂️-@lemmy.ml
    link
    fedilink
    arrow-up
    18
    ·
    1 day ago

    i thought nvidia had already released source and documentation.

    isn’t that what’s fueling the development of the new nvk and nouveau driver?

    • Sickday@kbin.earth
      link
      fedilink
      arrow-up
      25
      ·
      1 day ago

      sort of. nvidia open-sourced the kernel modules, so userspace libs like cuda, opengl, vulkan, etc. are all still closed. also nvidia’s open sourced kernel modules only work on Turing+ chips. nvidia probably open sourced the kernel modules because all the juicy logic was moved to the GPU System Processor (closed sourced CPU built into the Turing+ cards).

      The current nvk is mostly a small layer that can talk to the newer GSP. Older cards like Maxwell-era dont have a GSP so the nvk driver doesn’t really apply to them. They still use the closed nvidia.ko blob. nvk itself is a userspace mesa driver though and it runs on nouveau and doesn’t use even use nvidia’s open modules.

      this nvdriver is a clearly reverse engineered “clean room” rust impl of nvidia’s closed kernel module (nvidia.ko). its able to run stuff like libcuda, nvidia-smi, probably even llama.cpp and PyTorch. it’s also doing shit like removing product limits for crytpo miners and vgpu allow-lists. to me, it looks like they’re trying to do this specifically for cuda stuff though. Will it work with nvk? not sure I haven’t spent enough time looking at it to know.

      also anyone more knowledgeable feel free to correct me. this is just cursory glance info so I could be off on my assessment of the repo

      Edit: got a good look. How the fuck is this clean room?? they’ve got their agents using rea in almost every part of the first step lol.

      • ffhein@lemmy.world
        link
        fedilink
        arrow-up
        4
        ·
        11 hours ago

        How the fuck is this clean room??

        I don’t know if this is how they actually do it, but AFAIK all that is needed to qualify as “clean room” is that the output of those tools is only used to write a specification of how the driver works. And then a different developer/agent, who has never seen Nvidia’s copyrighted code, writes the new driver only based on that specification. The loophole being that the specification your first developer wrote is not copyrighted