Instructions to use ApacheOne/Wan2.2-Animate-2-14B-OrbitQuant-W4A4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use ApacheOne/Wan2.2-Animate-2-14B-OrbitQuant-W4A4 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline from diffusers.utils import load_image, export_to_video # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("ApacheOne/Wan2.2-Animate-2-14B-OrbitQuant-W4A4", dtype=torch.bfloat16, device_map="cuda") pipe.to("cuda") prompt = "A man with short gray hair plays a red electric guitar." image = load_image( "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/guitar-man.png" ) output = pipe(image=image, prompt=prompt).frames[0] export_to_video(output, "output.mp4") - Notebooks
- Google Colab
- Kaggle
| { | |
| "Wan-Video/Wan-Animate-2": { | |
| "commit": "3ad2fef7d61d6200c9c653e0fe47be7616b323f3", | |
| "url": "https://github.com/Wan-Video/Wan-Animate-2.git", | |
| "role": "official Animate-2 model, raw-video pipeline, KV-cache and flex-attention semantics" | |
| }, | |
| "NVlabs/Sana": { | |
| "branch": "sol-engine", | |
| "commit": "5dd502af9938d924be206c332ad1e911b4a925a1", | |
| "url": "https://github.com/NVlabs/Sana.git", | |
| "role": "Sol-Attn sparse dense-reference self-attention backend" | |
| }, | |
| "chengzeyi/ParaAttention": { | |
| "commit": "4de137c5b96416489f06e43e19f2c14a772e28fd", | |
| "url": "https://github.com/chengzeyi/ParaAttention.git", | |
| "role": "multi-GPU Ulysses context-parallel communication primitives" | |
| } | |
| } | |