Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ashleykleynhans committed Jul 31, 2024
1 parent 196b531 commit bf2db06
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ RUN /install.sh
WORKDIR /stable-diffusion-webui
COPY a1111/cache-sd-model.py ./
RUN source /venv/bin/activate && \
python3 cache-sd-model.py --skip-install --xformers --use-cpu=all --ckpt /sd-models/sd_xl_base_1.0.safetensors && \
python3 cache-sd-model.py --skip-install --xformers --use-cpu=all --ckpt /sd-models/sd_xl_refiner_1.0.safetensors && \
python3 cache-sd-model.py --xformers --use-cpu=all --ckpt /sd-models/sd_xl_base_1.0.safetensors && \
python3 cache-sd-model.py --xformers --use-cpu=all --ckpt /sd-models/sd_xl_refiner_1.0.safetensors && \
deactivate

# Install Application Manager
Expand Down
5 changes: 1 addition & 4 deletions build/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,8 @@ pip3 install optimum
# Install dependencies for ControlNet extension last so other extensions don't interfere with it
cd /stable-diffusion-webui/extensions/sd-webui-controlnet
pip3 install -r requirements.txt

# Install newer version of transformers so that SD3 model can be loaded
pip3 install transformers==4.42.4
pip3 install protobuf==3.20.0
pip3 cache purge

deactivate

# Add inswapper model for the ReActor extension
Expand Down

0 comments on commit bf2db06

Please sign in to comment.