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)
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 Settings
- Draw Things
- DiffusionBee
Commit History
-
Adding `safetensors` variant of this model
Verified signatureThis is an automated PR created with https://huggingface.co/spaces/safetensors/convert This new file is equivalent to `pytorch_model.bin` but safe in the sense that no arbitrary code can be put into it. These files also happen to load much faster than their pytorch counterpart: https://colab.research.google.com/github/huggingface/notebooks/blob/main/safetensors_doc/en/speed.ipynb The widgets on your model page will run using this model even if this is not merged making sure the file actually works. If you find any issues: please report here: https://huggingface.co/spaces/safetensors/convert/discussions Feel free to ignore this PR.f4fdbbb
-
Update README.md
a5ea9e3
-
Update README.md
12e4ff7
-
Fix deprecation warning by changing `CLIPFeatureExtractor` to `CLIPImageProcessor`. (#10)
- Fix deprecation warning by changing `CLIPFeatureExtractor` to `CLIPImageProcessor`. (9e9798414a30b026df207c22369f61c9a5cefd72)7f212fe
-
Update text_encoder/config.json
0e1c155 -
Update text_encoder/config.json
9787140
-
add gradio demo (#5)
- add gradio demo (6572d8ee9fa16b8cb2c64a5fe02060dc6850358b) Co-authored-by: Ahsen Khaliq <akhaliq@users.noreply.huggingface.co>ae731ed
-
Update README.md
d84f701
-
Update README.md
bf1a610 -
turn on inference api (#3)
- turn on inference api (32454876a15ad13ed820adc17a91880d26b86d68) Co-authored-by: Ahsen Khaliq <akhaliq@users.noreply.huggingface.co>dc3e314
-
Update README.md
10d5df8 -
Update README.md
2a0d22e -
Update README.md
5b78f0b -
Update model_index.json
114d700 -
Update model_index.json
89083ee -
Update model_index.json
2ea58ef -
Update model_index.json
bcc02b4 -
Update model_index.json
5b8e1a6
-
init
f3ebb1d -
Update README.md
04200cd -
Upload m9.png
dc7df48 -
Update README.md
dc32e4c -
initial commit
48a7e3d