Update README.md
This commit is contained in:
parent
1a54b137c3
commit
882e4795e2
12
README.md
12
README.md
|
@ -1,11 +1,15 @@
|
||||||
# HOWTO
|
# HOWTO
|
||||||
|
|
||||||
- Build stable-diffusion-ui from AUR, put it here as `stable-diffusion-ui.pkg.tar.zst`.
|
This targets Arch and nothing else, I'm old and lazy.
|
||||||
- Set up GPU access in docker/podman.
|
|
||||||
- Run the following:
|
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).
|
||||||
|
|
||||||
|
* Build stable-diffusion-ui from AUR, put it here as `stable-diffusion-ui.pkg.tar.zst`.
|
||||||
|
* [Set up GPU access in podman](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html#configuring-podman)
|
||||||
|
* Run the following:
|
||||||
|
|
||||||
```
|
```
|
||||||
podman build --no-cache . -t 'stable-diffusion-ui-server
|
podman build --no-cache . -t 'stable-diffusion-ui-server
|
||||||
podman run -it --device nvidia.com/gpu=all --security-opt=label=disable --name stable-diffusion-ui -p 9000:9000 -v ./data:/opt/stable-diffusion-ui -e NVIDIA_DRIVER_CAPABILITIES=compute,utility localhost/stable-diffusion-ui-server
|
podman run -it --device nvidia.com/gpu=all --security-opt=label=disable --name stable-diffusion-ui -p 9000:9000 -v ./data:/opt/stable-diffusion-ui -e NVIDIA_DRIVER_CAPABILITIES=compute,utility localhost/stable-diffusion-ui-server
|
||||||
browser http://localhost:9000
|
browser http://localhost:9000
|
||||||
```
|
```
|
Loading…
Reference in New Issue
Block a user