Instructions to use Efficient-Large-Model/Sana_1600M_4Kpx_BF16_diffusers with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Sana
How to use Efficient-Large-Model/Sana_1600M_4Kpx_BF16_diffusers 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_1600M_4Kpx_BF16_diffusers") 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
Add license
#1
by nielsr HF Staff - opened
README.md
CHANGED
|
@@ -11,7 +11,9 @@ language:
|
|
| 11 |
base_model:
|
| 12 |
- Efficient-Large-Model/Sana_1600M_4Kpx_BF16_diffusers
|
| 13 |
pipeline_tag: text-to-image
|
|
|
|
| 14 |
---
|
|
|
|
| 15 |
<p align="center" style="border-radius: 10px">
|
| 16 |
<img src="https://raw.githubusercontent.com/NVlabs/Sana/refs/heads/main/asset/logo.png" width="35%" alt="logo"/>
|
| 17 |
</p>
|
|
|
|
| 11 |
base_model:
|
| 12 |
- Efficient-Large-Model/Sana_1600M_4Kpx_BF16_diffusers
|
| 13 |
pipeline_tag: text-to-image
|
| 14 |
+
license: other
|
| 15 |
---
|
| 16 |
+
|
| 17 |
<p align="center" style="border-radius: 10px">
|
| 18 |
<img src="https://raw.githubusercontent.com/NVlabs/Sana/refs/heads/main/asset/logo.png" width="35%" alt="logo"/>
|
| 19 |
</p>
|