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

  • Log In
  • Sign Up

Ryosuke
/
an2-stable-diffusion

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

Instructions to use Ryosuke/an2-stable-diffusion with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use Ryosuke/an2-stable-diffusion with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("Ryosuke/an2-stable-diffusion", 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
an2-stable-diffusion
7.37 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 13 commits
Ryosuke's picture
Ryosuke
patrickvonplaten's picture
patrickvonplaten
Add `clip_sample=False` to scheduler to make model compatible with DDIM. (#1)
69e169a almost 3 years ago
  • concept_images
    Upload concept_images with huggingface_hub over 3 years ago
  • feature_extractor
    Upload feature_extractor with huggingface_hub over 3 years ago
  • safety_checker
    Upload safety_checker with huggingface_hub over 3 years ago
  • scheduler
    Add `clip_sample=False` to scheduler to make model compatible with DDIM. (#1) almost 3 years ago
  • text_encoder
    Upload text_encoder with huggingface_hub over 3 years ago
  • tokenizer
    Upload tokenizer with huggingface_hub over 3 years ago
  • unet
    Upload unet with huggingface_hub over 3 years ago
  • vae
    Upload vae with huggingface_hub over 3 years ago
  • .gitattributes
    1.48 kB
    initial commit over 3 years ago
  • README.md
    994 Bytes
    Upload the concept an2-stable-diffusion embeds and token over 3 years ago
  • an2-stable-diffusion.ckpt
    2.13 GB
    xet
    Upload the concept an2-stable-diffusion embeds and token over 3 years ago
  • model_index.json
    541 Bytes
    Fix deprecation warning by changing `CLIPFeatureExtractor` to `CLIPImageProcessor`. (#3) almost 3 years ago
  • token_identifier.txt
    25 Bytes
    Upload the concept an2-stable-diffusion embeds and token over 3 years ago