Skip to main content
Back

ISTA DASLab Shrinks Inkling 2 Mini to 11 GB While Keeping 99.2% Accuracy

ISTA DASLab shipped mixed precision GGUFs of Inkling 2 Mini that keep 99.2 percent of base accuracy while shrinking the model to 11GB.

Pro

  • ISTA DASLab released mixed precision GGUF quantizations of Inkling 2 Mini, a 26.4B looped MoE from Thinking Machines.
  • The top IQ3_S build keeps 99.2 percent of base task average at 3.5 bits per weight.
  • Four builds ship from 8.98 GB (IQ2_S) to 11.43 GB (IQ3_S), all standard GGUF.
  • Uses GSQ for scalar quantization and RCO for per tensor bit allocation under a size budget.
  • Runs on llama.cpp b12611 or newer, with vision projector and DSpark speculative decoding draft included.
  • Each build ships a tensor allocation file exposing the search output for all 704 tensors.

ISTA DASLab has released four nonuniform GGUF builds of Thinking Machines’ 26.4 billion-parameter Inkling 2 Mini. The largest, IQ3_S, averages 3.5 bits per weight, occupies 11.43 GB, and retains 99.2% of the reference model’s average score across three reasoning benchmarks. Standard GGUF tensor types keep deployment within llama.cpp.

A recurrent MoE under the hood

Thinking Machines released Inkling 2 Mini on November 20 with 26.4 billion total parameters, 3.4 billion active parameters, and 5.4 billion weight activations per token once recurrent passes are counted. The architecture supports context lengths up to 1 million tokens.

The 24-layer network runs its first six layers once, its middle 12 layers three times, and its final six layers once for each token. Reusing the middle block gives the model additional internal computation without increasing its stored parameter count.

Mixture-of-experts layers contain 128 routed experts, with only a subset used for each token. That structure creates an opportunity for mixed precision because expert matrices, attention tensors, and dense layers respond differently to quantization error.

Two optimizers divide the bit budget

Gumbel-Softmax Quantization, or GSQ, is a post-training scalar quantization method. It jointly learns each coordinate’s quantization-grid assignment and each group’s scale through a Gumbel-Softmax relaxation. The method targets much of the quality associated with vector quantization at 2 to 3 bits while producing scalar formats supported by GGUF runtimes.

Riemannian Constrained Optimization, or RCO, chooses one of several quantization types for each eligible tensor while enforcing a total model-size budget. It represents those choices in logit space, the pre-softmax scores behind each option, and places the size constraint on a smooth Riemannian manifold. Gradient-based optimization can then meet the budget directly, without tuning a penalty coefficient for each target size.

The optimized search covers 169 targeted tensors. Routed-expert matrices receive lower precision than the attention path, concentrating the largest reductions where they cost the least benchmark accuracy.

Quantization formats considered by tensor class
Tensor class Candidate formats
Dense tensors IQ4_XS, Q4_K, Q5_K, Q6_K, Q8_0
ffn_gate_up_exps Formats from IQ1_S through IQ3_S
ffn_down_exps Formats from Q2_0 through IQ4_NL

Four files reveal the quality curve

ISTA DASLab reports results at xhigh reasoning effort on AIME25, GPQA-Diamond, and LiveCodeBench v6. The retained-average figure compares each build’s mean task score with the reference checkpoint’s mean.

Released Inkling 2 Mini GGUF builds
Build Average bits per weight File size Reference average retained
IQ2_S 2.75 8.98 GB 94.3%
Q2_K_XL 3.00 9.79 GB 98.0%
IQ3_XXS 3.25 10.61 GB 97.7%
IQ3_S 3.50 11.43 GB 99.2%

IQ3_S trails the reference by 1.00 point on AIME25, 0.67 point on GPQA-Diamond, and 0.57 point on LiveCodeBench v6.

IQ3_S benchmark results
Benchmark IQ3_S score Gap from reference
AIME25 98.33 1.00 point
GPQA-Diamond 86.20 0.67 point
LiveCodeBench v6 79.05 0.57 point

Q2_K_XL’s aggregate retention exceeds IQ3_XXS by 0.3 percentage points despite using 0.25 fewer average bits per weight. Per-tensor allocation and benchmark variance can produce these small inversions, so average bit width alone does not predict task scores.

The reference checkpoint already uses NVFP4 and MXFP8 formats for routed-expert weights. Reported retention therefore measures the GGUF builds against an existing mixed-precision baseline.

Bar chart comparing Inkling 2 Mini quantization variants on AIME25, GPQA-Diamond, and LiveCodeBench v6
Reported benchmark scores for the four GGUF variants and the reference checkpoint.

Why the BF16 embedding stays

The token-embedding tensor remains in BF16 across all four builds because it serves as a lookup table and never participates as an operand in matrix multiplication. llama.cpp places this input layer in system memory regardless of the -ngl setting.

Quantizing the embedding would reduce disk use by about 0.7 GB while leaving VRAM consumption unchanged. The authors kept it in BF16 to preserve precision where compression offers no GPU-memory benefit.

Context length sets the real memory ceiling

IQ3_S occupies 11.43 GB on disk, while runtime VRAM also holds compute buffers, backend allocations, and the key-value cache used to retain context. A 12 GB-class GPU has little spare capacity after extensive layer offload.

The architecture’s 1-million-token context support describes its maximum design capacity. Practical context length depends on KV-cache precision, batch size, backend, available VRAM, and system RAM. Deployment tests should use the intended context and workload rather than the checkpoint size alone.

Load IQ3_S with llama.cpp

  • Runtime: llama.cpp build b12611 or newer
  • Downloader: Hugging Face hf CLI or an equivalent client
  • Storage: 11.43 GB for IQ3_S, plus working space
hf download ISTA-DASLab/Inkling-2-Mini-GSQ-RCO-GGUF \
  --include "*IQ3_S.gguf" --local-dir .

llama-cli -m Inkling-2-Mini-GSQ-RCO-IQ3_S.gguf \
  -p "Explain mixed-precision quantization." -ngl 99

The -ngl 99 option requests GPU offload for all eligible layers. Lower values allow partial offload when VRAM is constrained. The -c option sets context length, which should be tested alongside the chosen KV-cache format.

Projectors, draft decoding, and audit files

The repository includes a vision projector for image inputs and a DSpark draft model for speculative decoding. Both assets work across all four quantized builds.

Speculative decoding uses a draft model to propose tokens that the main model can accept in batches. In a short two-prompt test with IQ3_S, the Q8_0 draft achieved a 65% token-acceptance rate and the BF16 draft achieved 36%. End-to-end speed also depends on draft latency, hardware, prompt length, and generation settings.

Each build includes a tensor-allocation text file that records the selected quantization type for all 704 model tensors, including fixed tensors and those covered by the 169-tensor optimization search. The manifests expose the complete mixed-precision layout for inspection and reproduction.

Picking a build from the data

IQ3_S provides the highest reported fidelity and is the authors’ recommended default. Q2_K_XL saves 1.64 GB and posts the stronger aggregate result among the two middle-sized builds. IQ2_S minimizes storage at a larger quality cost. Final selection depends on per-task behavior, intended context length, and measured memory use on the target backend.