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

  • Log In
  • Sign Up

ArtyomSubDiv
/
stable-diffusion-2-1-fp16

Text-to-Image
Diffusers
stable-diffusion
Model card Files Files and versions
xet
Community

Instructions to use ArtyomSubDiv/stable-diffusion-2-1-fp16 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use ArtyomSubDiv/stable-diffusion-2-1-fp16 with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("ArtyomSubDiv/stable-diffusion-2-1-fp16", 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
  • Draw Things
  • DiffusionBee
stable-diffusion-2-1-fp16
2.61 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 5 commits
Artyom
Update README.md
9476f7d verified over 1 year ago
  • .gitattributes
    1.52 kB
    initial commit over 2 years ago
  • README.md
    86 Bytes
    Update README.md over 1 year ago
  • v2-1_768-fp16.safetensors
    2.61 GB
    xet
    Upload v2-1_768-fp16.safetensors over 2 years ago
  • v2-1_768-fp16.yaml
    1.82 kB
    Upload v2-1_768-fp16.yaml over 1 year ago