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

  • Log In
  • Sign Up

BAAI
/
AltDiffusion-m9

Text-to-Image
Diffusers
Chinese
AltDiffusionPipeline
stable-diffusion
stable-diffusion-diffusers
multilingual
English(En)
Chinese(Zh)
Spanish(Es)
French(Fr)
Russian(Ru)
Japanese(Ja)
Korean(Ko)
Arabic(Ar)
Italian(It)
Model card Files Files and versions
xet
Community
12

Instructions to use BAAI/AltDiffusion-m9 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use BAAI/AltDiffusion-m9 with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("BAAI/AltDiffusion-m9", 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
AltDiffusion-m9
7.24 GB
Ctrl+K
Ctrl+K
  • 6 contributors
History: 22 commits
Alon77777's picture
Alon77777
Update README.md
a5ea9e3 over 2 years ago
  • feature_extractor
    init over 3 years ago
  • safety_checker
    init over 3 years ago
  • scheduler
    init over 3 years ago
  • text_encoder
    Update text_encoder/config.json about 3 years ago
  • tokenizer
    init over 3 years ago
  • unet
    init over 3 years ago
  • vae
    init over 3 years ago
  • .gitattributes
    1.52 kB
    Upload m9.png over 3 years ago
  • README.md
    16.3 kB
    Update README.md over 2 years ago
  • m9.png
    1.67 MB
    xet
    Upload m9.png over 3 years ago
  • model_index.json
    573 Bytes
    Fix deprecation warning by changing `CLIPFeatureExtractor` to `CLIPImageProcessor`. (#10) almost 3 years ago