Run this model with HF Jobs
Run EternalDragon/Anima-Turbo-V1.2b-GGUF on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/EternalDragon/Anima-Turbo-V1.2b-GGUF. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/EternalDragon/Anima-Turbo-V1.2b-GGUF on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use EternalDragon/Anima-Turbo-V1.2b-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Cosmos
How to use EternalDragon/Anima-Turbo-V1.2b-GGUF with Cosmos:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
Anima-Turbo-V1.2b-GGUF
High-fidelity ImMatrix + Sensitive-Layer Protected GGUF quantizations of Anima Turbo v1.2b (anima-turbo-v1.2b.safetensors), a 2B-parameter anime & illustration text-to-image model by CircleStone Labs & Comfy Org built on NVIDIA Cosmos-Predict2.
All files load directly in unmodified city96/ComfyUI-GGUF (Unet Loader (GGUF)). The reusable 96-prompt / 960-step diffusion importance matrix (anima-turbo-v1.2b.imatrix.dat) and exact quantization patch are included in this repository.
Quantization Ladder & Benchmark Results
Every quant was evaluated on 6 unseen held-out prompts (completely disjoint from the calibration set) through unmodified city96/ComfyUI-GGUF at 10 steps, euler / simple, CFG 1.0 against the native BF16 checkpoint (3.90 GiB).
| File | Size (GiB) | SSIM β | PSNR (dB) β | LPIPS β | Latent Cosine β | Notes |
|---|---|---|---|---|---|---|
BF16 Reference (anima-turbo-v1.2b.safetensors) |
3.895 | 1.0000 | β | 0.0000 | 1.0000 | Original unquantized weights |
anima-turbo-v1.2b-Q8_0.gguf |
2.203 | 0.8703 | 22.34 | 0.0964 | 0.9766 | Near-lossless reference |
anima-turbo-v1.2b-Q6_K.gguf |
1.806 | 0.7773 | 18.66 | 0.1784 | 0.9494 | High-fidelity daily driver |
anima-turbo-v1.2b-Q5_K_S.gguf |
1.548 | 0.6998 | 16.57 | 0.2383 | 0.9386 | Best quality-per-GB sweet spot |
anima-turbo-v1.2b-Q5_K_M.gguf |
1.635 | 0.6931 | 16.19 | 0.2470 | 0.9220 | 5-bit K-quant medium |
anima-turbo-v1.2b-Q4_K_M.gguf |
1.512 | 0.6508 | 15.22 | 0.2853 | 0.9132 | Best 4-bit K-quant (-30% LPIPS vs. naive) |
anima-turbo-v1.2b-Q4_K_S.gguf |
1.399 | 0.6308 | 15.21 | 0.2958 | 0.9127 | Compact 4-bit K-quant |
anima-turbo-v1.2b-IQ4_XS.gguf |
1.394 | 0.6245 | 15.38 | 0.3034 | 0.9079 | Compact non-linear 4-bit (ComfyUI-GGUF GPU native) |
anima-turbo-v1.2b-IQ4_NL.gguf |
1.512 | 0.6160 | 14.98 | 0.3134 | 0.8983 | Non-linear 4-bit |
anima-turbo-v1.2b-Q3_K_M.gguf |
1.213 | 0.5048 | 13.73 | 0.4068 | 0.8690 | Ultra-low VRAM (beats naive Q4_K_M on LatCos/PSNR) |
Quality vs. File Size & Ablation Graphs
Visual Examples (Held-Out Prompts)
Every tile below is explicitly labeled at the top with the exact quantization level, file size, and average SSIM / LPIPS against BF16. All images were generated with identical noise seeds, text embeddings, and Qwen Image VAE (10 steps, euler, simple, CFG 1.0).
1. Anime Portrait & Cel Shading (896Γ1152, seed 42001)
Prompt:
masterpiece, best quality, safe, 1girl, solo, long violet hair, golden eyes, ornate silver hairpins, white and navy naval-style academy uniform, standing by harbor railing, seagulls, sparkling ocean, crisp afternoon sunlight, sharp lineart, detailed eyes
2. Dense Natural Language Scene (1152Γ896, seed 42002)
Prompt:
Detailed anime illustration of a young clockmaker girl with round brass spectacles and messy chestnut hair working at a cluttered oak workbench bathed in warm golden evening sunlight. Intricate pocket watches, tiny gears, and magnifying lenses are scattered across the table beside a steaming mug of tea, while a rain-streaked arched window reveals a European twilight skyline.
3. Monochrome Manga Ink & Hands (896Γ1152, seed 42004)
Prompt:
masterpiece, best quality, safe, 1girl, solo, monochrome manga illustration, crisp black ink lines, halftone screentones, close-up, playing acoustic guitar, detailed fingers on fretboard, windswept hair, sunlit school rooftop, expressive shading
4. Painterly Watercolor Landscape (1152Γ896, seed 42006)
Prompt:
Delicate watercolor and ink fantasy landscape of a hillside shrine surrounded by blooming wisteria trellises overhanging a calm koi pond. Stone lanterns glow softly in the misty blue twilight while petals drift across the glassy water surface.
Ablation Proof: Naive Stock Quantization vs. ImMatrix + Protected
Q3_K_M Ablation (896Γ1152, seed 42001)
Notice how naive Q3_K_M turns mushy, loses the coastline, and garbles the naval collar, whereas adding both sensitive-layer protection and our diffusion imatrix restores crisp anime linework and prompt adherence:
Q4_K_M Ablation β Anime Portrait (896Γ1152, seed 42001)
Compares BF16 (Baseline) vs. Q4_K_M [naive], Q4_K_M [prot, no imat], Q4_K_M [imat, unprot], Q4_K_M [imat+adptQ8], and our final Q4_K_M:
Q4_K_M Ablation β Cyberpunk Neon & Text Signage (1024Γ1024, seed 42005)
Prompt:
masterpiece, best quality, safe, cyberpunk street corner at midnight, glowing neon sign reading ANIMA, wet asphalt reflections, ramen vending machine, 1girl in clear plastic raincoat holding translucent umbrella, vibrant magenta and cyan lighting, cinematic anime background
Methodology: Why Naive Anima GGUFs Degrade (and How We Fixed It)
Anima Turbo v1.2b is a step-distilled (8β12 step, CFG 1.0) Diffusion Transformer based on NVIDIA's Cosmos-Predict2-2B (MiniTrainDIT) with an in-checkpoint LLMAdapter (32k-vocab T5 token embedding table + 6 transformer blocks) that fuses Qwen3-0.6B hidden states before they enter the 28 DiT blocks.
Auditing all 685 tensors and profiling real BF16 inference activations revealed three failure modes in standard GGUF quantization:
1. Stock ComfyUI-GGUF (lcpp.patch) Does Not Protect llm_adapter.*
city96/ComfyUI-GGUF's stocklcpp.patchwas written for vanilla Cosmos-Predict2 (which has nollm_adapter). As a result, standardllama-quantizequantizes all ofllm_adapter.*right down to 3-bit/4-bit.- Worse,
llm_adapter.embed.weight(32128 Γ 1024)has extreme weight outliers up to|w| = 123.0(whereas every other 2D matrix in the 2.09B model sits within[-1, 1]). Quantizing it toQ4_KorQ3_Kblows out block scales and degrades token conditioning before the DiT even runs. - Our fix: Keep the entire
llm_adapter.*(256.9 MiB, just 6.4% of total parameters), along witht_embedder.*,x_embedder.*,pos_embedder.*, andfinal_layer.*, in losslessBF16(and all 1D norms/biases inF32).
2. Massive Activation Outliers Inside the DiT Blocks (Up to 4,558Γ)
Profiling activation energy $\mathbb{E}[x_i^2]$ per input channel across real denoising trajectories exposed huge channel outliers:
blocks.0.self_attn.q_proj.weight: 4,558Γ max-to-median channel activation energyblocks.0.mlp.layer1.weight: 2,742Γ max-to-median ratioblocks.0.mlp.layer2.weight: 1,993Γ max-to-median ratioblocks.27.mlp.layer2.weight: 1,725Γ max-to-median ratio
Without an importance matrix, llama-quantize treats every input channel uniformly and clips those critical channelsβand in a distilled 8β12 step Turbo model, early-step drift has very few steps to recover.
- Our fix β Custom Diffusion ImMatrix (
anima-turbo-v1.2b.imatrix.dat):- Hooked all 515/515 2D
nn.Linearlayers inside the unquantized BF16AnimaDiT (matching GGUF tensor names 1-to-1, verified with zero missing-weight warnings inllama-quantize). - Collected $\mathbb{E}[x_i^2]$ in
float64across 96 diverse calibration prompts covering Danbooru tags, multi-sentence natural language, hybrid prompts, multi-character scenes, 7 aspect ratios (768Γ1024through1216Γ832), 8/10/12 steps, andeuler/er_sde/dpmpp_2msamplers (960 total DiT forward passes across the full noise schedule). - Serialized directly into
llama.cpp's native binaryimatrix.datformat.
- Hooked all 515/515 2D
3. Missing AdaLN & Cross-Attention Precision Upgrades
- Stock
lcpp.patchonly promotes.adaln_modulation_mlp.2.weight, missing the other 5 AdaLN modulation projections per block (self_attn,cross_attn, and all.1.weightbottlenecks) as well ascross_attn.k_proj.weight(which directly reads thellm_adaptertext embeddings). - Our fix (
methodology/anima_lcpp.patch):- Convert native
BF16safetensors β losslessBF16intermediate GGUF (avoidingF16clamping/overflow). - Upgrade all 6
adaln_modulation_*layers per block +cross_attn.k_proj.weight+cross_attn.v_proj.weight+self_attn.v_proj.weight+mlp.layer2.weighttoQ6_K/Q8_0(orQ5_KonIQ4_XS/Q3_K_M). - Enable
IQ4_NLandIQ4_XSinllama-quantize, as both are already natively GPU-dequantized incity96/ComfyUI-GGUF/dequant.py.
- Convert native
Why Both Together Matter (Super-Additive Synergy)
| Variant | Size (GiB) | SSIM β | PSNR β | LPIPS β | LatCos β |
|---|---|---|---|---|---|
Q4_K_M naive (stock ComfyUI-GGUF) |
1.289 | 0.5276 | 13.61 | 0.4052 | 0.8491 |
Q4_K_M imatrix only (unprotected llm_adapter) |
1.289 | 0.5386 | 13.04 | 0.3971 | 0.8508 |
Q4_K_M protected only (no imatrix) |
1.512 | 0.5488 | 13.96 | 0.3737 | 0.8767 |
Q4_K_M imatrix + llm_adapter.blocks Q8_0 (embed BF16) |
1.424 | 0.6477 | 15.24 | 0.2901 | 0.9122 |
Q4_K_M FINAL (imatrix + BF16 llm_adapter + Q6_K AdaLN) |
1.512 | 0.6508 | 15.22 | 0.2853 | 0.9132 |
Q3_K_M naive (stock ComfyUI-GGUF) |
0.952 | 0.4032 | 11.28 | 0.5548 | 0.6978 |
Q3_K_M protected only (no imatrix) |
1.213 | 0.5072 | 13.29 | 0.4304 | 0.8459 |
Q3_K_M FINAL (imatrix + BF16 llm_adapter + Q6_K AdaLN) |
1.213 | 0.5048 | 13.73 | 0.4068 | 0.8690 |
Usage in ComfyUI
- Install
city96/ComfyUI-GGUF(via ComfyUI Manager orgit cloneintoComfyUI/custom_nodes/). - Download your preferred
.gguffrom this repo and place it inComfyUI/models/diffusion_models/(orComfyUI/models/unet/). - Download the required supporting files from the official
circlestone-labs/Animarepository:- Text Encoder:
qwen_3_06b_base.safetensorsβComfyUI/models/text_encoders/ - VAE:
qwen_image_vae.safetensorsβComfyUI/models/vae/
- Text Encoder:
- In ComfyUI, swap
Load Diffusion ModelforUnet Loader (GGUF)and select your.gguffile. - Recommended Anima-Turbo settings:
- Steps:
8β12(10 is a great default) - CFG:
1.0 - Sampler:
eulerorer_sde - Resolution:
512Β²to1536Β²(e.g.,1024Γ1024,896Γ1152,1152Γ896)
- Steps:
Included ImMatrix & Reproducibility Files
anima-turbo-v1.2b.imatrix.datβ Ready-to-usellama.cppimportance matrix (515 entries, 960 DiT passes).methodology/anima_lcpp.patchβ Full diff againstllama.cppb3962(extendingcity96/ComfyUI-GGUF'slcpp.patchwith Animallm_adapterprotection, AdaLN &cross_attn.k_projupgrades, andIQ4_NL/IQ4_XSsupport).methodology/collect_imatrix.py&methodology/calib_prompts.pyβ Exact PyTorch forward-hook calibration script and 96-prompt dataset.
License
These files are quantized derivatives of circlestone-labs/Anima (based on nvidia/Cosmos-Predict2-2B-Text2Image). Usage is governed by the CircleStone Labs Non-Commercial License and the NVIDIA Open Model License Agreement.
- Downloads last month
- 1,243
3-bit
4-bit
5-bit
6-bit
8-bit
Model tree for EternalDragon/Anima-Turbo-V1.2b-GGUF
Base model
nvidia/Cosmos-Predict2-2B-Text2Image







