Views
No views yet
AbstractPhil/clips:IllustriousV01_clip_l.safetensorsIllustriousV01_clip_g.safetensors1from safetensors.torch import load_file
2
3# Load just the weights (fast)
4state_dict = load_file("weights/lyra_illustrious_best.safetensors")
5
6# Or specific step
7state_dict = load_file("weights/lyra_illustrious_step_5000.safetensors")CLIP sees: "masterpiece, 1girl, blue hair, school uniform, smile"
T5 sees: "masterpiece, 1girl, blue hair, school uniform, smile ¶ A cheerful schoolgirl with blue hair smiling warmly"¶) separator acts as a mode-switch token.1from lyra_xl_multimodal import load_lyra_from_hub
2
3model = load_lyra_from_hub("AbstractPhil/vae-lyra-xl-adaptive-cantor-illustrious")
4model.eval()
5
6inputs = {
7 "clip_l": clip_l_embeddings, # [batch, 77, 768]
8 "clip_g": clip_g_embeddings, # [batch, 77, 1280]
9 "t5_xl_l": t5_xl_embeddings, # [batch, 512, 2048]
10 "t5_xl_g": t5_xl_embeddings # [batch, 512, 2048]
11}
12
13recons, mu, logvar, _ = model(inputs, target_modalities=["clip_l", "clip_g"])model.pt - Full checkpoint (model + optimizer + scheduler)checkpoint_lyra_illustrious_XXXX.pt - Step checkpointsconfig.json - Training configurationweights/lyra_illustrious_best.safetensors - Best model weights onlyweights/lyra_illustrious_step_XXXX.safetensors - Step checkpoints (weights only)