Text-to-Image
Diffusers
Safetensors
flow-matching
pyramidal-unet
256x256
ettin-150m
from-scratch
ra
udit
Instructions to use AiArtLab/Ra with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use AiArtLab/Ra with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("AiArtLab/Ra", 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: 1,308 Bytes
b4f5f26 | 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 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 | {
"in_channels": 3,
"patch_size": 8,
"latent_channels": 32,
"enc_width": 1024,
"enc_depth": 8,
"enc_mlp_ratio": 2.0,
"dec_width": 512,
"dec_depth": 6,
"dec_mlp_ratio": 4.0,
"dec_adaln_rank": 128,
"dec_skip_blocks": 2,
"dec_head_min_channels": 64,
"time_embed_dim": 256,
"head_dim": 64,
"window_radius": 8,
"rope_base": 100.0,
"latent_mean": [
-4.137261,
2.725146,
-1.435803,
-2.187023,
-4.161275,
-1.58918,
-2.527523,
3.002302,
2.793705,
-2.091501,
-2.632896,
-3.59589,
-3.069669,
-4.568713,
3.26668,
-0.897648,
2.072541,
5.451158,
1.747871,
-2.113284,
2.03444,
-1.379274,
0.66369,
2.712183,
-0.111181,
6.054838,
1.235881,
-2.02777,
3.663243,
-2.454632,
1.141335,
1.786136
],
"latent_std": [
1.030738,
0.951682,
1.079687,
0.957871,
1.198266,
1.102266,
1.213605,
0.947544,
1.085991,
1.093223,
0.9027,
1.010205,
0.920466,
1.044107,
1.023179,
0.992978,
0.991627,
1.073585,
1.114629,
1.056403,
1.093012,
1.015109,
1.007069,
0.976026,
0.982324,
1.093805,
1.036086,
1.005727,
1.104078,
1.042298,
1.095522,
0.960255
]
} |