mirror of
https://github.com/AbdBarho/stable-diffusion-webui-docker.git
synced 2026-02-04 22:54:19 +01:00
Add support for ComfyUI
This commit is contained in:
parent
e32b2b2544
commit
034c98b50f
|
|
@ -4,7 +4,7 @@ Run Stable Diffusion on your Radeon machine with a nice UI without any hassle!
|
||||||
|
|
||||||
NOTE:
|
NOTE:
|
||||||
- Only ROCm supported for now
|
- Only ROCm supported for now
|
||||||
- Only AUTOMATIC1111 is confirmed to work for now
|
- Supports AUTOMATIC1111 and ComfyUI
|
||||||
- CUDA support to be worked on later
|
- CUDA support to be worked on later
|
||||||
- Requires podman-compose 1.1.0 or newer
|
- Requires podman-compose 1.1.0 or newer
|
||||||
|
|
||||||
|
|
@ -34,6 +34,8 @@ $ podman generate systemd --new webui-docker_auto_1 > ~/.config/systemd/user/aut
|
||||||
$ systemctl --user enable --now automatic1111.service
|
$ systemctl --user enable --now automatic1111.service
|
||||||
```
|
```
|
||||||
|
|
||||||
|
**You can change `--profile auto` to `--profile comfy` to change AUTOMATIC1111 to ComfyUI**
|
||||||
|
|
||||||
## Features
|
## Features
|
||||||
|
|
||||||
This repository provides multiple UIs for you to play around with stable diffusion:
|
This repository provides multiple UIs for you to play around with stable diffusion:
|
||||||
|
|
|
||||||
|
|
@ -59,15 +59,15 @@ services:
|
||||||
# environment:
|
# environment:
|
||||||
# - CLI_ARGS=--no-half --precision full --allow-code --enable-insecure-extension-access --api
|
# - CLI_ARGS=--no-half --precision full --allow-code --enable-insecure-extension-access --api
|
||||||
#
|
#
|
||||||
invoke: &invoke
|
# invoke: &invoke
|
||||||
<<: *base_service
|
# <<: *base_service
|
||||||
profiles: ["invoke"]
|
# profiles: ["invoke"]
|
||||||
build: ./services/invoke/
|
# build: ./services/invoke/
|
||||||
image: sd-invoke:30
|
# image: sd-invoke:30
|
||||||
environment:
|
# environment:
|
||||||
- PRELOAD=true
|
# - PRELOAD=true
|
||||||
# - CLI_ARGS=--xformers
|
# # - CLI_ARGS=--xformers
|
||||||
- CLI_ARGS=
|
# - CLI_ARGS=
|
||||||
|
|
||||||
# invoke-cpu:
|
# invoke-cpu:
|
||||||
# <<: *invoke
|
# <<: *invoke
|
||||||
|
|
|
||||||
|
|
@ -3,14 +3,14 @@ FROM rocm/pytorch:rocm6.1_ubuntu22.04_py3.10_pytorch_2.1.2
|
||||||
|
|
||||||
ENV DEBIAN_FRONTEND=noninteractive PIP_PREFER_BINARY=1
|
ENV DEBIAN_FRONTEND=noninteractive PIP_PREFER_BINARY=1
|
||||||
|
|
||||||
RUN apt-get update && apt-get install -y git && apt-get clean
|
RUN apt-get update && apt-get install -y git cargo nasm && apt-get clean
|
||||||
|
|
||||||
ENV ROOT=/stable-diffusion
|
ENV ROOT=/stable-diffusion
|
||||||
RUN --mount=type=cache,target=/root/.cache/pip,Z \
|
RUN --mount=type=cache,target=/root/.cache/pip,Z \
|
||||||
git clone https://github.com/comfyanonymous/ComfyUI.git ${ROOT} && \
|
git clone --recursive https://github.com/comfyanonymous/ComfyUI.git ${ROOT} && \
|
||||||
cd ${ROOT} && \
|
cd ${ROOT} && \
|
||||||
git checkout master && \
|
git checkout master && \
|
||||||
git reset --hard d1f3637a5a944d0607b899babd8ff11d87100503 && \
|
# git reset --hard d1f3637a5a944d0607b899babd8ff11d87100503 && \
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
|
|
||||||
WORKDIR ${ROOT}
|
WORKDIR ${ROOT}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue