mirror of
https://github.com/AbdBarho/stable-diffusion-webui-docker.git
synced 2026-03-12 08:14:00 +01:00
update invoke
This commit is contained in:
parent
2280b8b7dd
commit
4de6a3ee16
|
|
@ -43,7 +43,7 @@ services:
|
||||||
<<: *base_service
|
<<: *base_service
|
||||||
profiles: ["invoke"]
|
profiles: ["invoke"]
|
||||||
build: ./services/invoke/
|
build: ./services/invoke/
|
||||||
image: sd-invoke:21
|
image: sd-invoke:22
|
||||||
environment:
|
environment:
|
||||||
- PRELOAD=true
|
- PRELOAD=true
|
||||||
- CLI_ARGS=
|
- CLI_ARGS=
|
||||||
|
|
|
||||||
|
|
@ -41,12 +41,7 @@ ln -sf opencv4.pc opencv.pc
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
|
||||||
RUN --mount=type=cache,target=/root/.cache/pip \
|
ARG BRANCH=main SHA=80c5322cccc6f9c6f77aaea80b4bb95e25bc05ba
|
||||||
--mount=type=bind,from=xformers,source=/wheel.whl,target=/xformers-0.0.15-cp310-cp310-linux_x86_64.whl \
|
|
||||||
pip install triton /xformers-0.0.15-cp310-cp310-linux_x86_64.whl
|
|
||||||
|
|
||||||
|
|
||||||
ARG BRANCH=main SHA=07e03b31b7610a27d709b366a491e57085d9b393
|
|
||||||
RUN --mount=type=cache,target=/root/.cache/pip <<EOF
|
RUN --mount=type=cache,target=/root/.cache/pip <<EOF
|
||||||
git fetch
|
git fetch
|
||||||
git reset --hard
|
git reset --hard
|
||||||
|
|
@ -57,8 +52,10 @@ pip install -r req.txt
|
||||||
rm req.txt
|
rm req.txt
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
|
||||||
RUN --mount=type=cache,target=/root/.cache/pip \
|
RUN --mount=type=cache,target=/root/.cache/pip \
|
||||||
pip install -U --force-reinstall opencv-python-headless huggingface_hub && \
|
--mount=type=bind,from=xformers,source=/wheel.whl,target=/xformers-0.0.15-cp310-cp310-linux_x86_64.whl \
|
||||||
|
pip install -U opencv-python-headless huggingface_hub triton /xformers-0.0.15-cp310-cp310-linux_x86_64.whl && \
|
||||||
python3 -c "from patchmatch import patch_match"
|
python3 -c "from patchmatch import patch_match"
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue