Video-agent / requirements.txt
Ani14's picture
Update requirements.txt
1cd0259 verified
# Requirements for running the WAN‑VACE Gradio application on Hugging Face Spaces
# Core inference libraries
torch==2.4.* # PyTorch CPU build; GPU is not available in most Spaces
transformers>=4.42.0
# The WAN‐VACE models rely on custom classes like AutoencoderKLWan and
# WanVACETransformer3DModel which are not yet part of an official
# released version of diffusers. Installing from the GitHub repository
# ensures these classes are available. You can pin to a specific commit
# or branch as needed; here we use the latest main branch.
diffusers @ git+https://github.com/huggingface/diffusers.git
accelerate>=0.31.0
safetensors>=0.4.0
huggingface_hub>=0.21.0
# Application and interface libraries
gradio>=4.0.0
opencv-python-headless>=4.8.0
numpy<2 # NumPy 2.x is incompatible with some compiled torch/diffusers wheels
Pillow>=10.0.0
gguf>=0.10.0
# The following line pins the Torch CPU wheel source for Linux systems.
# It is optional but recommended to avoid downloading GPU wheels on CPU-only hardware.
-f https://download.pytorch.org/whl/cpu