Spaces:
Paused
Paused
Commit ·
1b2c013
1
Parent(s): 2c40a1b
Fix: add diffusers, transformers, accelerate, tokenizers to explicit pip install
Browse files- Dockerfile +3 -2
Dockerfile
CHANGED
|
@@ -31,9 +31,10 @@ RUN pip install --no-cache-dir torch torchvision torchaudio --index-url https://
|
|
| 31 |
# All deps (flash_attn may fail, that's ok)
|
| 32 |
RUN cd /app/Wan2.2 && (pip install --no-cache-dir -r requirements.txt 2>/dev/null; exit 0)
|
| 33 |
RUN pip install --no-cache-dir \
|
| 34 |
-
opencv-python easydict decord einops ftfy "numpy>=1.23.5,<2" \
|
|
|
|
| 35 |
tqdm "imageio[ffmpeg]" imageio-ffmpeg sentencepiece \
|
| 36 |
-
protobuf soundfile librosa
|
| 37 |
|
| 38 |
# Apply patches
|
| 39 |
RUN python3 /tmp/patch_wan_init.py
|
|
|
|
| 31 |
# All deps (flash_attn may fail, that's ok)
|
| 32 |
RUN cd /app/Wan2.2 && (pip install --no-cache-dir -r requirements.txt 2>/dev/null; exit 0)
|
| 33 |
RUN pip install --no-cache-dir \
|
| 34 |
+
diffusers opencv-python easydict decord einops ftfy "numpy>=1.23.5,<2" \
|
| 35 |
+
transformers accelerate tokenizers peft \
|
| 36 |
tqdm "imageio[ffmpeg]" imageio-ffmpeg sentencepiece \
|
| 37 |
+
protobuf soundfile librosa dashscope
|
| 38 |
|
| 39 |
# Apply patches
|
| 40 |
RUN python3 /tmp/patch_wan_init.py
|