Downloads · 30 days
20
5% of all-time downloads
rdtand/LFM2.5-8B-A1B-PrismaQuant-6.5bit-vllm
LFM2.5-8B-A1B-PrismaQuant-6.5bit-vllm is a machine learning model from rdtand. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for compressed-tensors.
Post-training mixed-precision quantization of LiquidAI/LFM2.5-8B-A1B, produced with PrismaQuant — a per-Linear format allocator that places each weight matrix at the cheapest format its KL-sensitivity allows, then exp…
Downloads · 30 days
20
5% of all-time downloads
All-time downloads
410
Public
Parameters
6.6B
8.4 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors8.3 GB · 100%
How the weights are stored.
F8_E4M33.5B · 52%
From the Hugging Face model README
Post-training mixed-precision quantization of
LiquidAI/LFM2.5-8B-A1B,
produced with PrismaQuant — a per-Linear format allocator that places
each weight matrix at the cheapest format its KL-sensitivity allows, then
exports to compressed-tensors.
| Precision | compressed-tensors / mixed-precision |
| Average bits/param | ~6.58 bpp (allocator post-cliff log knee) |
| On-disk size | 8.35 GB |
| Quantized-Linear mix | NVFP4 (4b) ×27, FP8_E4M3 (8b) ×20, BF16 ×27 |
| BF16 passthrough | short-conv in/out_proj, all RMSNorms, router + expert_bias, embed/lm_head, plus a few sensitive expert layers |
| end-KL vs BF16 | 0.131 nats/token (PrismaQuant harness) |
| ToolEvalBench (74 hard-mode) | 70/100 (104/148) — identical to the BF16 source |
| vLLM serving | ✅ loads + generates coherently (matches BF16) |
ToolEvalBench agentic tool-call benchmark, 74 hard-mode
scenarios (--temperature 0 --seed 1234 --timeout 180 --parallel 1), served
through vLLM with the lfm2 tool-call parser:
| This (6.58 bpp NVFP4) | BF16 source | |
|---|---|---|
| Score | 70 / 100 | 70 / 100 |
| Points | 104 / 148 | 104 / 148 |
Quantization is capability-neutral here — the 4-bit MoE experts match the BF16 source on aggregate agentic tool use (and on Tool Selection, Restraint & Refusal, and Error Recovery the quantized model scores 100%). Per-category differences are within single-run greedy noise; the only category where the quant trails is Safety & Boundaries (20/26 vs 24/26).
The MoE experts (≈93% of params) carry the compression and are mostly NVFP4 (4-bit); sensitive paths stay FP8/BF16.
vllm serve <this-dir> --quantization compressed-tensors --trust-remote-code
Requires a vLLM build with Lfm2MoeForCausalLM and the LFM2 short-conv /
linear-attention kernels (causal-conv1d, flash-linear-attention). Use the
model's chat template — it's an instruct/reasoning model (raw-text
completion will look degenerate; this is the base model's behavior, not a
quantization artifact, and is identical to the BF16 source).
ShortConv without
a quant_config), and NVFP4 experts are emitted under vLLM's canonical
gate_proj/up_proj/down_proj scheme names so the FusedMoE scheme detector
binds correctly.Attribution: [email protected]