Instructions to use Efficient-Large-Model/SANA-WM_bidirectional with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Efficient-Large-Model/SANA-WM_bidirectional with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline from diffusers.utils import load_image, export_to_video # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Efficient-Large-Model/SANA-WM_bidirectional", dtype=torch.bfloat16, device_map="cuda") pipe.to("cuda") prompt = "A man with short gray hair plays a red electric guitar." image = load_image( "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/guitar-man.png" ) output = pipe(image=image, prompt=prompt).frames[0] export_to_video(output, "output.mp4") - Notebooks
- Google Colab
- Kaggle
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -17,11 +17,11 @@ for high-fidelity decoding.
|
|
| 17 |
Paper: <https://arxiv.org/abs/2605.15178>
|
| 18 |
|
| 19 |
```bibtex
|
| 20 |
-
@article{
|
| 21 |
-
title
|
| 22 |
-
author
|
| 23 |
journal = {arXiv preprint arXiv:2605.15178},
|
| 24 |
-
year
|
| 25 |
}
|
| 26 |
```
|
| 27 |
|
|
|
|
| 17 |
Paper: <https://arxiv.org/abs/2605.15178>
|
| 18 |
|
| 19 |
```bibtex
|
| 20 |
+
@article{zhu2026sanawm,
|
| 21 |
+
title = {{SANA-WM}: Efficient Minute-Scale World Modeling with Hybrid Linear Diffusion Transformer},
|
| 22 |
+
author = {Zhu, Haoyi and Liu, Haozhe and Zhao, Yuyang and Ye, Tian and Chen, Junsong and Yu, Jincheng and He, Tong and Han, Song and Xie, Enze},
|
| 23 |
journal = {arXiv preprint arXiv:2605.15178},
|
| 24 |
+
year = {2026},
|
| 25 |
}
|
| 26 |
```
|
| 27 |
|