Instructions to use Wan-AI/Wan2.2-T2V-A14B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Wan2.2
How to use Wan-AI/Wan2.2-T2V-A14B with Wan2.2:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Inference
- Notebooks
- Google Colab
- Kaggle
What is the lowest FlashAttn version necessary to run Wan2.2?
#8
by ajtakto - opened
I try to run in on Cuda 12.2 system, but currento version of FlashAttn does not compile as it requires Cuda 12.8.
On CUDA 12.2 (cu122), flash-attn==2.6.3 (and prebuilt 2.7.2.post1 wheels matching your PyTorch + Python + cxx11abi tag) build and run reliably — newer 2.7.4+ source builds expect CUDA 12.4–12.8 headers for SM90a/Blackwell kernels.
If flash-attn compilation is still painful in your CUDA 12.2 image, two drop-in alternatives run Wan 2.2 A14B cleanly with no host CUDA upgrade:
- PyTorch
2.4+built-inF.scaled_dot_product_attention(SDPA FlashAttention backend) works out of the box when bypassing the strictflash_attnimport guard. SageAttention(1.0.6) gives equal or faster INT8 attention speedups on Ampere/Ada GPUs under CUDA 12.2.