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
- Draw Things
- DiffusionBee
Commit ·
7f212fe
1
Parent(s): 0e1c155
Fix deprecation warning by changing `CLIPFeatureExtractor` to `CLIPImageProcessor`. (#10)
Browse files- Fix deprecation warning by changing `CLIPFeatureExtractor` to `CLIPImageProcessor`. (9e9798414a30b026df207c22369f61c9a5cefd72)
- model_index.json +2 -2
model_index.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
"_diffusers_version": "0.8.0.dev0",
|
| 4 |
"feature_extractor": [
|
| 5 |
"transformers",
|
| 6 |
-
"
|
| 7 |
],
|
| 8 |
"safety_checker": [
|
| 9 |
"stable_diffusion",
|
|
@@ -29,4 +29,4 @@
|
|
| 29 |
"diffusers",
|
| 30 |
"AutoencoderKL"
|
| 31 |
]
|
| 32 |
-
}
|
|
|
|
| 3 |
"_diffusers_version": "0.8.0.dev0",
|
| 4 |
"feature_extractor": [
|
| 5 |
"transformers",
|
| 6 |
+
"CLIPImageProcessor"
|
| 7 |
],
|
| 8 |
"safety_checker": [
|
| 9 |
"stable_diffusion",
|
|
|
|
| 29 |
"diffusers",
|
| 30 |
"AutoencoderKL"
|
| 31 |
]
|
| 32 |
+
}
|