Instructions to use Jialuo21/Imago-2B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Jialuo21/Imago-2B with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Jialuo21/Imago-2B", 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
File size: 747 Bytes
0b59b72 | 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 | {
"_class_name": "SanaTransformer2DModel",
"_diffusers_version": "0.37.0.dev0",
"_name_or_path": "saves/imago-1.6b-full-v4-lr1e5-stage1-short-s42/checkpoints/checkpoint-500",
"attention_bias": false,
"attention_head_dim": 32,
"caption_channels": 2304,
"cross_attention_dim": 2240,
"cross_attention_head_dim": 112,
"dropout": 0.0,
"guidance_embeds": false,
"guidance_embeds_scale": 0.1,
"in_channels": 32,
"interpolation_scale": null,
"mlp_ratio": 2.5,
"norm_elementwise_affine": false,
"norm_eps": 1e-06,
"num_attention_heads": 70,
"num_cross_attention_heads": 20,
"num_layers": 20,
"out_channels": 32,
"patch_size": 1,
"qk_norm": "rms_norm_across_heads",
"sample_size": 32,
"timestep_scale": 1.0
}
|