Novel APEX Quant of Laguna-S-2.1 (agentic coding, DFlash)

#1
by Myric - opened

🧩 New: APEX (MoE-aware mixed-precision) GGUF quants of Laguna-S-2.1 β€” a 118B-total / ~8B-active agentic-coding MoE, i-quality / i-compact / i-mini tiers, paired with the DFlash speculative-decoding draft for fast local coding.
Built on @poolside's Laguna-S-2.1 + DFlash draft, @unsloth's bf16 GGUF + reused imatrix, and the APEX recipe from @mudler / LocalAI. Thanks all πŸ™
https://huggingface.co/Myric/Laguna-S-2.1-APEX-GGUF

Which DFlash draft model file should I use?

Owner

Oops, I forgot to upload that one, but give me a few minutes. I discovered with Qwen 3.5 that the drafter works best if you match it to the quant. I'll upload an optimized one with an appropriate encoding. Which size were you interested in using? I can hit that one first.

The quality quant please, thanks. I'm assuming you meant which APEX model I am targeting.

Owner

I didn't actually quantize the drafter yet so I didn't upload it. I verified these quants do work with the stock bf16 encoder (https://huggingface.co/poolside/Laguna-S-2.1-GGUF/tree/main), but I'm about to upload a q8 one which is half the size and another to pair with the smaller quants.

Owner

This new one performs basically identically to the stock drafter and saves a GB: https://huggingface.co/Myric/Laguna-S-2.1-APEX-GGUF/blob/main/laguna-s-2.1-DFlash-Q8_0.gguf

Owner

Honestly, I copied the guidance from Laguna but they're probably running this on big iron where their high speed memory can more than keep up with their compute. On my DGX-Spark, it's snappy enough I mostly didn't bother with the drafter to get an extra few % speed. I'm adding a table to show the differences in speed. The Drafter guesses ahead, kind of like speculative execution on a CPU. It does not affect the output at all, but speeds things up slightly.

I'm throwing a q4 up as well which gave me maybe another 1% and is down to 652MB. I'm also adding a table with a no-drafter run so you can see the difference.

Myric changed discussion status to closed
Owner

OK, I stand corrected. The q4 drafter gave me a 20% boost vs the no-drafter run.

Owner

Ok yes @scottgl I added two drafter quants, but the fastest is actually the q4 across the board. I added tables with some measurements.

Owner

https://huggingface.co/Myric/Laguna-S-2.1-APEX-GGUF/blob/main/laguna-s-2.1-DFlash-Q4_K.gguf <-- This one ended up being best in every case I measured.

Sign up or log in to comment