Text-to-Video
Diffusers
English
Chinese
WanPipeline
wan
wan2.1
video-generation
quantized
nf4
4-bit precision
Instructions to use wavespeed/Wan2.1-T2V-14B-Diffusers-fp16-nf4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use wavespeed/Wan2.1-T2V-14B-Diffusers-fp16-nf4 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("wavespeed/Wan2.1-T2V-14B-Diffusers-fp16-nf4", 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
Download tokenizer/tokenizer.json from wavespeed/Wan2.1-T2V-14B-Diffusers-fp16-nf4: direct link, hf CLI and curl.
- Browser
- Download file 16.8 MB
-
https://huggingface.co/wavespeed/Wan2.1-T2V-14B-Diffusers-fp16-nf4/resolve/main/tokenizer/tokenizer.json
- Command line
-
hf download hf://wavespeed/Wan2.1-T2V-14B-Diffusers-fp16-nf4/tokenizer/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/wavespeed/Wan2.1-T2V-14B-Diffusers-fp16-nf4/resolve/main/tokenizer/tokenizer.json
16.8 MB
- Xet hash:
- 49e18c6e461254ed002e698e5d8be3557e3e3f69733f6eb9b410370981d7b82a
- Size of remote file:
- 16.8 MB
- SHA256:
- 20a46ac256746594ed7e1e3ef733b83fbc5a6f0922aa7480eda961743de080ef
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.