--- base_model: thinkingmachines/Inkling-2-Mini license: apache-2.0 license_link: https://www.apache.org/licenses/LICENSE-2.0 pipeline_tag: image-text-to-text library_name: transformers tags: - inkling2 - moe - expert-pruning - la-reap - reap - looped-transformer - multimodal - vision --- # Inkling-2-Mini-LA-REAP-64E **Loop-Aware REAP (LA-REAP)** pruned checkpoint of [`thinkingmachines/Inkling-2-Mini`](https://huggingface.co/thinkingmachines/Inkling-2-Mini) (`c9d028302cd0`), uniformly compressed from `128 → 64` routed experts per layer (50.0% expert sparsity, ~14.15B total parameters) while preserving native NVFP4/MXFP8 storage precision, vision projector compatibility, and DSpark speculative drafter (`mtp.safetensors`). - **GGUF + Vision + DSpark Release:** [`saimcodes/Inkling-2-Mini-LA-REAP-64E-GGUF`](https://huggingface.co/saimcodes/Inkling-2-Mini-LA-REAP-64E-GGUF) - **Code & Reproduction Toolkit:** [`inkling-prune`](https://github.com/saim-x/inkling-prune) - **Author:** Muhammad Saim (`x_aci@hotmail.com`) ## Download ```bash hf download saimcodes/Inkling-2-Mini-LA-REAP-64E --local-dir ./Inkling-2-Mini-LA-REAP-64E ``` ## Verified Evaluation Results ### Distributional Fidelity & Ablations | Variant | Mean KLD ↓ | Top-1 Agreement ↑ | WikiText-2 PPL ↓ | | --- | --- | --- | --- | | freq_only_64e | 1.0628 | 70.27% | 13.15 | | pooled_reap_mean_64e | 0.7337 | 66.62% | 14.82 | | pooled_reap_mass_64e | 0.5793 | 72.47% | 12.94 | | la_reap_mean_64e | 0.7108 | 67.75% | 14.69 | | la_reap_mass_64e | 0.5484 | 72.79% | 12.93 | | la_reap_hybrid_64e | 0.5260 | 73.41% | 12.93 | | la_reap_max_only_64e | 0.5768 | 72.36% | 13.07 | | la_reap_hybrid_64e_tier0_disk | 0.5255 | 73.36% | 12.94 | | LA-REAP-64E-tier1_1epoch_step40_disk | 0.5193 | 73.46% | 12.88 | ### Capabilities | Benchmark | Score | Notes | | --- | --- | --- | | ARC-Challenge (250) | 84.8% | vs 95.2% unpruned 128E | | HellaSwag (200) | 56.5% | vs 64.0% unpruned 128E | | MMLU-Pro (200) | 19.0% | vs 36.5% unpruned 128E | | GSM8K (60) | 88.3% | LA-Q4_Mix GGUF (reasoning_effort=low) | | HumanEval (50) | 44.0% | LA-Q4_Mix GGUF (executed Python unit tests) | | Playwright UI Grounding (Set-of-Marks) | 5/5 (100%) | RTX 3060 12 GB + mmproj-F16 + DSpark (15.48 s/step) | | Playwright UI Grounding (Raw Coords) | 0/5 (0%) | Uncalibrated pixel regression (20.02 s/step; SoM recommended) | ### RTX 3060 12 GB + 16 GB RAM Telemetry | Configuration | Peak VRAM (MiB) | Peak Host RAM (MiB) | Decode (tok/s) | DSpark (tok/s) | | --- | --- | --- | --- | --- | | LA-Q4_Mix (4K) | 9819 | 1164 | 46.4 | — | | LA-Q4_Mix (16K) | 10175 | 1587 | 42.2 | 46.6 (draft_max_2) | | LA-Q4_Mix (32K) | 10487 | 1944 | 39.1 | — | | LA-Q4_Mix (64K) | 11551 | 2653 | 33.3 | — | | LA-Q4_Mix (pp2048_4K) | 10250 | 1164 | 45.0 | — | | llama-server + mmproj + no_draft (16K, -np 1 -lm none) | 10673 | 1274 | 42.1 | — | | llama-server + mmproj + draft_max_2 (16K, -np 1 -lm none) | 12047 | 1503 | — | 46.6 (51.6% accept) | | llama-server + mmproj + draft_max_3 (16K, -np 1 -lm none) | 12006 | 1507 | — | 45.4 (45.4% accept) | | IQ4_XS (7.74 GB) + mmproj + no_draft (16K, -np 1 -lm none) | 10201 | 1092 | 48.7 | — | | IQ4_XS (7.74 GB) + mmproj + draft_max_2 (16K, -np 1 -lm none) | 11780 | 1318 | — | 50.9 (55.3% accept) | ### Comfortable 12 GB VRAM Headroom (`LA-REAP-64E-IQ4_XS`, 7.74 GB on RTX 3060) | Configuration (`LA-REAP-64E-IQ4_XS`, 7.74 GB) | Decode / Mean (tok/s) | DSpark Accept % | Peak GPU VRAM (MiB) | Peak Host RSS (MiB) | |---|---:|---:|---:|---:| | `llama-bench 4K` | 48.5 | — | 9529 | 981 | | `llama-bench 16K` | 43.3 | — | 9931 | 1404 | | `llama-bench 32K` | 41.1 | — | 10267 | 1730 | | `llama-server + mmproj + no_draft (16K)` | **48.7** | — | 10201 | 1092 | | `llama-server + mmproj + draft_max_2 (16K)` | **50.9** | 55.3% | 11780 | 1318 | | `llama-server + mmproj + draft_max_3 (16K)` | **48.1** | 47.8% | 11679 | 1324 | ### Head-to-Head at ~7.7-8.9 GB: Pruned 4-Bit (`LA-REAP-64E`) vs Unpruned 2-Bit (`UD-IQ2_XXS`) | Metric | Unpruned 128E `UD-Q4_K_XL` (17.63 GB) | Unpruned 128E `UD-IQ2_XXS` (8.49 GB) | Pruned 64E `LA-Q4_Mix` (8.86 GB) | Pruned 64E `IQ4_XS` (7.74 GB) | |---|---:|---:|---:|---:| | **RTX 3060 16K VRAM / RSS (`llama-bench`)** | OOM (CPU offload) | 10602 / 1639 MiB | 10175 / 1587 MiB | **9931 / 1404 MiB** | | **RTX 3060 `llama-server + mmproj` (`no_draft`)** | OOM | 47.3 tok/s (10744 MiB) | 42.1 tok/s (10673 MiB) | **48.7 tok/s (10201 MiB)** | | **RTX 3060 + DSpark (`draft_max=2`)** | Regresses | 50.4 tok/s (48.2%, 11983 MiB) | 46.6 tok/s (51.6%, 12047 MiB) | **50.9 tok/s (55.3%, 11780 MiB)** | | **HumanEval (n=50, `--reasoning-budget 0`)** | — | 44.0% | 46.0% | **50.0%** | | **GSM8K (n=60, `reasoning_effort=low`)** | 90.0% | **93.3%** | 85.0% | 86.7% | | **ARC-Challenge (n=250, zero-shot)** | 95.2% (BF16) | **94.4%** | 86.0% | 85.2% | | **HellaSwag (n=200, zero-shot)** | 64.0% (BF16) | **64.5%** | 54.0% | 48.5% | | **MMLU-Pro (n=200, 10-way zero-shot)** | 36.5% (BF16) | **33.5%** | 18.5% | 18.0% | | **Playwright `1280x800` Set-of-Marks (`som`)** | — | **5/5 (2.90s)** | 5/5 (15.48s) | **5/5 (3.01s)** | | **Playwright `1280x800` Raw Pixels (`coords`)** | — | **5/5 (5.29s)** | 0/5 (20.02s) | 2/5 (14.27s) | ## Honest Limitations - Uniform 50% expert pruning (`128 → 64`, on top of Thinking Machines' mid-training `384 → 128` pruning) trades away long-tail encyclopedic trivia (`MMLU-Pro`) and raw uncalibrated pixel-coordinate regression (`coords`) in exchange for fitting 100% natively in 12 GB VRAM with native `NVFP4/MXFP8` safetensors, higher non-reasoning direct coding (`50.0%` vs `44.0%` HumanEval `--reasoning-budget 0` on `IQ4_XS` vs unpruned `UD-IQ2_XXS`), higher DSpark acceptance (`55.3%` vs `48.2%`), and `543-671 MiB` lower VRAM. - For browser grounding with `LA-REAP-64E`, use **Set-of-Marks (`som`, `5/5 = 100%` @ `3.01 s/step` on `IQ4_XS`)** rather than raw `(x, y)` coordinate regression. - Verify `SHA256SUMS` and inspect `pruning_manifest.json` for exact per-layer retained expert indices and decontamination logs. ## License & Attribution Released under **Apache 2.0**, matching upstream `thinkingmachines/Inkling-2-Mini` and subject to Thinking Machines Lab's Model Acceptable Use Policy. Credits: Thinking Machines Lab, Cerebras/UCalgary (REAP, ICLR 2026), Unsloth, and Jake Harris (`jjh-inkling-2-mini-12gb`).