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

ntc-ai
/
model-glue-sd15-sana-text

Text-to-Image
PyTorch
Safetensors
Sana
English
model-glue
stable-diffusion
model-stitching
Model card Files Files and versions
xet
Community

Instructions to use ntc-ai/model-glue-sd15-sana-text with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Sana

    How to use ntc-ai/model-glue-sd15-sana-text 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://ntc-ai/model-glue-sd15-sana-text")
    
    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
model-glue-sd15-sana-text / reports
187 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
ntc-ai's picture
ntc-ai
Publish validation-selected SD1.5 to SANA text bridge and evaluated alternatives
b2d2fae verified 3 days ago
  • mask-metrics.json
    717 Bytes
    Publish validation-selected SD1.5 to SANA text bridge and evaluated alternatives 3 days ago
  • retraining.json
    175 kB
    Publish validation-selected SD1.5 to SANA text bridge and evaluated alternatives 3 days ago
  • selection.json
    5.67 kB
    Publish validation-selected SD1.5 to SANA text bridge and evaluated alternatives 3 days ago
  • test-results.json
    6.07 kB
    Publish validation-selected SD1.5 to SANA text bridge and evaluated alternatives 3 days ago