405
I can't use AMD (midwest.social)

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

you are viewing a single comment's thread
view the rest of the comments
[-] Fubarberry@sopuli.xyz 1 points 7 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.

this post was submitted on 16 Mar 2024
405 points (100.0% liked)

linuxmemes

21210 readers
78 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack members of the community for any reason.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn. Even if you watch it on a Linux machine.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, and wants to interject for a moment. You can stop now.

  • Please report posts and comments that break these rules!

    founded 1 year ago
    MODERATORS