Instructions to use Efficient-Large-Model/Sana_600M_1024px_diffusers 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_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_600M_1024px_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
Remove self-referencing base_model from model card metadata
The base_model field in the model card metadata points to this repository itself. The Hub cannot build a model tree from a self-referencing base model, and the model tree widget currently shows: "Unable to build the model tree, the base model loops to the model itself."
Because of this, the finetunes, adapters and quantizations made from this checkpoint are not shown in a tree rooted here, which makes them hard to discover.
This PR removes the base_model entry. For a model that is not derived from another Hub repository, the field should be omitted (see https://huggingface.co/docs/hub/model-cards#specifying-a-base-model). Nothing else in the card changes.
The same self-reference appears in many other repositories under this organization (for example Sana_600M_512px_diffusers, Sana_1600M_1024px_diffusers, SANA1.5_1.6B_1024px_diffusers), and they would need the same fix.