LFM2.5-24B-A2B โ€” Heretic uncensor, GSQ-RCO-style GGUF

Per-tensor mixed-precision GGUF builds of the Heretic-abliterated LiquidAI/LFM2.5-24B-A2B, made for llama.cpp.

What this model is

LiquidAI/LFM2.5-24B-A2B is a ~24B mixture-of-experts text model in Liquid AI's lfm2_moe family, activating only ~2B parameters per token. The GGUF layout has 40 blocks: 38 MoE blocks with 64 experts each (1536ร—2048), 30 blocks with a short-convolution stack (shortconv.in_proj/out_proj/conv), and 10 blocks with full attention (2048ร—512 K/V). Embeddings are tied (there is no output.weight), the vocab is 128,000 tokens, and the context length is 131,072. Routed experts are 95.7% of all parameters.

License: LFM Open License v1.0 โ€” local and research use is free; commercial use is allowed for entities under the $10M annual revenue threshold. Vendor card: https://huggingface.co/LiquidAI/LFM2.5-24B-A2B

Files

This is a text-only model: no MTP/NextN draft block, vision tower, or projector tensors are included, and no mmproj file is needed.

File Size BPW Expert ladder (38 MoE blocks)
quant/LFM2.5-24B-A2B-Heretic-GSQ-RCO-IQ2_XS.gguf 6.99 GiB 2.50 17 edge @ IQ2_S, 1 @ IQ2_XS, 20 inner @ IQ2_XXS
quant/LFM2.5-24B-A2B-Heretic-GSQ-RCO-IQ2_S.gguf 7.56 GiB 2.70 9 edge @ IQ3_XXS, 2 @ IQ2_S, 27 inner @ IQ2_XS
quant/LFM2.5-24B-A2B-Heretic-GSQ-RCO-IQ3_XXS.gguf 8.39 GiB 3.01 25 edge @ IQ3_XXS, 2 @ IQ2_S, 11 inner @ IQ2_XS
quant/LFM2.5-24B-A2B-Heretic-GSQ-RCO-IQ3_S.gguf 9.78 GiB 3.50 32 edge @ IQ3_S, 3 @ IQ3_XXS, 3 inner @ IQ2_S

Only the final quantized builds are hosted here. The intermediate Q8_0 source and the importance matrix are linked below instead of being mirrored in this repository.

Source and provenance

The uncensor was produced with Heretic: a training-free abliteration pass that estimates the model's refusal direction, projects it out of selected weight matrices, and keeps trials under a KL bound with behavioural checks.

vendor BF16
  โ†’ Heretic abliteration kept at BF16 (OS-Software)
  โ†’ Q8_0 GGUF (effectively lossless)
  โ†’ these IQ2_XS / IQ2_S / IQ3_XXS / IQ3_S builds

Quantization

"GSQ-RCO-style" means a format-compatible equivalent of the GSQ/RCO edge-weighted mixed-precision recipe; the published GSQ/RCO engines cannot emit GGUF.

The edge-weighted ladder runs on ffn_(gate|up|down)_exps; 95.7% of parameters live in routed experts, so the experts carry the compression. Fixed policies:

  • token_embd Q8_0 (tied, so it also serves the output header);
  • router ffn_gate_inp Q8_0;
  • attention: attn_q / attn_output Q6_K, attn_k / attn_v Q8_0;
  • shortconv: in_proj / out_proj Q6_K, the small 3ร—2048 conv Q8_0;
  • dense MLP blocks 0 and 1: Q6_K;
  • 1-D norms and biases: fp32.

All four builds were smoke-tested with CPU-only llama.cpp tooling: they load, stay coherent, and produce reasoning output. The 8โ€“11 t/s CPU number is a smoke signal, not a serving number.

Usage

llama-cli -m quant/LFM2.5-24B-A2B-Heretic-GSQ-RCO-IQ3_S.gguf

IQ3_S is the safer default; IQ3_XXS is the smaller option.

Honest limits

  • Heretic's behavioural test suite belongs to the community work, not this repository. These builds were checked for load, run, and coherence only.
  • The IQ2/IQ3 tiers inherit quantization loss. For strict quality comparisons, use OS-Software's Q6_K or BF16 path.
  • This llama.cpp build supports the lfm2_moe architecture out of the box.
Downloads last month
1,970
GGUF
Model size
24B params
Architecture
lfm2moe
Hardware compatibility
Log In to add your hardware

2-bit

3-bit

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

Model tree for lavendercomputing/LFM2.5-24B-A2B-Heretic-GSQ-RCO-GGUF

Quantized
(86)
this model