Instructions to use Efficient-Large-Model/Sana_600M_1024px with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Sana
How to use Efficient-Large-Model/Sana_600M_1024px with Sana:
# Load the model and infer image from text import torch from app.sana_pipeline import SanaPipeline from torchvision.utils import save_image sana = SanaPipeline("configs/sana_config/1024ms/Sana_1600M_img1024.yaml") sana.from_pretrained("hf://Efficient-Large-Model/Sana_600M_1024px") image = sana( prompt='a cyberpunk cat with a neon sign that says "Sana"', height=1024, width=1024, guidance_scale=5.0, pag_guidance_scale=2.0, num_inference_steps=18, ) - Notebooks
- Google Colab
- Kaggle
Improve model card
#1
by nielsr HF Staff - opened
README.md
CHANGED
|
@@ -10,6 +10,7 @@ language:
|
|
| 10 |
base_model:
|
| 11 |
- Efficient-Large-Model/Sana_600M_1024px
|
| 12 |
pipeline_tag: text-to-image
|
|
|
|
| 13 |
---
|
| 14 |
|
| 15 |
<p align="center" style="border-radius: 10px">
|
|
@@ -21,7 +22,7 @@ pipeline_tag: text-to-image
|
|
| 21 |
<a href="https://github.com/NVlabs/Sana"><img src="https://img.shields.io/static/v1?label=Code&message=Github&color=blue&logo=github"></a>  
|
| 22 |
<a href="https://nvlabs.github.io/Sana/"><img src="https://img.shields.io/static/v1?label=Project&message=Github&color=blue&logo=github-pages"></a>  
|
| 23 |
<a href="https://hanlab.mit.edu/projects/sana/"><img src="https://img.shields.io/static/v1?label=Page&message=MIT&color=darkred&logo=github-pages"></a>  
|
| 24 |
-
|
| 25 |
<a href="https://nv-sana.mit.edu/"><img src="https://img.shields.io/static/v1?label=Demo&message=MIT&color=yellow"></a>  
|
| 26 |
<a href="https://discord.gg/rde6eaE5Ta"><img src="https://img.shields.io/static/v1?label=Discuss&message=Discord&color=purple&logo=discord"></a>  
|
| 27 |
</div>
|
|
|
|
| 10 |
base_model:
|
| 11 |
- Efficient-Large-Model/Sana_600M_1024px
|
| 12 |
pipeline_tag: text-to-image
|
| 13 |
+
license: other
|
| 14 |
---
|
| 15 |
|
| 16 |
<p align="center" style="border-radius: 10px">
|
|
|
|
| 22 |
<a href="https://github.com/NVlabs/Sana"><img src="https://img.shields.io/static/v1?label=Code&message=Github&color=blue&logo=github"></a>  
|
| 23 |
<a href="https://nvlabs.github.io/Sana/"><img src="https://img.shields.io/static/v1?label=Project&message=Github&color=blue&logo=github-pages"></a>  
|
| 24 |
<a href="https://hanlab.mit.edu/projects/sana/"><img src="https://img.shields.io/static/v1?label=Page&message=MIT&color=darkred&logo=github-pages"></a>  
|
| 25 |
+
<a href="https://huggingface.co/papers/2410.10629"><img src="https://img.shields.io/static/v1?label=Arxiv&message=Sana&color=red&logo=arxiv"></a>  
|
| 26 |
<a href="https://nv-sana.mit.edu/"><img src="https://img.shields.io/static/v1?label=Demo&message=MIT&color=yellow"></a>  
|
| 27 |
<a href="https://discord.gg/rde6eaE5Ta"><img src="https://img.shields.io/static/v1?label=Discuss&message=Discord&color=purple&logo=discord"></a>  
|
| 28 |
</div>
|