github-actions[bot] commited on
Commit
b370760
·
1 Parent(s): a6dd9c3

Automated Deploy: 9917fe37cc68b1851ead62001f706f7931411f0b

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -1
Dockerfile CHANGED
@@ -24,7 +24,10 @@ RUN cd /opt/SadTalker && bash scripts/download_models.sh \
24
 
25
  COPY backend/requirements.txt backend/requirements.txt
26
  COPY backend/model_services/requirements-lightweight.txt backend/model_services/requirements-lightweight.txt
27
- RUN pip install --no-cache-dir torch==2.6.0 --index-url https://download.pytorch.org/whl/cpu \
 
 
 
28
  && pip install --no-cache-dir -r backend/requirements.txt -r backend/model_services/requirements-lightweight.txt
29
  RUN useradd -m -u 1000 studio
30
  COPY --chown=studio:studio backend backend
 
24
 
25
  COPY backend/requirements.txt backend/requirements.txt
26
  COPY backend/model_services/requirements-lightweight.txt backend/model_services/requirements-lightweight.txt
27
+ # --extra-index-url, not --index-url: the latter replaces PyPI, so a sdist
28
+ # fallback cannot resolve its own build backend. The +cpu pin is what keeps
29
+ # this off PyPI's CUDA build now that PyPI is reachable again.
30
+ RUN pip install --no-cache-dir torch==2.6.0+cpu --extra-index-url https://download.pytorch.org/whl/cpu \
31
  && pip install --no-cache-dir -r backend/requirements.txt -r backend/model_services/requirements-lightweight.txt
32
  RUN useradd -m -u 1000 studio
33
  COPY --chown=studio:studio backend backend