Animagine XL 4.0 opt + Hyper-SDXL 4-step, GGUF Q8_0
Animagine XL 4.0 by Cagliostro Research Lab
(the authors' animagine-xl-4.0-opt release) with ByteDance's
Hyper-SDXL 4-step LoRA merged in, as one GGUF file
for stable-diffusion.cpp. It makes anime
illustrations from Danbooru-style tags in 4 steps without guidance, where the authors recommend 25-28
steps with CFG 5 for the base model, and needs no separate LoRA file.
Made for Brulion, an app that generates images on the user's own device.
What was changed
This is a modified version of Animagine XL 4.0 opt:
- The Hyper-SDXL 4-step LoRA was fused into the UNet at strength 1.0, in fp32, with diffusers
(
fuse_lora(lora_scale=1.0)). The text encoders and the VAE are copied unchanged. - The result was converted to GGUF with 8-bit weights (Q8_0) using stable-diffusion.cpp's
-M convert.
Nothing else was trained or changed. Not affiliated with or endorsed by Cagliostro Research Lab or ByteDance.
Files
| File | Size | SHA-256 |
|---|---|---|
animagine-xl-4.0-opt-hyper4-Q8_0.gguf | 4.18 GB | 61fa89fdb7492ce58b574e3023bacfbf3bb791efb111e6adcdf91ecddd91f92e |
LICENSE.md | The licenses of both parts | |
NOTICE.txt | The notice to pass on with the model |
Use with stable-diffusion.cpp
SDXL's own VAE overflows in fp16, so use madebyollin/sdxl-vae-fp16-fix (MIT):
sd-cli -m animagine-xl-4.0-opt-hyper4-Q8_0.gguf --vae sdxl_vae.safetensors --diffusion-fa \
--steps 4 --cfg-scale 1 --sampling-method ddim_trailing -W 1024 -H 1024 \
-p "1girl, solo, silver hair, school uniform, cherry blossoms, smile, masterpiece, best quality"
Hyper-SD's N-step LoRAs are made for DDIM with trailing timesteps (ddim_trailing).
License
The model is licensed under the CreativeML Open RAIL++-M License (Animagine XL 4.0), and the
merged LoRA under ByteDance's Hyper-SD license, which carries the same use-based restrictions.
Both texts are in LICENSE.md.
The use restrictions in paragraph 5 and Attachment A of these licenses apply to every use of this model and of anything derived from it. If you distribute the model or a derivative, you must include them as an enforceable provision in your own terms, give recipients a copy of the licenses, and state the changes you made. You are accountable for the images you generate.