Instructions to use Boogu/Boogu-Image-0.1-Base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Boogu/Boogu-Image-0.1-Base with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Boogu/Boogu-Image-0.1-Base", 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
File size: 956 Bytes
a1c0f0f | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 | {
"_class_name": "BooguImageTransformer2DModel",
"_diffusers_version": "0.35.2",
"axes_dim_rope": [
40,
40,
40
],
"axes_lens": [
2048,
1664,
1664
],
"ffn_dim_multiplier": null,
"hidden_size": 3360,
"in_channels": 16,
"instruction_feature_configs": {
"instruction_feat_dim": 4096,
"num_instruction_feature_layers": 1,
"reduce_type": "mean"
},
"multiple_of": 256,
"norm_eps": 1e-05,
"num_attention_heads": 28,
"num_double_stream_layers": 8,
"num_kv_heads": 7,
"num_layers": 40,
"num_refiner_layers": 2,
"out_channels": null,
"patch_size": 2,
"prompt_tuning_configs": {
"ffn_dim_multiplier": null,
"hidden_size": 4096,
"multiple_of": 256,
"norm_eps": 1e-05,
"num_attention_heads": 32,
"num_kv_heads": 8,
"num_layers": 0,
"num_trainable_prompt_tokens": 0,
"use_causal_mask": true,
"use_prompt_tuning": false
},
"timestep_scale": 1000.0
}
|