Commit 66021e10 authored by nanahira's avatar nanahira

fix

parent c4c17d38
Pipeline #40412 failed with stages
in 329 minutes and 17 seconds
......@@ -8,8 +8,6 @@ RUN apt update \
RUN useradd -ms /bin/bash sd
USER sd
RUN pip install --no-cache-dir torch==2.1.2 torchvision==0.16.2 --extra-index-url https://download.pytorch.org/whl/cu121
RUN mkdir /home/sd/stable-diffusion-webui
WORKDIR /home/sd/stable-diffusion-webui
......@@ -39,6 +37,8 @@ RUN set -eux && \
COPY --chown=sd ./requirements.txt ./requirements.txt
RUN pip install --no-cache-dir \
# torch
torch==2.1.2 torchvision==0.16.2 --extra-index-url https://download.pytorch.org/whl/cu121 \
# requirements for the project
-r requirements.txt \
# (optional) install requirements for CodeFormer (face restoration)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment