• ☂️-@lemmy.ml
    link
    fedilink
    arrow-up
    13
    ·
    5 hours 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
      6
      ·
      1 hour 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

  • lnxtx (xe/xem/xyr)@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    51
    arrow-down
    2
    ·
    7 hours 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
      3
      ·
      edit-2
      5 hours 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

        • Clambake0351@piefed.zip
          link
          fedilink
          English
          arrow-up
          5
          ·
          2 hours 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…

          • lenabee@lemmy.blahaj.zone
            link
            fedilink
            arrow-up
            4
            ·
            2 hours 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.

  • pageflight@piefed.social
    link
    fedilink
    English
    arrow-up
    21
    ·
    7 hours 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.