Merge branch 'master' of ssh://code.fleshless.org:2290/fbt/stable-diffusion-ui-podman

This commit is contained in:
Jack L. Frost 2023-10-24 18:53:13 +00:00
commit 587d28827e

View File

@ -1,11 +1,15 @@
# HOWTO # What is this?
This repo is an easy way to run Easy Diffusion in a podman container. I needed to put Easy Diffusion into a container for my own purposes, and publishing this wasn't a lot of effort; so here we are.
~~This targets Nvidia and Arch, and nothing else, I'm old and lazy.~~ ~~This targets Nvidia and Arch, and nothing else, I'm old and lazy.~~
This should work on anything that has an Nvidia GPU, podman, and the nvidia container toolkit (with the nvidia devices setup hook). It should work on anything that has an Nvidia GPU, podman, and the nvidia container toolkit (with the nvidia devices setup hook).
Note that there's currently an issue with the AUR packages for Nvidia's container toolkit. See [this issue](https://gitlab.com/nvidia/container-toolkit/container-toolkit/-/issues/17) for details and a [workaround](https://gitlab.com/nvidia/container-toolkit/container-toolkit/-/issues/17#note_1530784413). Note that there's currently an issue with the AUR packages for Nvidia's container toolkit. See [this issue](https://gitlab.com/nvidia/container-toolkit/container-toolkit/-/issues/17) for details and a [workaround](https://gitlab.com/nvidia/container-toolkit/container-toolkit/-/issues/17#note_1530784413).
# HOWTO
* [Set up GPU access in podman](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html#configuring-podman) * [Set up GPU access in podman](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html#configuring-podman)
* Run the following: * Run the following: