fix(photo-ai): retry and resume torch wheel downloads
This commit is contained in:
+2
-1
@@ -21,7 +21,8 @@ RUN --mount=type=cache,target=/root/.cache/pip,sharing=locked \
|
||||
pip install "typing-extensions==4.12.2" "numpy==2.2.6"
|
||||
|
||||
RUN --mount=type=cache,target=/root/.cache/pip,sharing=locked \
|
||||
pip install torch torchvision --index-url ${TORCH_INDEX}
|
||||
pip install --timeout 120 --retries 15 --resume-retries 50 \
|
||||
torch torchvision --index-url ${TORCH_INDEX}
|
||||
|
||||
RUN --mount=type=cache,target=/root/.cache/pip,sharing=locked \
|
||||
pip install --upgrade setuptools wheel && \
|
||||
|
||||
Reference in New Issue
Block a user