Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

Efficient-Large-Model
/
Sana_1600M_1024px_diffusers

Text-to-Image
Sana
Diffusers
Safetensors
English
Chinese
Sana
1024px_based_image_size
Multi-language
Model card Files Files and versions
xet
Community
3

Instructions to use Efficient-Large-Model/Sana_1600M_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_1600M_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_1600M_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
Sana_1600M_1024px_diffusers
25.8 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 6 commits
Lawrence-cj's picture
Lawrence-cj
Create README.md
4868baf verified over 1 year ago
  • scheduler
    Upload files with `sana-upload`. over 1 year ago
  • text_encoder
    Upload files with `sana-upload`. over 1 year ago
  • tokenizer
    Upload files with `sana-upload`. over 1 year ago
  • transformer
    Upload files with `sana-upload`. over 1 year ago
  • vae
    Upload files with `sana-upload`. over 1 year ago
  • .gitattributes
    1.58 kB
    Upload files with `sana-upload`. over 1 year ago
  • README.md
    6.62 kB
    Create README.md over 1 year ago
  • model_index.json
    401 Bytes
    Upload files with `sana-upload`. over 1 year ago