mirror of
https://github.com/AbdBarho/stable-diffusion-webui-docker.git
synced 2026-02-04 06:34:19 +01:00
Merge fc23291403 into def76291f8
This commit is contained in:
commit
e702db6d63
|
|
@ -31,7 +31,7 @@ services:
|
||||||
build: ./services/AUTOMATIC1111
|
build: ./services/AUTOMATIC1111
|
||||||
image: sd-auto:63
|
image: sd-auto:63
|
||||||
environment:
|
environment:
|
||||||
- CLI_ARGS=--allow-code --medvram --xformers --enable-insecure-extension-access --api
|
- CLI_ARGS=--allow-code --xformers --enable-insecure-extension-access --api
|
||||||
|
|
||||||
auto-cpu:
|
auto-cpu:
|
||||||
<<: *automatic
|
<<: *automatic
|
||||||
|
|
@ -62,7 +62,7 @@ services:
|
||||||
build: ./services/comfy/
|
build: ./services/comfy/
|
||||||
image: sd-comfy:4
|
image: sd-comfy:4
|
||||||
environment:
|
environment:
|
||||||
- CLI_ARGS=
|
- CLI_ARGS=--preview-method=taesd
|
||||||
|
|
||||||
|
|
||||||
comfy-cpu:
|
comfy-cpu:
|
||||||
|
|
|
||||||
|
|
@ -8,28 +8,24 @@ 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 && apt-get clean
|
||||||
|
|
||||||
|
RUN --mount=type=cache,target=/root/.cache/pip \
|
||||||
|
--mount=type=bind,from=xformers,source=/wheel.whl,target=/xformers-0.0.21-cp310-cp310-linux_x86_64.whl \
|
||||||
|
pip install /xformers-0.0.21-cp310-cp310-linux_x86_64.whl
|
||||||
|
|
||||||
ENV ROOT=/stable-diffusion
|
ENV ROOT=/stable-diffusion
|
||||||
RUN --mount=type=cache,target=/root/.cache/pip \
|
RUN --mount=type=cache,target=/root/.cache/pip \
|
||||||
git clone https://github.com/comfyanonymous/ComfyUI.git ${ROOT} && \
|
git clone https://github.com/comfyanonymous/ComfyUI.git ${ROOT} && \
|
||||||
cd ${ROOT} && \
|
cd ${ROOT} && \
|
||||||
git checkout master && \
|
git checkout master && \
|
||||||
git reset --hard 884ea653c8d6fe19b3724f45a04a0d74cd881f2f && \
|
git reset --hard 91ed2815d542c96fdad75edba2205140de3cbba6 && \
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
|
|
||||||
|
|
||||||
RUN --mount=type=cache,target=/root/.cache/pip \
|
|
||||||
--mount=type=bind,from=xformers,source=/wheel.whl,target=/xformers-0.0.21-cp310-cp310-linux_x86_64.whl \
|
|
||||||
pip install /xformers-0.0.21-cp310-cp310-linux_x86_64.whl
|
|
||||||
|
|
||||||
|
|
||||||
WORKDIR ${ROOT}
|
WORKDIR ${ROOT}
|
||||||
|
|
||||||
ARG BRANCH=master SHA=8607c2d42d10b0108de02528e813cc703e58813f
|
ADD https://github.com/madebyollin/taesd/raw/main/taesd_decoder.pth \
|
||||||
RUN --mount=type=cache,target=/root/.cache/pip \
|
${ROOT}/models/vae_approx/taesd_decoder.pth
|
||||||
git fetch && \
|
ADD https://github.com/madebyollin/taesd/raw/main/taesdxl_decoder.pth \
|
||||||
git checkout ${BRANCH} && \
|
${ROOT}/models/vae_approx/taesdxl_decoder.pth
|
||||||
git reset --hard ${SHA} && \
|
|
||||||
pip install -r requirements.txt
|
|
||||||
|
|
||||||
# add info
|
# add info
|
||||||
COPY . /docker/
|
COPY . /docker/
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue