Text-to-Image
Sana
Diffusers
Safetensors
English
Chinese
Sana
1024px_based_image_size
Multi-language
Instructions to use Efficient-Large-Model/Sana_1600M_1024px_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_1024px_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_1024px_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
Upload files with `sana-upload`.
Browse filesUpload transformer/diffusion_pytorch_model-00001-of-00002.safetensors
Upload transformer/diffusion_pytorch_model-00002-of-00002.safetensors
transformer/diffusion_pytorch_model-00001-of-00002.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 4999769624
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b0b50c33be8758713459aa3c760feef6315d4bea31521fb5b8c3e8fdd9841ffe
|
| 3 |
size 4999769624
|
transformer/diffusion_pytorch_model-00002-of-00002.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 1418127024
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:13552340062c811235572f35d69e7ddb63baf35f7c0e3e1590bc5198c3a8f678
|
| 3 |
size 1418127024
|