Instructions to use arraypress/imagine-sana-sprint-1.6b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Sana
How to use arraypress/imagine-sana-sprint-1.6b 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://arraypress/imagine-sana-sprint-1.6b") 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
File size: 135 Bytes
83e5393 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:481f626f9acbb3dbfa26fe57a05e7fcc88ee1376a26765dd51746584cbd296be
size 5230483295
|