Instructions to use callgg/qi-decoder with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use callgg/qi-decoder with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("callgg/qi-decoder", 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
Update transformer/config.json
Browse files- transformer/config.json +2 -3
transformer/config.json
CHANGED
|
@@ -13,6 +13,5 @@
|
|
| 13 |
"num_attention_heads": 24,
|
| 14 |
"num_layers": 60,
|
| 15 |
"out_channels": 16,
|
| 16 |
-
"patch_size": 2
|
| 17 |
-
|
| 18 |
-
}
|
|
|
|
| 13 |
"num_attention_heads": 24,
|
| 14 |
"num_layers": 60,
|
| 15 |
"out_channels": 16,
|
| 16 |
+
"patch_size": 2
|
| 17 |
+
}
|
|
|