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
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

AstraliteHeart
/
pony-diffusion-v2

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

Instructions to use AstraliteHeart/pony-diffusion-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use AstraliteHeart/pony-diffusion-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("AstraliteHeart/pony-diffusion-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
  • Draw Things
  • DiffusionBee
pony-diffusion-v2
11 GB
Ctrl+K
Ctrl+K
  • 3 contributors
History: 13 commits
SFconvertbot's picture
SFconvertbot
Adding `safetensors` variant of this model
b4ff50f verified about 2 years ago
  • feature_extractor
    Actual weights over 3 years ago
  • safety_checker
    Adding `safetensors` variant of this model about 2 years ago
  • scheduler
    Add `clip_sample=False` to scheduler to make model compatible with DDIM. (#4) about 3 years ago
  • text_encoder
    Adding `safetensors` variant of this model about 2 years ago
  • tokenizer
    Actual weights over 3 years ago
  • unet
    Adding `safetensors` variant of this model about 2 years ago
  • vae
    Adding `safetensors` variant of this model about 2 years ago
  • .gitattributes
    1.43 kB
    initial commit over 3 years ago
  • README.md
    4.92 kB
    Update README.md about 3 years ago
  • model_index.json
    541 Bytes
    Fix deprecation warning by changing `CLIPFeatureExtractor` to `CLIPImageProcessor`. (#6) about 3 years ago