this post was submitted on 25 Sep 2023
10 points (100.0% liked)
Stable Diffusion
4310 readers
6 users here now
Discuss matters related to our favourite AI Art generation technology
Also see
Other communities
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
As long as you have a somewhat recent kernel with the opensource AMD driver it should work. Here's the Containerfile I use:
Then I just start it with this script.
sudo podman run -it --rm --name stablediffusion -p 7860:7860 -e COMMANDLINE_ARGS="--api --listen --port 7860 --enable-insecure-extension-access --reinstall-torch --device /dev/dri:dev/dri --privileged --device /dev/kfd:/dev/kfd stablediffweb:latest
Mount your volumes as needed depending on how you prefer to manage those. This is by no means the best way to do it, but I've been running it fine for months now, just rebuilding the container every so often when there's a big update. The ROCm nerds have settings for running it without sudo but I haven't swapped over to that yet.
Whoa this is awesome! Thanks!