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

wsl448
/
yarn_art_falqon_sana_block_int8_svd_lr2e-4

Text-to-Image
Diffusers
Sana
diffusers-training
falqon
sana-diffusers
Model card Files Files and versions
xet
Community

Instructions to use wsl448/yarn_art_falqon_sana_block_int8_svd_lr2e-4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use wsl448/yarn_art_falqon_sana_block_int8_svd_lr2e-4 with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("wsl448/yarn_art_falqon_sana_block_int8_svd_lr2e-4", dtype=torch.bfloat16, device_map="cuda")
    
    prompt = "a puppy in a pond, yarn art style"
    image = pipe(prompt).images[0]
  • Sana

    How to use wsl448/yarn_art_falqon_sana_block_int8_svd_lr2e-4 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://wsl448/yarn_art_falqon_sana_block_int8_svd_lr2e-4")
    
    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
  • Local Apps Settings
  • Draw Things
  • DiffusionBee
yarn_art_falqon_sana_block_int8_svd_lr2e-4
707 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
wsl448's picture
wsl448
End of training
6ac2d32 verified 5 months ago
  • falqon-checkpoint-700
    End of training 5 months ago
  • .gitattributes
    1.71 kB
    End of training 5 months ago
  • README.md
    1.6 kB
    End of training 5 months ago
  • image_0.png
    1.76 MB
    xet
    End of training 5 months ago
  • image_1.png
    1.77 MB
    xet
    End of training 5 months ago
  • image_2.png
    1.62 MB
    xet
    End of training 5 months ago
  • image_3.png
    1.83 MB
    xet
    End of training 5 months ago