Instructions to use YuCollection/FLUX.1-schnell-Diffusers with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use YuCollection/FLUX.1-schnell-Diffusers with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("YuCollection/FLUX.1-schnell-Diffusers", 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
Upload transformer/config.json with huggingface_hub
Browse files- transformer/config.json +13 -0
transformer/config.json
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "FluxTransformer2DModel",
|
| 3 |
+
"_diffusers_version": "0.30.0.dev0",
|
| 4 |
+
"attention_head_dim": 128,
|
| 5 |
+
"guidance_embeds": false,
|
| 6 |
+
"in_channels": 64,
|
| 7 |
+
"joint_attention_dim": 4096,
|
| 8 |
+
"num_attention_heads": 24,
|
| 9 |
+
"num_layers": 19,
|
| 10 |
+
"num_single_layers": 38,
|
| 11 |
+
"patch_size": 1,
|
| 12 |
+
"pooled_projection_dim": 768
|
| 13 |
+
}
|