From 9f528ba98eac55f418aa3662852dadbfd1cea919 Mon Sep 17 00:00:00 2001 From: dev Date: Thu, 22 Oct 2026 23:31:12 +0300 Subject: [PATCH] fix(photo-ai): retry and resume torch wheel downloads --- photo-ai/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/photo-ai/Dockerfile b/photo-ai/Dockerfile index aef3a4c..2680577 100644 --- a/photo-ai/Dockerfile +++ b/photo-ai/Dockerfile @@ -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 && \