this post was submitted on 19 May 2024
44 points (87.9% liked)
Linux
48287 readers
627 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I would try what the other commenter here said first. If that doesn't fix your issue, I would try using the Forge version of WebUI (a fork of that WebUI with various memory optimizations, native extensions and other features): https://github.com/lllyasviel/stable-diffusion-webui-forge. This is what I personally use.
I use a 6000-series GPU instead of a 7000-series one, so the setup may be slightly different for you, but I'll walk you through what I did for my Arch setup.
Me personally, I skipped that Wiki section on AMD GPUs entirely and it seems the WebUI still respects and utilizes my GPU just fine. Simply running the
webui.sh
file will do most of the heavy lifting for you (you can see in thewebui.sh
file that it uses specific configurations and ROCm versions for different AMD GPU series like Navi 2 and 3)git clone https://github.com/lllyasviel/stable-diffusion-webui-forge stable-diffusion-webui
(thestable-diffusion-webui
directory name is important,webui.sh
's script seems to reference that directory name specifically)webui.sh
andwebui-user.sh
are in the wrong spot, make symlinks to them so the symlinks are at the same level as thestable-diffusion-webui
directory you created:ln stable-diffusion-webui/webui.sh webui.sh
(ditto forwebui-user.sh
)webui-user.sh
file. You don't really have to change much in here, but I would recommendexport COMMANDLINE_ARGS="--theme dark"
if you want to save your eyes from burning.yay -S python310
orparu -S python310
or whatever method you use to install packages from the AUR. Once you do that, editwebui-user.sh
so thatpython_cmd
looks like this:python_cmd="python3.10"
webui.sh
file:chmod u+x webui.sh
, then./webui.sh
venv
directory from within thestable-diffusion-webui
directory and running the script again. This actually worked in my case, not really sure what went wrong...http://127.0.0.1:7860
. Select the proper checkpoint in the top left, write down a test prompt and hopefully it should be pretty speedy, considering your GPU.