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.

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

Quality vs. File Size Frontier

Ablation Breakdown


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

Full Q-Ladder Anime Portrait

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.

Full Q-Ladder Natural Language Scene

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

Full Q-Ladder Monochrome Ink Hands

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.

Full Q-Ladder Watercolor Landscape


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:

Q3_K_M Ablation Comparison

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 Anime Portrait

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

Q4_K_M Ablation Cyberpunk Neon


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 stock lcpp.patch was written for vanilla Cosmos-Predict2 (which has no llm_adapter). As a result, standard llama-quantize quantizes all of llm_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 to Q4_K or Q3_K blows 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 with t_embedder.*, x_embedder.*, pos_embedder.*, and final_layer.*, in lossless BF16 (and all 1D norms/biases in F32).

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 energy
  • blocks.0.mlp.layer1.weight: 2,742Γ— max-to-median ratio
  • blocks.0.mlp.layer2.weight: 1,993Γ— max-to-median ratio
  • blocks.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.Linear layers inside the unquantized BF16 Anima DiT (matching GGUF tensor names 1-to-1, verified with zero missing-weight warnings in llama-quantize).
    • Collected $\mathbb{E}[x_i^2]$ in float64 across 96 diverse calibration prompts covering Danbooru tags, multi-sentence natural language, hybrid prompts, multi-character scenes, 7 aspect ratios (768Γ—1024 through 1216Γ—832), 8/10/12 steps, and euler / er_sde / dpmpp_2m samplers (960 total DiT forward passes across the full noise schedule).
    • Serialized directly into llama.cpp's native binary imatrix.dat format.

3. Missing AdaLN & Cross-Attention Precision Upgrades

  • Stock lcpp.patch only promotes .adaln_modulation_mlp.2.weight, missing the other 5 AdaLN modulation projections per block (self_attn, cross_attn, and all .1.weight bottlenecks) as well as cross_attn.k_proj.weight (which directly reads the llm_adapter text embeddings).
  • Our fix (methodology/anima_lcpp.patch):
    • Convert native BF16 safetensors β†’ lossless BF16 intermediate GGUF (avoiding F16 clamping/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.weight to Q6_K / Q8_0 (or Q5_K on IQ4_XS / Q3_K_M).
    • Enable IQ4_NL and IQ4_XS in llama-quantize, as both are already natively GPU-dequantized in city96/ComfyUI-GGUF/dequant.py.

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

  1. Install city96/ComfyUI-GGUF (via ComfyUI Manager or git clone into ComfyUI/custom_nodes/).
  2. Download your preferred .gguf from this repo and place it in ComfyUI/models/diffusion_models/ (or ComfyUI/models/unet/).
  3. Download the required supporting files from the official circlestone-labs/Anima repository:
  4. In ComfyUI, swap Load Diffusion Model for Unet Loader (GGUF) and select your .gguf file.
  5. Recommended Anima-Turbo settings:
    • Steps: 8–12 (10 is a great default)
    • CFG: 1.0
    • Sampler: euler or er_sde
    • Resolution: 512Β² to 1536Β² (e.g., 1024Γ—1024, 896Γ—1152, 1152Γ—896)

Included ImMatrix & Reproducibility Files


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
GGUF
Model size
2B params
Architecture
cosmos
Hardware compatibility
Log In to add your hardware

3-bit

4-bit

5-bit

6-bit

8-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for EternalDragon/Anima-Turbo-V1.2b-GGUF

Quantized
(76)
this model