File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818 packages : write
1919
2020 steps :
21+ - name : Free Disk Space (Ubuntu)
22+ uses : jlumbroso/free-disk-space@main
23+ with :
24+ # this might remove tools that are actually needed,
25+ # if set to "true" but frees about 6 GB
26+ tool-cache : false
27+
28+ # all of these default to true, but feel free to set to
29+ # "false" if necessary for your workflow
30+ android : true
31+ dotnet : true
32+ haskell : true
33+ large-packages : true
34+ docker-images : true
35+ swap-storage : true
36+
2137 - name : Checkout repository
2238 uses : actions/checkout@v3
2339
Original file line number Diff line number Diff line change @@ -12,7 +12,6 @@ RUN . /clone.sh k-diffusion https://github.com/crowsonkb/k-diffusion.git ab527a9
1212RUN . /clone.sh clip-interrogator https://github.com/pharmapsychotic/clip-interrogator 2cf03aaf6e704197fd0dae7c7f96aa59cf1b11c9
1313RUN . /clone.sh generative-models https://github.com/Stability-AI/generative-models 45c443b316737a4ab6e40413d7794a7f5657c19f
1414RUN . /clone.sh stable-diffusion-webui-assets https://github.com/AUTOMATIC1111/stable-diffusion-webui-assets 6f7db241d2f8ba7457bac5ca9753331f0c266917
15- RUN . /clone.sh openai https://huggingface.co/openai/clip-vit-large-patch14 32bd64288804d66eefd0ccbe215aa642df71cc41
1615
1716
1817FROM pytorch/pytorch:2.3.0-cuda12.1-cudnn8-runtime
@@ -32,6 +31,14 @@ RUN --mount=type=cache,target=/root/.cache/pip \
3231 git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui.git && \
3332 cd stable-diffusion-webui && \
3433 git reset --hard v1.9.4 && \
34+ mkdir -p openai && \
35+ cd openai && \
36+ git init && \
37+ git remote add origin https://huggingface.co/openai/clip-vit-large-patch14 && \
38+ git fetch origin 32bd64288804d66eefd0ccbe215aa642df71cc41 --depth=1 && \
39+ git reset --hard 32bd64288804d66eefd0ccbe215aa642df71cc41 && \
40+ rm -rf .git && \
41+ cd .. && \
3542 pip install -r requirements_versions.txt && \
3643 pip install --upgrade "typing_extensions>=4.6.0"
3744
You can’t perform that action at this time.
0 commit comments