Instructions to use Efficient-Large-Model/Sana_1600M_1024px with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Sana
How to use Efficient-Large-Model/Sana_1600M_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_1600M_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, ) - Inference
- Notebooks
- Google Colab
- Kaggle
Upload files with `sana-upload`.
Browse filesUpload checkpoints/Sana_1600M_1024px.pth
checkpoints/Sana_1600M_1024px.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bce11f0fdaa849bf442e33b451503244907dd7dba72a3e6b37c14da78aba32de
|
| 3 |
+
size 6429904904
|