Instructions to use Efficient-Large-Model/Sana_600M_512px with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Sana
How to use Efficient-Large-Model/Sana_600M_512px 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_512px") 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
Make clear if it is free software or not, on Github it says Apache 2.0
#1
by JLouisBiz - opened
Github it says:
https://github.com/NVlabs/Sana/blob/main/LICENSE that it is Apache 2.0 which makes it free software.
Nvidia license is not free software.
Please update the license that we know if it is truly free software to categorize it correctly.
What is Free Software? - GNU Project - Free Software Foundation:
https://www.gnu.org/philosophy/free-sw.html
The Open Source Definition β Open Source Initiative:
https://opensource.org/osd