Instructions to use loulou2/tiny_flux with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use loulou2/tiny_flux with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("loulou2/tiny_flux", 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 -2
transformer/config.json
CHANGED
|
@@ -12,8 +12,8 @@
|
|
| 12 |
"in_channels": 64,
|
| 13 |
"joint_attention_dim": 4096,
|
| 14 |
"num_attention_heads": 24,
|
| 15 |
-
"num_layers":
|
| 16 |
-
"num_single_layers":
|
| 17 |
"out_channels": null,
|
| 18 |
"patch_size": 1,
|
| 19 |
"pooled_projection_dim": 768
|
|
|
|
| 12 |
"in_channels": 64,
|
| 13 |
"joint_attention_dim": 4096,
|
| 14 |
"num_attention_heads": 24,
|
| 15 |
+
"num_layers": 1,
|
| 16 |
+
"num_single_layers": 1,
|
| 17 |
"out_channels": null,
|
| 18 |
"patch_size": 1,
|
| 19 |
"pooled_projection_dim": 768
|