Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,111 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: other
|
| 3 |
+
license_name: nvidia-open-model-license
|
| 4 |
+
license_link: >-
|
| 5 |
+
https://www.nvidia.com/en-us/agreements/enterprise-software/nvidia-open-model-license/
|
| 6 |
+
library_name: sana, sana-video
|
| 7 |
+
tags:
|
| 8 |
+
- text-to-video
|
| 9 |
+
- SANA-Video
|
| 10 |
+
- 720p_5s_pretrained_model
|
| 11 |
+
- BF16
|
| 12 |
+
- diffusion
|
| 13 |
+
language:
|
| 14 |
+
- en
|
| 15 |
+
- zh
|
| 16 |
+
base_model:
|
| 17 |
+
- Efficient-Large-Model/SANA-Video_2B_720p_diffusers
|
| 18 |
+
pipeline_tag: text-to-video
|
| 19 |
+
---
|
| 20 |
+
<p align="center" style="border-radius: 10px">
|
| 21 |
+
<img src="https://cdn-uploads.huggingface.co/production/uploads/645b5b09bc7518912e1f9733/N0VlE-y1pau-4O1RlijQd.png" width="98%" alt="logo"/>
|
| 22 |
+
</p>
|
| 23 |
+
|
| 24 |
+
<div style="display:flex;justify-content: center">
|
| 25 |
+
<a href="https://hf.co/collections/Efficient-Large-Model/sana-video"><img src="https://img.shields.io/static/v1?label=Weights&message=Huggingface&color=yellow"></a>  
|
| 26 |
+
<a href="https://github.com/NVlabs/Sana"><img src="https://img.shields.io/static/v1?label=Code&message=Github&color=blue&logo=github"></a>  
|
| 27 |
+
<a href="https://nvlabs.github.io/Sana/Video/"><img src="https://img.shields.io/static/v1?label=Project&message=Github&color=blue&logo=github-pages"></a>  
|
| 28 |
+
<a href="https://arxiv.org/pdf/2509.24695"><img src="https://img.shields.io/static/v1?label=Arxiv&message=SANA-Video&color=red&logo=arxiv"></a>  
|
| 29 |
+
</div>
|
| 30 |
+
|
| 31 |
+
|
| 32 |
+
# 🐱 SANA-Video Model Card
|
| 33 |
+
|
| 34 |
+
<!-- <div align="center">
|
| 35 |
+
<a href="https://www.youtube.com/watch?v=nI_Ohgf8eOU" target="_blank">
|
| 36 |
+
<img src="https://img.youtube.com/vi/nI_Ohgf8eOU/0.jpg" alt="Demo Video of SANA-Video" style="width: 48%; display: block; margin: 0 auto; display: inline-block;">
|
| 37 |
+
</a>
|
| 38 |
+
<a href="https://www.youtube.com/watch?v=OOZzkirgsAc" target="_blank">
|
| 39 |
+
<img src="https://img.youtube.com/vi/OOZzkirgsAc/0.jpg" alt="Demo Video of SANA-Video" style="width: 48%; display: block; margin: 0 auto; display: inline-block;">
|
| 40 |
+
</a>
|
| 41 |
+
</div> -->
|
| 42 |
+
|
| 43 |
+
|
| 44 |
+
SANA-Video is a small, ultra-efficient diffusion model designed for rapid generation of high-quality, minute-long videos at resolutions up to 720×1280.
|
| 45 |
+
|
| 46 |
+
Key innovations and efficiency drivers include:
|
| 47 |
+
|
| 48 |
+
(1) **Linear DiT**: Leverages linear attention as the core operation, offering significantly more efficiency than vanilla attention when processing the massive number of tokens required for video generation.
|
| 49 |
+
|
| 50 |
+
(2) **Constant-Memory KV Cache for Block Linear Attention**: Implements a block-wise autoregressive approach that uses the cumulative properties of linear attention to maintain global context at a fixed memory cost, eliminating the traditional KV cache bottleneck and enabling efficient, minute-long video synthesis.
|
| 51 |
+
|
| 52 |
+
SANA-Video achieves exceptional efficiency and cost savings: its training cost is only **1%** of MovieGen's (**12 days on 64 H100 GPUs**). Compared to modern state-of-the-art small diffusion models (e.g., Wan 2.1 and SkyReel-V2), SANA-Video maintains competitive performance while being **16×** faster in measured latency.
|
| 53 |
+
SANA-Video is deployable on RTX 5090 GPUs, accelerating the inference speed for a 5-second 720p video from 71s down to 29s (2.4× speedup), setting a new standard for low-cost, high-quality video generation.
|
| 54 |
+
|
| 55 |
+
Source code is available at https://github.com/NVlabs/Sana.
|
| 56 |
+
|
| 57 |
+
# 🐱 How to Inference
|
| 58 |
+
|
| 59 |
+
Refer to: https://github.com/NVlabs/Sana/blob/main/asset/docs/sana_video.md#1-inference-with-txt-file
|
| 60 |
+
|
| 61 |
+
### Model Description
|
| 62 |
+
|
| 63 |
+
- **Developed by:** NVIDIA, Sana
|
| 64 |
+
- **Model type:** Efficient Video Generation with Block Linear Diffusion Transformer
|
| 65 |
+
- **Model size:** 2B parameters
|
| 66 |
+
- **Model precision:** torch.bfloat16 (BF16)
|
| 67 |
+
- **Model resolution:** This model is developed to generate 720p resolution 81(5s) frames videos with multi-scale heigh and width.
|
| 68 |
+
- **Model Description:** This is a model that can be used to generate and modify videos based on text prompts.
|
| 69 |
+
It is a Linear Diffusion Transformer that uses LTX2-vae one 32x32x8 spatial-temporal-compressed latent feature encoder ([LTX2](https://github.com/Lightricks/LTX-2)).
|
| 70 |
+
- **Resources for more information:** Check out our [GitHub Repository](https://github.com/NVlabs/Sana) and the [SANA-Video report on arXiv](https://arxiv.org/pdf/2509.24695).
|
| 71 |
+
|
| 72 |
+
### Model Sources
|
| 73 |
+
|
| 74 |
+
For research purposes, we recommend our `generative-models` Github repository (https://github.com/NVlabs/Sana), which is more suitable for both training and inference
|
| 75 |
+
- **Repository:** https://github.com/NVlabs/Sana
|
| 76 |
+
- **Guidance:** https://github.com/NVlabs/Sana/asset/docs/sana_video.md
|
| 77 |
+
|
| 78 |
+
## License/Terms of Use
|
| 79 |
+
|
| 80 |
+
GOVERNING TERMS: This trial service is governed by the [NVIDIA API Trial Terms of Service](https://assets.ngc.nvidia.com/products/api-catalog/legal/NVIDIA%20API%20Trial%20Terms%20of%20Service.pdf). Use of this model is governed by the [NVIDIA Open Model License Agreement](https://www.nvidia.com/en-us/agreements/enterprise-software/nvidia-open-model-license/).
|
| 81 |
+
|
| 82 |
+
## Uses
|
| 83 |
+
|
| 84 |
+
### Direct Use
|
| 85 |
+
|
| 86 |
+
The model is intended for research purposes only. Possible research areas and tasks include
|
| 87 |
+
|
| 88 |
+
- Generation of artworks and use in design and other artistic processes.
|
| 89 |
+
- Applications in educational or creative tools.
|
| 90 |
+
- Research on generative models.
|
| 91 |
+
- Safe deployment of models which have the potential to generate harmful content.
|
| 92 |
+
|
| 93 |
+
- Probing and understanding the limitations and biases of generative models.
|
| 94 |
+
|
| 95 |
+
Excluded uses are described below.
|
| 96 |
+
|
| 97 |
+
### Out-of-Scope Use
|
| 98 |
+
|
| 99 |
+
The model was not trained to be factual or true representations of people or events, and therefore using the model to generate such content is out-of-scope for the abilities of this model.
|
| 100 |
+
|
| 101 |
+
## Limitations and Bias
|
| 102 |
+
|
| 103 |
+
### Limitations
|
| 104 |
+
|
| 105 |
+
- The model does not achieve perfect photorealism
|
| 106 |
+
- The model cannot render complex legible text
|
| 107 |
+
- fingers, .etc in general may not be generated properly.
|
| 108 |
+
- The autoencoding part of the model is lossy.
|
| 109 |
+
|
| 110 |
+
### Bias
|
| 111 |
+
While the capabilities of video generation models are impressive, they can also reinforce or exacerbate social biases.
|