Instructions to use Wan-AI/Wan2.2-T2V-A14B-Diffusers with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Wan-AI/Wan2.2-T2V-A14B-Diffusers with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Wan-AI/Wan2.2-T2V-A14B-Diffusers", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
16fps or 24 fps on A14B?
#6
by alfredplpl - opened
According to the example code, the fps is 16 on A14B.
export_to_video(output, "t2v_out.mp4", fps=16)
But, there is no description on the document.
According to the document, the fps is 24 on 5B.
Which?
As far as I know, the optimal frame counts are:
A16B = 81 frames (16fps for 5s)
5B = 121 frames (24 fps for 5s)
Thanks, Kijai.
I think so, too.
alfredplpl changed discussion status to closed