Instructions to use lightx2v/Wan-NVFP4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use lightx2v/Wan-NVFP4 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("lightx2v/Wan-NVFP4", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Diffusion Single File
How to use lightx2v/Wan-NVFP4 with Diffusion Single File:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -103,7 +103,7 @@ python wan_t2v_nvfp4.py # Text-to-Video
|
|
| 103 |
|
| 104 |
| Wan2.1-T2V-1.3B | wan2.1_t2v_1_3b_nvfp4_lightx2v_4step |
|
| 105 |
| --- | --- |
|
| 106 |
-
| <video controls style="
|
| 107 |
|
| 108 |
## ⚡ Performance Comparison
|
| 109 |
|
|
|
|
| 103 |
|
| 104 |
| Wan2.1-T2V-1.3B | wan2.1_t2v_1_3b_nvfp4_lightx2v_4step |
|
| 105 |
| --- | --- |
|
| 106 |
+
| <video controls style="width: 260px; height: 180px; border-radius: 6px; object-fit: cover;" src="https://cdn-uploads.huggingface.co/production/uploads/680de13385293771bc57400b/dwr0pPbtIe2fHg0hmEM5M.mp4"></video> | <video controls style="width: 260px; height: 180px; border-radius: 6px; object-fit: cover;" src="https://cdn-uploads.huggingface.co/production/uploads/680de13385293771bc57400b/cm-S4EaZlCOShlXxOnJ-3.mp4"></video> |
|
| 107 |
|
| 108 |
## ⚡ Performance Comparison
|
| 109 |
|