Skip to content

Commit 5af482e

Browse files
authored
Update Core to c84748a (#25)
1 parent ce4e190 commit 5af482e

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

build/Dockerfile

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@ RUN conda install pytorch==1.11.0 torchvision==0.12.0 cudatoolkit=11.3 -c pytorc
77
RUN git clone https://github.com/hlky/stable-diffusion.git && cd stable-diffusion && git reset --hard ff8c2d0b709f1e4180fb19fa5c27ec28c414cedd
88
RUN conda env update --file stable-diffusion/environment.yaml --name base && conda clean -a -y
99

10-
# Fix: Module PIL has not attribute "Resampling"
11-
RUN conda install -c anaconda pillow==9.2.0 && conda clean -a -y
12-
1310

1411
SHELL ["/bin/bash", "-ceuxo", "pipefail"]
1512

@@ -18,8 +15,9 @@ RUN apt-get update && apt install fonts-dejavu-core rsync -y && apt-get clean
1815

1916
# Note: don't update the sha of previous versions because the install will take forever
2017
# instead, update the repo state in a later step
21-
RUN cd stable-diffusion && git pull && git reset --hard d667ff52a36b4e79526f01555bfbf85428f334ce && \
22-
conda env update --file environment.yaml --name base && conda clean -a -y
18+
RUN cd stable-diffusion && git pull && git reset --hard c84748aa6802c2f934687883a79bde745d2a58a6 && \
19+
conda env update --file environment.yaml --name base && conda clean -a -y \
20+
&& pip install -U --no-cache-dir pyperclip
2321

2422
# download dev UI version, update the sha below in case you want some other version
2523
# RUN <<EOF
@@ -45,7 +43,7 @@ EOF
4543
RUN <<EOF
4644
git clone https://github.com/devilismyfriend/latent-diffusion &&
4745
cd /latent-diffusion &&
48-
git reset --hard 4119cf038fb953360fb004e48adb9913eed3594a &&
46+
git reset --hard 6d61fc03f15273a457950f2cdc10dddf53ba6809 &&
4947
# hacks all the way down
5048
mv ldm ldm_latent &&
5149
sed -i -- 's/from ldm/from ldm_latent/g' *.py
@@ -61,4 +59,4 @@ WORKDIR /stable-diffusion
6159
ENV TRANSFORMERS_CACHE=/cache/transformers TORCH_HOME=/cache/torch CLI_ARGS=""
6260
EXPOSE 7860
6361
# run, -u to not buffer stdout / stderr
64-
CMD /docker/mount.sh && python3 -u scripts/webui.py --outdir /output --ckpt /models/model.ckpt --ldsr-dir /latent-diffusion --save-metadata ${CLI_ARGS}
62+
CMD /docker/mount.sh && python3 -u scripts/webui.py --outdir /output --ckpt /models/model.ckpt --ldsr-dir /latent-diffusion ${CLI_ARGS}

0 commit comments

Comments
 (0)