mirror of
https://github.com/AbdBarho/stable-diffusion-webui-docker.git
synced 2026-02-03 14:14:18 +01:00
temp
This commit is contained in:
parent
555c26b7ce
commit
3bf01fc3c9
|
|
@ -43,7 +43,7 @@ services:
|
|||
<<: *base_service
|
||||
profiles: ["invoke"]
|
||||
build: ./services/invoke/
|
||||
image: sd-invoke:26
|
||||
image: sd-invoke:27
|
||||
environment:
|
||||
- PRELOAD=true
|
||||
- CLI_ARGS=
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ RUN \
|
|||
ln -sf opencv4.pc opencv.pc
|
||||
|
||||
|
||||
ARG BRANCH=main SHA=6e0c6d9cc9f6bdbdefc4b9e94bc1ccde1b04aa42
|
||||
ARG BRANCH=main SHA=8762069b37f996c4a61757e0283bc5d88e275907
|
||||
RUN --mount=type=cache,target=/root/.cache/pip \
|
||||
git fetch && \
|
||||
git reset --hard && \
|
||||
|
|
@ -46,8 +46,8 @@ RUN --mount=type=cache,target=/root/.cache/pip \
|
|||
|
||||
|
||||
RUN --mount=type=cache,target=/root/.cache/pip \
|
||||
--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 && \
|
||||
--mount=type=bind,from=xformers,source=/wheel.whl,target=/xformers-0.0.17-cp310-cp310-linux_x86_64.whl \
|
||||
pip install -U opencv-python-headless triton /xformers-0.0.17-cp310-cp310-linux_x86_64.whl && \
|
||||
python3 -c "from patchmatch import patch_match"
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ done
|
|||
|
||||
if "${PRELOAD}" == "true"; then
|
||||
set -Eeuo pipefail
|
||||
invokeai-configure --skip-sd-weights --root ${ROOT} --yes
|
||||
# invokeai-configure --skip-sd-weights --root ${ROOT} --yes
|
||||
fi
|
||||
|
||||
sleep 100
|
||||
exec "$@"
|
||||
|
|
|
|||
Loading…
Reference in a new issue