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

  • Log In
  • Sign Up

ArtyomSubDiv
/
stable-diffusion-2-0-base-fp16

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

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

  • Libraries
  • Diffusers

    How to use ArtyomSubDiv/stable-diffusion-2-0-base-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-0-base-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-0-base-fp16
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
Artyom
Create README.md
d02079e verified over 2 years ago
  • .gitattributes
    1.52 kB
    initial commit over 2 years ago
  • README.md
    59 Bytes
    Create README.md over 2 years ago
  • sd_v2-0_512-base-fp16.safetensors
    2.61 GB
    xet
    Upload sd_v2-0_512-base-fp16.safetensors over 2 years ago