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

shirayu
/
sd-tohoku-v2

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

Instructions to use shirayu/sd-tohoku-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use shirayu/sd-tohoku-v2 with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("shirayu/sd-tohoku-v2", 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
sd-tohoku-v2
7.75 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 13 commits
shirayu's picture
shirayu
valhalla's picture
valhalla
Add `scale_factor` to vae config. (#1)
0c2dcb6 over 3 years ago
  • ckpt
    Add files of ckpt over 3 years ago
  • images
    Added examples over 3 years ago
  • scheduler
    Add a model for diffusers over 3 years ago
  • text_encoder
    Add a model for diffusers over 3 years ago
  • tokenizer
    Add a model for diffusers over 3 years ago
  • unet
    Add a model for diffusers over 3 years ago
  • vae
    Add `scale_factor` to vae config. (#1) over 3 years ago
  • .gitattributes
    1.52 kB
    Add a model for diffusers over 3 years ago
  • .markdownlint.json
    120 Bytes
    Add a model for diffusers over 3 years ago
  • LICENSE
    14.4 kB
    Add a model for diffusers over 3 years ago
  • README.md
    6.68 kB
    Update README.md over 3 years ago
  • model_index.json
    511 Bytes
    Add a model for diffusers over 3 years ago