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
Update README.md
Browse files
README.md
CHANGED
|
@@ -196,6 +196,11 @@ output = pipe(
|
|
| 196 |
export_to_video(output, "t2v_out.mp4", fps=16)
|
| 197 |
```
|
| 198 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 199 |
|
| 200 |
## Computational Efficiency on Different GPUs
|
| 201 |
|
|
|
|
| 196 |
export_to_video(output, "t2v_out.mp4", fps=16)
|
| 197 |
```
|
| 198 |
|
| 199 |
+
> 💡**Note**:This model requires features that are currently available only in the main branch of diffusers. The latest stable release on PyPI does not yet include these updates.
|
| 200 |
+
> To use this model, please install the library from source:
|
| 201 |
+
> ```
|
| 202 |
+
> pip install git+https://github.com/huggingface/diffusers
|
| 203 |
+
> ```
|
| 204 |
|
| 205 |
## Computational Efficiency on Different GPUs
|
| 206 |
|