github-actions[bot] commited on
Commit
1d5fce8
·
1 Parent(s): 4de9928

Automated Deploy: 4cc41e4e52d84092ca13bad402c666f0dd356dc6

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -3
Dockerfile CHANGED
@@ -19,9 +19,12 @@ RUN git clone https://github.com/MeiGen-AI/InfiniteTalk /opt/infinitetalk \
19
  && python -m venv /opt/infinitetalk/venv \
20
  && /opt/infinitetalk/venv/bin/pip install torch==2.4.1 torchvision==0.19.1 torchaudio==2.4.1 xformers==0.0.28 \
21
  --index-url https://download.pytorch.org/whl/cu121 \
22
- && /opt/infinitetalk/venv/bin/pip install -r /opt/infinitetalk/requirements.txt librosa soundfile "misaki[en]" \
23
- # Its requirements are unpinned; current diffusers/transformers refuse torch 2.4.
24
- diffusers==0.34.0 transformers==4.52.4 \
 
 
 
25
  && chown -R mod:mod /opt/infinitetalk
26
 
27
  # BE: FastAPI routes, background GPU worker and model configuration.
 
19
  && python -m venv /opt/infinitetalk/venv \
20
  && /opt/infinitetalk/venv/bin/pip install torch==2.4.1 torchvision==0.19.1 torchaudio==2.4.1 xformers==0.0.28 \
21
  --index-url https://download.pytorch.org/whl/cu121 \
22
+ # Its requirements are unpinned and today's releases need a newer torch, so resolve
23
+ # everything as of the model's release date.
24
+ && pip install uv==0.8.13 \
25
+ && uv pip install --python /opt/infinitetalk/venv/bin/python --exclude-newer 2025-09-01 \
26
+ -r /opt/infinitetalk/requirements.txt librosa soundfile "misaki[en]" diffusers==0.34.0 transformers==4.52.4 \
27
+ && /opt/infinitetalk/venv/bin/python -c "import sys; sys.path.insert(0, '/opt/infinitetalk'); import wan" \
28
  && chown -R mod:mod /opt/infinitetalk
29
 
30
  # BE: FastAPI routes, background GPU worker and model configuration.