feat: test cn docker image

pull/370/head
Xiujuan Li 2023-12-13 16:04:55 +08:00
parent 219101f2f2
commit de0b4e7eb0
2 changed files with 2 additions and 4 deletions

View File

@ -33,8 +33,7 @@ RUN apt-get install -y file && \
trash /opt/conda/lib/python3.10/site-packages/opencv_python*
# prepare environment fow webui
RUN mkdir /opt/ml/code/models/Stable-diffusion && \
wget -O https://huggingface.co/runwayml/stable-diffusion-v1-5/resolve/main/v1-5-pruned-emaonly.safetensors /opt/ml/code/models/Stable-diffusion
RUN wget -O https://huggingface.co/runwayml/stable-diffusion-v1-5/resolve/main/v1-5-pruned-emaonly.safetensors /opt/ml/code/models/Stable-diffusion
RUN pip install -r /opt/ml/code/requirements_versions.txt && \
pip install https://github.com/openai/CLIP/archive/d50d76daa670286dd6cacf3bcd80b5e4823fc8e1.zip && \
pip install https://github.com/mlfoundations/open_clip/archive/bb6e834e9c70d9c27d0dc3ecedeebeaeb1ffad6b.zip && \

View File

@ -33,8 +33,7 @@ RUN pip install -r /opt/ml/code/extensions/sd_dreambooth_extension/requirements.
apt-get install -y google-perftools
# prepare environment fow webui
RUN mkdir /opt/ml/code/models/Stable-diffusion && \
wget -O https://huggingface.co/runwayml/stable-diffusion-v1-5/resolve/main/v1-5-pruned-emaonly.safetensors /opt/ml/code/models/Stable-diffusion
RUN wget -O https://huggingface.co/runwayml/stable-diffusion-v1-5/resolve/main/v1-5-pruned-emaonly.safetensors /opt/ml/code/models/Stable-diffusion
RUN pip install -r /opt/ml/code/requirements_versions.txt && \
pip install https://github.com/openai/CLIP/archive/d50d76daa670286dd6cacf3bcd80b5e4823fc8e1.zip && \
pip install https://github.com/mlfoundations/open_clip/archive/bb6e834e9c70d9c27d0dc3ecedeebeaeb1ffad6b.zip && \