Reading the repo
Opening the box…
Reading the repo
Opening the box…
How to install on macOS
Wan: Open and Advanced Large-Scale Video Generative Models
GitHub didn't answer, so this is the saved copy from 1 days ago
Will it work on macOS?
INSTALL.mdpip install .
pip install .[dev] # Installe aussi les outils de dev
Ensure you have Poetry installed on your system.
To install all dependencies:
poetry install
flash-attn Installation IssuesIf flash-attn fails due to PEP 517 build issues, you can try one of the following fixes.
poetry run pip install --upgrade pip setuptools wheel
poetry run pip install flash-attn --no-build-isolation
poetry install
poetry run pip install git+https://github.com/Dao-AILab/flash-attention.git
Once the installation is complete, you can run Wan2.2 using:
poetry run python generate.py --task t2v-A14B --size '1280*720' --ckpt_dir ./Wan2.2-T2V-A14B --prompt "Two anthropomorphic cats in comfy boxing gear and bright gloves fight intensely on a spotlighted stage."
bash tests/test.sh
black .
isort .
Then run bash setup.sh. It stops at the first error and is safe to run again. Servers and tests aren't started; it lists them at the end. Read it first.
Needs Git: xcode-select --install
git clone https://github.com/Wan-Video/Wan2.2.git cd Wan2.2
Python >=3.10,<4.0
brew install python@3.10
python -m venv .venv source .venv/bin/activate pip install -r requirements.txt
pytest
Clone the repo:
git clone https://github.com/Wan-Video/Wan2.2.git
cd Wan2.2
Install dependencies:
# Ensure torch >= 2.4.0
# If the installation of `flash_attn` fails, try installing the other packages first and install `flash_attn` last
pip install -r requirements.txt
# If you want to use CosyVoice to synthesize speech for Speech-to-Video Generation, please install requirements_s2v.txt additionally
pip install -r requirements_s2v.txt
No reports for macOS yet.
GitManual AI Agent reads the 5 key files and writes a step-by-step guide for macOS. Once written, it's saved for everyone.