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

OFA-Sys
/
small-stable-diffusion-v0

Text-to-Image
Diffusers
English
StableDiffusionPipeline
stable-diffusion
stable-diffusion-diffusers
Model card Files Files and versions
xet
Community
15

Instructions to use OFA-Sys/small-stable-diffusion-v0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use OFA-Sys/small-stable-diffusion-v0 with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("OFA-Sys/small-stable-diffusion-v0", dtype=torch.bfloat16, device_map="cuda")
    
    prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
    image = pipe(prompt).images[0]
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • Draw Things
  • DiffusionBee
New discussion
Resources
  • PR & discussions documentation
  • Code of Conduct
  • Hub documentation

Fix outdated steps_offset in scheduler_config

#15 opened 7 months ago by
Lioneidous93

You got my like

#14 opened over 1 year ago by
Muthukamalan

Adding `safetensors` variant of this model

#13 opened about 2 years ago by
SFconvertbot

Nice model, but can't fine-tune

#12 opened over 2 years ago by
kopyl

Distillation code

#11 opened about 3 years ago by
tungdq

Model at lower resultion like 256x256?

1
#9 opened over 3 years ago by
saddxzcy

Where is the .ckpt file for this model?

1
#8 opened over 3 years ago by
Arya-Bastani23

Expected speed on Colab

2
#7 opened over 3 years ago by
sreag

Is the point of this to generate images at a 256x256 resolution?

1
#4 opened over 3 years ago by
AM1917

Adding `safetensors` variant of this model

#3 opened over 3 years ago by
Sporked
Company
TOS Privacy About Careers
Website
Models Datasets Spaces Pricing Docs