Instructions to use fal/Wan2.2-VACE-Fun-A14B-FlashPack with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use fal/Wan2.2-VACE-Fun-A14B-FlashPack with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("fal/Wan2.2-VACE-Fun-A14B-FlashPack", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
| { | |
| "_class_name": "WanModel", | |
| "_diffusers_version": "0.35.1", | |
| "_name_or_path": "/home/benjamin/.cache/huggingface/hub/models--alibaba-pai--Wan2.2-VACE-Fun-A14B/snapshots/36c3358dc76eee9c7014d77f6888be671dbe1a2c/low_noise_model", | |
| "cross_attn_norm": true, | |
| "dim": 5120, | |
| "eps": 1e-06, | |
| "ffn_dim": 13824, | |
| "freq_dim": 256, | |
| "in_dim": 16, | |
| "init_weights": false, | |
| "model_type": "vace", | |
| "num_heads": 40, | |
| "num_layers": 40, | |
| "out_dim": 16, | |
| "patch_size": [ | |
| 1, | |
| 2, | |
| 2 | |
| ], | |
| "qk_norm": true, | |
| "separated_timestep": false, | |
| "text_dim": 4096, | |
| "text_len": 512, | |
| "vace_in_dim": 96, | |
| "vace_layers": [ | |
| 0, | |
| 5, | |
| 10, | |
| 15, | |
| 20, | |
| 25, | |
| 30, | |
| 35 | |
| ], | |
| "window_size": [ | |
| -1, | |
| -1 | |
| ] | |
| } | |