Text-to-Image
Diffusers
Safetensors
English
BriaFibo2Pipeline
image-editing
image-to-image
inpainting
multi-reference
fine-tuning
structured-prompts
vgl
fibo
Instructions to use ml-resources/Fibo-2.0-dev with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use ml-resources/Fibo-2.0-dev with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("ml-resources/Fibo-2.0-dev", 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
Download transformer/config.json from ml-resources/Fibo-2.0-dev: direct link, hf CLI and curl.
- Browser
- Download file 623 Bytes
-
https://huggingface.co/ml-resources/Fibo-2.0-dev/resolve/main/transformer/config.json
- Command line
-
hf download hf://ml-resources/Fibo-2.0-dev/transformer/config.json
-
curl -L -o config.json https://huggingface.co/ml-resources/Fibo-2.0-dev/resolve/main/transformer/config.json
623 Bytes
| { | |
| "_class_name": "BriaFibo2Transformer2DModel", | |
| "_diffusers_version": "0.41.0.dev0", | |
| "axes_dims": [ | |
| 32, | |
| 48, | |
| 48 | |
| ], | |
| "axes_lens": [ | |
| 2048, | |
| 512, | |
| 512 | |
| ], | |
| "cap_feat_dim": 7680, | |
| "dim": 3584, | |
| "gist_max_text_len": 2048, | |
| "gist_min_text_len": 256, | |
| "gist_step": 64, | |
| "in_channels": 32, | |
| "injection_layer_ids": [ | |
| 6, | |
| 14, | |
| 22, | |
| 30, | |
| 38 | |
| ], | |
| "max_num_gist_tokens": 512, | |
| "min_num_gist_tokens": 256, | |
| "n_heads": 28, | |
| "n_layers": 44, | |
| "n_refiner_layers": 2, | |
| "norm_eps": 1e-05, | |
| "patch_size": 2, | |
| "perceiver_num_layers": 2, | |
| "rope_theta": 256.0, | |
| "t_scale": 1000.0 | |
| } | |