It’s necessary for my very important hobby of generating anime nudes.

  • Diplomjodler@feddit.de
    link
    fedilink
    arrow-up
    100
    arrow-down
    16
    ·
    4 months ago

    Oh please. There are better templates than this stupid Nazi cunt. I really don’t want to see this fuckface.

      • wurstgulasch3000@lemmy.world
        link
        fedilink
        arrow-up
        7
        ·
        4 months ago

        I mean the barrier of entry is kind of high if you’re used to more traditional package managers.

        Source: I tried using nix on my Debian machine

        • JovialSodium@lemmy.sdf.org
          link
          fedilink
          arrow-up
          2
          ·
          edit-2
          4 months ago

          There’s definitely a steep initial learning curve as you observed and dialing in your configuration is time consuming in my experience but once you’ve got things the way you like, it’s pretty smooth sailing from there.

          Edit: removed compared to arch references. Not relevant to the comment.

          • Pyro@lemmy.world
            link
            fedilink
            English
            arrow-up
            4
            arrow-down
            1
            ·
            edit-2
            4 months ago

            As someone who tried NixOS recently for the first time, it feels like an uphill battle.

            Some immediate concerns I have as a newbie are below. Bear in mind that I’m a single user on a single system.

            Organisation is daunting as fuck
            Even a relatively simple desktop config seems rather large to me. I expect the complexity of my config to balloon if I were to use this as my primary OS. There seems to be no consensus on how things should be separated.
            I’ve heard home-manager is good, but I don’t really get the point of it. What does it achieve for me that editing configuration.nix doesn’t? I’ve yet to find a benefit. It’s just another place to dump endless configs and another command to remember to run.

            Installing software feels like the roll of a dice
            I installed NixOS to try Hyprland, and their docs say to just use programs.hyprland.enable = true, which I’ve come to learn is a module. But that’s not the only way to install things! You also have system packages and user packages! I just want to install some software, I don’t want to have to look up whether it’s a module or a package every time I want something new. I’m never sure what I should add to which section. No other distro that I know of has this problem! Having 3 different places to add software seems excessive. What am I using? Windows? And now there’s Flakes too. I’m sure they’re great, but right now I just see them as yet another way to install software on Nix. Great.

            There’s more, but I’ll leave it there for now. I’m sure there are reasonable answers to all that I’ve said, but I’m just frustrated. I really want to like Nix, but it’s not making it easy.

            tl;dr: Two things. 1) Lack of consensus on how configs are organised is confusing. 2) Having 3 different ways of installing software (modules/packages/flakes) does not feel better than apt install or pacman -Syu etc.

            • Shareni@programming.dev
              link
              fedilink
              arrow-up
              1
              arrow-down
              1
              ·
              4 months ago

              Organisation is daunting as fuck

              Read up on modules. It’s obvious you haven’t even googled it.

              I’ve heard home-manager is good, but I don’t really get the point of it. What does it achieve for me that editing configuration.nix doesn’t?

              1. You’re not supposed to use configuration.nix for userland packages. Separation of concerns, and so you don’t need to rebuild all the time.

              2. Declarative package management and configuration

              3. You only need to remember one command to install and update all your packages

              Installing software feels like the roll of a dice

              There are many ways to install a package, and that allows you to chose the one you want to use. Nobody’s forcing you to use the module instead of just the package…

              And now there’s Flakes too. I’m sure they’re great, but right now I just see them as yet another way to install software on Nix. Great.

              You don’t use flakes to install packages. You use them to control the package definitions, pin specific versions, add packages from outside of nixpkgs in a declarative manner, and so on.

              I really want to like Nix, but it’s not making it easy.

              You really want to like Nix, but don’t want to learn basic concepts and instead expect it to behave like every other distro.

              If installing packages is too much for you, give up on nixos and use something else. That’s literally the easiest and most issue free part of using it. You can install hyperland through nix on Debian or whatever distro you want.

              does not feel better than apt install or pacman -Syu etc.

              Yeah, why would anyone want a list of packages they currently have installed. Can’t think of any benefits, nope…

      • xlash123@sh.itjust.works
        link
        fedilink
        arrow-up
        1
        ·
        4 months ago

        I mean at this point, people use that phrase themselves, so I don’t think it really makes fun of them anymore.

        I use EndeavorOS, btw

  • Phegan@lemmy.world
    link
    fedilink
    arrow-up
    65
    arrow-down
    8
    ·
    4 months ago

    Steven Crowder is a despicable human and does not deserve a meme template.

    • HakFoo@lemmy.sdf.org
      link
      fedilink
      arrow-up
      8
      ·
      4 months ago

      What distro are you using? Been looking for an excuse to strain my 6900XT.

      I started looking at getting it running on Void and it seemed like (at the time) there were a lot of specific version dependencies that made it awkward.

      I suspect the right answer is to spin up a container, but I resent Docker’s licensing BS too much for that. Surely by now there’d be a purpose built live image- write it to a flash drive, reboot, and boom, anime vampire princes hot girls

      • Pumpkin Escobar@lemmy.world
        link
        fedilink
        English
        arrow-up
        8
        ·
        4 months ago

        If you don’t like docker take a look at containerd and podman. I haven’t done any cuda with podman but it is supposed to work

        • HakFoo@lemmy.sdf.org
          link
          fedilink
          arrow-up
          3
          ·
          4 months ago

          I think people don’t like dramatic changes in business model. I had installed it for like 3 days, long before the switchover, to test out something from another dev. When they made the announcements, the hammer went down in our org not to use it. But that didn’t stop them from sending sales-prospecting/vaguely threateningly worded email to me, who has no cheque-writing authority anyway.

          Plus, I’m not a fan of containers.

          STOP DOING CONTAINERS.

          • Machines were not meant to contain other smaller machines.
          • Years of virtualization yet no real-world use found for anything but SNES emulation
          • Wanted to “ship your machine to the end-user” anyway for a laugh? We had a tool for that. It was called “FedEx”.
          • “Yes, Please give me docker compose up meatball-hero of something. Please give me Alpine Linux On Musl of it” – Statements dreamed up by the utterly deranged.

          “Hello, I would like 7.5GB of VM worth of apples please”

          THEY HAVE PLAYED US FOR ABSOLUTE FOOLS.

          • Shareni@programming.dev
            link
            fedilink
            arrow-up
            1
            ·
            4 months ago

            Poor capitalists need to pay for the tools that make them money. Stop it, I’ll break down in tears just thinking about the horror of it.

            Do you use some different solution, or did you completely avoid containers and orchestration?

            But that didn’t stop them from sending sales-prospecting/vaguely threateningly worded email to me, who has no cheque-writing authority anyway.

            They only spam me with promotional material. You used the business email I’m guessing?

      • ichbinjasokreativ@lemmy.world
        link
        fedilink
        arrow-up
        3
        arrow-down
        1
        ·
        4 months ago

        I use stable diffusion on rocm in an ubuntu distrobox container. Super easy to set up and there’s a good guide in the opensuse forum for it.

        • Russ@bitforged.space
          link
          fedilink
          English
          arrow-up
          2
          ·
          4 months ago

          That is exactly what I do too and it works perfectly! This is a link to said guide.

          It’s effectively install distrobox, save the config, run distrobox assemble and then distrobox enter rocm and clone the Automatic1111 stable diffusion webui somewhere and run bash webui.sh to launch it.

      • Fubarberry@sopuli.xyz
        link
        fedilink
        English
        arrow-up
        1
        ·
        4 months ago

        I set mine up on arch. There’s an aur package, but it didn’t work for me.

        After some failed attempts, I ended up having success following this guide.

        Some parts are out of date though, so if it fails to install something you’ll need to have it target a newer available package. Main example of this is inside the webui-user.sh file, it tells you to replace an existing line with export TORCH_COMMAND="pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/rocm5.1.1". This will fail because that version of pytorch is no longer available. So instead you need to replace the download URL with an up to date one from the pytorch website. They’ve also slightly changed the layout of the file. Right now the correct edit should be to find the # install command for torch line and change the command under it to: pip install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/rocm5.7

        You may need to swap pip to pip3 too, if you get a pip error. Overall it takes some troubleshooting, look at any errors you get and see if it’s calling for a package you don’t have or anything like that.

    • carl://@upload.chat
      link
      fedilink
      arrow-up
      7
      ·
      edit-2
      4 months ago

      I can confirm that it works just fine for me. In my case I’m on Arch Linux btw and a 7900XTX, but it needed a few tweaks:

      - Having xformers installed at all would sometimes break startup of stable-diffusion depending on the fork
      - I had an internal and an external GPU, I want to set HIP_VISIBLE_DEVICE so that it only sees the correct one
      - I had to update torch/torchvision and set HSA_OVERRIDE_GFX_VERSION

      I threw what I did into https://github.com/icedream/sd-multiverse/blob/main/scripts/setup-venv.sh#L381-L386 to test several forks.

  • Rusty Shackleford@programming.dev
    link
    fedilink
    English
    arrow-up
    25
    ·
    edit-2
    4 months ago

    Earlier in my career, I compiled tensorflow with CUDA/cuDNN (NVIDIA) in one container and then in another machine and container compiled with ROCm (AMD) for cancerous tissue detection in computer vision tasks. GPU acceleration in training the model was significantly more performant with NVIDIA libraries.

    It’s not like you can’t train deep neural networks without NVIDIA, but their deep learning libraries combined with tensor cores in Turing-era GPUs and later make things much faster.

    • lemmeee@sh.itjust.works
      link
      fedilink
      arrow-up
      3
      ·
      edit-2
      4 months ago

      AMD is catching up now. There are still performance differences, but they are probably not as big in the latest generation.

  • Aniki 🌱🌿@lemm.ee
    cake
    link
    fedilink
    English
    arrow-up
    12
    ·
    edit-2
    4 months ago

    I’m holding out building a new gaming rig until AMD sorts out better ray-tracing and cuda support. I’m playing on a Deck now so I have plenty of time to work through my old backlog.

    • t0fr@lemmy.ca
      link
      fedilink
      arrow-up
      14
      ·
      4 months ago

      I was straight up thinking of going to AMD just to have fewer GPU problems on Linux myself

      • Rikj000@discuss.tchncs.de
        link
        fedilink
        English
        arrow-up
        10
        ·
        4 months ago

        In my experience,
        AMD is a bliss on Linux,
        while Nvidia is a headache.

        Also, AMD has ROCM,
        it’s their equivalent of Nvidia’s CUDA.

        • TropicalDingdong@lemmy.world
          link
          fedilink
          arrow-up
          6
          ·
          4 months ago

          Yeah but is it actually equivalent?

          If so I’m 100% in but it needs to actually be. a drop in replacement for “it just works” like cuda is.

          Once I’ve actually got drivers all set cuda “just works”. Is it equivalent in that way? Or am I going to get into a library compatibility issue in R or Python?

          • Deckweiss@lemmy.world
            link
            fedilink
            arrow-up
            7
            ·
            edit-2
            4 months ago

            Not all software that uses CUDA has support for ROCM.

            But as far as setup goes, I just installed the correct drivers and ROCM compatible software just worked.

            So - it can be a an equivalent alternative, but that depends on the software you want to run.

        • t0fr@lemmy.ca
          link
          fedilink
          arrow-up
          2
          ·
          4 months ago

          It’s the equivalent, but does the software make use of the ROCM if they are programmed for CUDA?

        • Enk1@lemmy.world
          link
          fedilink
          arrow-up
          4
          arrow-down
          2
          ·
          4 months ago

          Never had an issue with Nvidia on Linux. Yes, you have to use proprietary drivers, but outside of that I’ve been running Linux with Nvidia cards for 20 years.

            • Enk1@lemmy.world
              link
              fedilink
              arrow-up
              1
              ·
              3 months ago

              Been running Wayland for 2 years and only issue I had with it was Synergy not working.

          • Rikj000@discuss.tchncs.de
            link
            fedilink
            English
            arrow-up
            2
            ·
            edit-2
            4 months ago

            Even not the “issue” that basically every time you update something, you have to wait a long time to download proprietary nvidia drivers?

            That’s what annoyed me the most back in the day with the Nvidia drivers,
            so many hours wasted on updating the drivers.

            With AMD, this is not the case.

            And haven’t even talked about my issues with Optimus (Intel on-board graphics + Nvidia GPU) yet, which was a true nightmare, took me weeks of research to finally make it work correctly.

            • Enk1@lemmy.world
              link
              fedilink
              arrow-up
              1
              ·
              3 months ago

              You don’t need to update NVIDIA drivers every time there’s a release. I don’t even do that on my Windows machine. Most driver updates are just tweaks for the latest game, not bug fixes or performance improvements.

              And hell, you’re using Linux. Vim updates more often than the graphics driver, what do you expect?

              • Rikj000@discuss.tchncs.de
                link
                fedilink
                English
                arrow-up
                1
                ·
                3 months ago

                It automatically happened,
                I believe with every install of an updated Flatpak, which is rather often.

                Been a while though, since lately I’ve been happily using AMD for quite some time.

                But I do recall Nvidia driver updates slowing down my update process by a lot,
                while I have none of that with AMD.

                • Enk1@lemmy.world
                  link
                  fedilink
                  arrow-up
                  1
                  ·
                  3 months ago

                  Ah, I always update the driver through the package manager and it never auto-updates.

      • Aniki 🌱🌿@lemm.ee
        cake
        link
        fedilink
        English
        arrow-up
        1
        ·
        4 months ago

        My experience with the Deck outside of CS2 has been nothing short of mind-boggling. I don’t even REALLY have a problem with CS2 but I cannot play online for VAC reasons I can’t sort out. I have a ticket open with Steam Support. 🤷

    • grue@lemmy.world
      link
      fedilink
      English
      arrow-up
      9
      arrow-down
      3
      ·
      4 months ago

      CUDA isn’t the responsibility of AMD to chase; it’s the responsibility of Nvidia to quit being anticompetitive.

      • Aniki 🌱🌿@lemm.ee
        cake
        link
        fedilink
        English
        arrow-up
        4
        arrow-down
        1
        ·
        4 months ago

        It’s also not my problem either. I don’t give a shit what nvidia or AMD does, I just want to be able to run AI stuff on my rig in as open-source a manner as is possible.

        • grue@lemmy.world
          link
          fedilink
          English
          arrow-up
          6
          arrow-down
          3
          ·
          4 months ago

          …in as open-source a manner as is possible.

          And that means “not with CUDA,” because CUDA is proprietary.

          • Aniki 🌱🌿@lemm.ee
            cake
            link
            fedilink
            English
            arrow-up
            2
            arrow-down
            7
            ·
            4 months ago

            This is a semantic argument I don’t feel like getting into. I don’t give a shit what library it is – I want AMD to be able to crunch pytorch as well as nvidia.

            • grue@lemmy.world
              link
              fedilink
              English
              arrow-up
              9
              arrow-down
              2
              ·
              edit-2
              4 months ago

              The fact that CUDA is proprietary to Nvidia isn’t even slightly “semantics;” it’s literally the entire problem this thread is discussing. CUDA doesn’t work on AMD because Nvidia doesn’t allow it to work on AMD.

  • Scraft161@iusearchlinux.fyi
    link
    fedilink
    arrow-up
    8
    ·
    4 months ago

    last I heard AMD is working on CUDA working on their GPUs and I saw a post saying it was pretty complete by now (although I myself don’t keep up with that sort of stuff)

    • CeeBee@lemmy.world
      link
      fedilink
      arrow-up
      9
      ·
      4 months ago

      Well, right after that Nvidia amended their license agreements stating that you cannot use CUDA with any translation layers.

      The project you’re thinking of is ZLUDA.

      • Scraft161@iusearchlinux.fyi
        link
        fedilink
        arrow-up
        10
        ·
        4 months ago

        NVIDIA finally being the whole bitch it seems, not unexpected when it comes to tech monopolies.

        In the words of our lord and savior Linus Torvalds “NVIDIA, fuck you! 🖕”, amen.

        In all reality, a lot of individuals aren’t gonna care when it comes to EULA B’s unless they absolutely depend on it and this whole move has me want an AMD gpu even more.

        • CeeBee@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          4 months ago

          Ya, I was a fairly big Nvidia defender for the past few years. I used a ton of their stuff for my last job, and genuinely didn’t have any issues with them (all Linux systems, gaming and AI workloads).

          But their recent actions have really soured my view of them.

          • Scraft161@iusearchlinux.fyi
            link
            fedilink
            arrow-up
            2
            ·
            4 months ago

            It’s sad that more companies are just willing to screw their customers and squeeze them dry of every last penny just for the sake of profit and infinite growth even though we know infinite growth will never be attainable.

            Every corporate entity is willing to forfeit their goals for money, especially if they hold a monopoly in a certain space and when growth slows they will look for other ways to offset that income.

            I’ve learned that loyalty means jack shit to the company and it’s just another thing they can exploit you with, I’m not loyal to AMD but right now they’re the least unethical party in this race to the bottom.

      • carl://@upload.chat
        link
        fedilink
        arrow-up
        3
        ·
        4 months ago

        That sucks if that’s true. And would also ironically not be the first time AMD is getting denied a thing after they already have an implementation ready for it lol.

  • Ann Archy@lemmy.world
    link
    fedilink
    arrow-up
    5
    ·
    edit-2
    4 months ago

    I need NVDA for the gainz

    Edit: btw Raspberry PI is doing an IPO later this year, bullish on AMD

  • genie@lemmy.world
    link
    fedilink
    arrow-up
    6
    arrow-down
    2
    ·
    4 months ago

    If anything AMD (for ML) is the hardware “I use [x] btw” (as in I go through unnecessary pain for purism or to one up my own superiority complex)

  • ornery_chemist@mander.xyz
    link
    fedilink
    arrow-up
    4
    ·
    edit-2
    4 months ago

    Man I just built a new rig last November and went with nvidia specifically to run some niche scientific computing software that only targets CUDA. It took a bit of effort to get it to play nice, but it at least runs pretty well. Unfortunately, now I’m trying to update to KDE6 and play games and boy howdy are there graphics glitches. I really wish HPC academics would ditch CUDA for GPU acceleration, and maybe ifort + mkl while they’re at it.

  • DumbAceDragon@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    4 months ago

    I do actually need nvidia for blender since AMD raytracing support is still a work in progress for it.

    As soon as it’s stable, works on linux, and a mid-range AMD card performs as well as my 3060 though I’m absolutely jumping to AMD.

  • Holzkohlen@feddit.de
    link
    fedilink
    arrow-up
    1
    arrow-down
    1
    ·
    3 months ago

    3D rendering with optix. I don’t do AI nonsense other than chatgpt for the occasional shell script or python function.