Instructions to use Wan-AI/Wan2.1-FLF2V-14B-720P with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Wan-AI/Wan2.1-FLF2V-14B-720P 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.1-FLF2V-14B-720P", 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
Do you need to download all the models?
#6
by waveydaveygravy - opened
There are 100gb of models
I have the same question.
Download all 7 files (00001-of-00007 to 00007-of-00007).
Place them in the same directory.
Load the model using the appropriate framework (e.g., Hugging Face's transformers or diffusers library), which will automatically combine the parts.