Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

Efficient-Large-Model
/
Sana_1600M_1024px

Text-to-Image
Sana
English
Chinese
Sana
1024px_based_image_size
Model card Files Files and versions
xet
Community
5

Instructions to use Efficient-Large-Model/Sana_1600M_1024px 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 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")
    
    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,
    ) 
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
New discussion
Resources
  • PR & discussions documentation
  • Code of Conduct
  • Hub documentation

add AIBOM

#5 opened about 1 year ago by
RiccardoDav

How do you circumvent the censorship nosnense? (red heart generated instead)

#4 opened over 1 year ago by
clevnumb

Free Tutorial - Install NVIDIA SANA Locally with GUI

#3 opened over 1 year ago by
fahdmirzac

Full Tutorial, 1-click installers (Windows, RunPod, Massed Compute & free Kaggle account notebook) and extensive test examples of 2K model

🤝🤗 1
#2 opened over 1 year ago by
MonsterMMORPG

how to run on ZeroGPU?

2
#1 opened over 1 year ago by
aifeifei798
Company
TOS Privacy About Careers
Website
Models Datasets Spaces Pricing Docs