Skip to content

Commit f9c729e

Browse files
authored
Update Dockerfile
1 parent 16d1107 commit f9c729e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ WORKDIR /app/lora-scripts
1717
# pip config set install.trusted-host 'pypi.tuna.tsinghua.edu.cn'
1818

1919
# 初次安装依赖
20-
RUN pip install -r requirements.txt && pip install --force-reinstall xformers==v0.0.28.post1 torch==2.4.1+cu21 torchvision==0.19.1 torchaudio==2.4.1+cu21 --index-url https://download.pytorch.org/whl/cu121 && rm -rf ~/.cache/pip/*
20+
RUN pip install -r requirements.txt && pip install --force-reinstall xformers==v0.0.28.post1 torch==2.4.1+cu121 torchvision==0.19.1 torchaudio==2.4.1+cu121 --index-url https://download.pytorch.org/whl/cu121 && pip install -U 'protobuf<5,>=3.20' --no-deps && rm -rf ~/.cache/pip/*
2121

2222
# 更新 训练程序 stable 版本依赖
2323
RUN rm -rf /app/lora-scripts/scripts/stable && git clone --recurse-submodules https://github.com/kohya-ss/sd-scripts.git stable

0 commit comments

Comments
 (0)