Qwen2.5-Coder-32B-MoQ-XRL-1.77bpw (GGUF)
Repository & Architecture: GitHub: Lumba77/FoveAI
Organization: Hugging Face: FoveAI
Author: Daniel LumbA / FoveAI Collective
⚡ Overview
Qwen2.5-Coder-32B-MoQ-XRL-1.77bpw is a custom ultra-dense quantization of Alibaba's flagship Qwen2.5-Coder-32B-Instruct, engineered specifically to run high-capability 32B dense reasoning 100% inside 8GB VRAM consumer GPUs (such as the Nvidia GeForce RTX 4060).
By exploiting the internal geometry of dense Transformer decoders and pairing with an official 448-chunk calibration importance matrix (imatrix), this model cuts 1.6 GB of weight compared to standard IQ2_XXS quants (dropping file size from 8.41 GB down to 6.78 GB) while maintaining coherent reasoning, code generation, and multi-turn stability.
🔬 Architectural Motivation: FFN vs. Attention Geometry
In a 32-billion parameter dense model like Qwen 2.5 32B:
- 83.0% of all parameters reside in the Feed-Forward Network (FFN:
ffn_gate,ffn_up,ffn_down). - Only 17.0% of parameters reside in the Self-Attention layers (
attn_q,attn_k,attn_v,attn_output).
Standard uniform quantizers penalize all layers equally or hit VRAM walls on 8GB cards. Using MoQ (Mixture-of-Quantization) calibrated via imatrix:
- Attention representations and critical token projections are protected with high-salience priority.
- The massive parameter bulk in the FFN blocks is quantized down to ~1.77 bpw (
IQ1_Scalibrated). - The resulting model fits into ~6.8 GB of VRAM, leaving ample room for KV-cache and background host processes.
🚀 Live Benchmarks (Tested on Consumer Nvidia RTX 4060 8GB)
- Prompt Processing Speed:
189.78 tokens/sec - Generation Speed (Speculative Drafted):
8.53 tokens/sec - VRAM Footprint: ~6.78 GB (Fits completely inside 8GB consumer hardware without CPU offloading penalty).
💡 Recommended llama.cpp / llama-server Setup
To achieve maximum performance on 8GB cards, pair this model with a speculative draft model running 100% in Host System RAM (-ngld 0), utilizing 0 MB of GPU VRAM for drafting:
Universal Qwen RAM Draft Pairing:
- Main Model:
Qwen2.5-Coder-32B-MoQ-XRL-1.77bpw.gguf(GPU offloaded:-ngl 99) - Draft Model:
Qwen2.5-Coder-1.5B-Instruct-Q4_K_M.gguf(Host RAM only:-ngld 0) - Vocabulary Match: Both models share the identical 152,064 token Qwen vocabulary.
Launch Command:
llama-server \
--model Qwen2.5-Coder-32B-MoQ-XRL-1.77bpw.gguf \
--model-draft Qwen2.5-Coder-1.5B-Instruct-Q4_K_M.gguf \
--n-gpu-layers 99 \
--n-gpu-layers-draft 0 \
--ctx-size 8192 \
--flash-attn \
--cache-type-k q4_0 \
--port 8408 \
--host 0.0.0.0
🌐 The FoveAI Ecosystem
This model serves as the Tier E Supreme Mind within the FoveAI cognitive architecture.
FoveAI pairs real-time foveated memory recall, dynamic residency hot-swapping, and speculative context compression (XRL) with localized embodied companion agents (Jen).