Instructions to use VladHong/Groot-19B-A3B-261023-APEX-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use VladHong/Groot-19B-A3B-261023-APEX-GGUF with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf VladHong/Groot-19B-A3B-261023-APEX-GGUF # Run inference directly in the terminal: llama cli -hf VladHong/Groot-19B-A3B-261023-APEX-GGUF
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf VladHong/Groot-19B-A3B-261023-APEX-GGUF # Run inference directly in the terminal: llama cli -hf VladHong/Groot-19B-A3B-261023-APEX-GGUF
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf VladHong/Groot-19B-A3B-261023-APEX-GGUF # Run inference directly in the terminal: ./build/bin/llama cli -hf VladHong/Groot-19B-A3B-261023-APEX-GGUF
Use Docker
docker model run hf.co/VladHong/Groot-19B-A3B-261023-APEX-GGUF
- Llama new
- LM Studio
- Jan
- vLLM
How to use VladHong/Groot-19B-A3B-261023-APEX-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "VladHong/Groot-19B-A3B-261023-APEX-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "VladHong/Groot-19B-A3B-261023-APEX-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/VladHong/Groot-19B-A3B-261023-APEX-GGUF
- Ollama
How to use VladHong/Groot-19B-A3B-261023-APEX-GGUF with Ollama:
ollama run hf.co/VladHong/Groot-19B-A3B-261023-APEX-GGUF
- Unsloth Desktop
- Pi
How to use VladHong/Groot-19B-A3B-261023-APEX-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf VladHong/Groot-19B-A3B-261023-APEX-GGUF
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:9931/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "VladHong/Groot-19B-A3B-261023-APEX-GGUF" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use VladHong/Groot-19B-A3B-261023-APEX-GGUF with Docker Model Runner:
docker model run hf.co/VladHong/Groot-19B-A3B-261023-APEX-GGUF
- Lemonade
How to use VladHong/Groot-19B-A3B-261023-APEX-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull VladHong/Groot-19B-A3B-261023-APEX-GGUF
Run and chat with the model
lemonade run user.Groot-19B-A3B-261023-APEX-GGUF-{{QUANT_TAG}}List all available models
lemonade list
- Hermes Agent
How to use VladHong/Groot-19B-A3B-261023-APEX-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf VladHong/Groot-19B-A3B-261023-APEX-GGUF
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:9931/v1 hermes config set model.default VladHong/Groot-19B-A3B-261023-APEX-GGUF
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use VladHong/Groot-19B-A3B-261023-APEX-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf VladHong/Groot-19B-A3B-261023-APEX-GGUF
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:9931/v1 \ --custom-model-id "VladHong/Groot-19B-A3B-261023-APEX-GGUF" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
- Groot-19B-A3B APEX Mini (imatrix-calibrated, zh-share swept)
- Files
- โ ๏ธ Do not use this model for vision
- Scope
- โ ๏ธ This model has no working knowledge of Chinese classical literature
- Which Chinese share? A measured 3-arm sweep
- Calibration set
- Deviation from the original โ final tiers
- Where the bits belong โ measured, not assumed
- Real-chat checks (llama.cpp, greedy, thinking mode on)
- Precision map
- Known traits
- Usage
- Provenance
- Credits
- Files
Groot-19B-A3B APEX Mini (imatrix-calibrated, zh-share swept)
APEX (mudler/apex-quant) Mini mixed-precision quantization of GrootTeam/Groot-19B-A3B-261023 โ a 19B-total / ~3B-active reasoning MoE: 40 layers (30 linear-attention + 10 full-attention, full_attention_interval=4), 128 routed experts x 8 active + 1 shared, 262K context, Apache-2.0. Architecture qwen3_5_moe (GGUF qwen35moe). Text only โ no vision, and no MTP speculative decoding; see the warnings below.
Files
| file | size | notes |
|---|---|---|
groot-APEX-Nano.gguf |
7,003,636,320 B (7.00 GB) | Q3_K edge, IQ2_S near, IQ2_XXS mid experts โ smallest |
groot-APEX-Mini-Lean.gguf |
7,749,394,016 B (7.75 GB) | mid experts IQ2_XXS, attention Q5_K โ smaller than Mini, closer on English |
groot-APEX-Mini.gguf |
7,947,354,720 B (7.95 GB) | Q3_K edge/near experts, IQ2_S mid experts, Q5_K/Q4_K shared, Q4_K/Q3_K attn โ original |
groot-APEX-Mini-Plus.gguf |
8,252,710,496 B (8.25 GB) | attention Q5_K, experts as Mini โ recommended |
groot-imatrix-20zh.dat |
195,537,984 B | the winning importance matrix โ ship it so any other tier can be re-quantized |
All four tiers come from the same calibration and the same base type; they differ only in where precision is spent. Mini-Plus is the one to take โ it is closer to the original than every other tier on both languages for 3.8% more size than Mini. Mini-Lean is the smaller option. Mini is retained because it is the middle point that is cheapest on Chinese among the non-Plus tiers, and because it is what earlier downloads of this repo reference. See Where the bits belong for the measurements behind the allocation.
No F16 GGUF and no upstream weights are published here. This repository contains quantized model files plus the importance matrix used to build them.
repro/ holds everything needed to rebuild any tier from the upstream checkpoint: the tensor-type configs (including Mini-Max, which was measured but deliberately not shipped), the contamination-gated calibration slices, the raw sweep and KL measurements, the executable probe ground truth, and the pipeline scripts. ~2 MB, no weights.
The imatrix is in llama.cpp's current GGUF-container format (the upstream default; it carries per-tensor statistics โ skewness, kurtosis, gain โ not just the sums), but is named .dat to match the convention the APEX scripts and the wider ecosystem use. llama-quantize --imatrix auto-detects the format, so the file works as shipped. It was computed over 108,413 calibration tokens at 512-token context, and every one of the 60 tensors that the Mini config assigns an IQ type to has imatrix data for it (verified, zero missing) โ those types cannot be quantized without it.
โ ๏ธ Do not use this model for vision
This is a text model. It carries no vision tower and no image projector, and it should not be used for image input. Two separate reasons, and the second is the one that matters:
The vision tensors are not in the file. The 333 vision tensors of the upstream checkpoint are excluded from the text conversion. There is no
mmprojshipped here and none is needed, because this release is text-only.Even with an F16 mmproj bolted on, the quantized model's perception was unreliable. A synthetic analog clock reading 03:30 โ an unambiguous clock with a hand on the 6 and a hand halfway between 3 and 4 โ was answered 04:30 by APEX Mini, 02:30 by APEX Nano on another run, and 03:30, 03:30 and 04:30 by three APEX Nano runs of a byte-identical payload. Both quantized tiers produced both correct and incorrect readings of the same unambiguous clock under the same settings, so this is not one unlucky sample. The hour hand was described as pointing "slightly up, between 2 and 3" when it points slightly down, between 3 and 4: the model is guessing at a small angular offset, and quantization makes the guess unstable. A single F16 run read it correctly, which is too few observations to call F16 reliable either โ but nothing suggests the F16 conversion is worse.
If you need image understanding, use the upstream BF16 checkpoint or its official NVFP4/FP8 builds. Do not attach images to this one.
Scope
MTP is out of scope for this release. The upstream checkpoint carries a 1-layer Multi-Token Prediction draft head (blk.40.nextn.*). The conversion keeps it inside the GGUF and it falls back to the Q6_K base type, so it is present and harmless โ but no speculative decoding is configured or validated here, and no speedup from MTP is claimed. The card reports single-stream generation speed only.
โ ๏ธ This model has no working knowledge of Chinese classical literature
Do not use it for classical Chinese poetry, and do not trust it when the answer requires recalling a poem, an author, or a line from a canonical text.
What was tested. The prompt was the opening line of Li Bai's ๅฐ่ฟ้
โ ็น็พๅฎฐ็ไธไธบไน โ and nothing else. The next line is ไผ้กปไธ้ฅฎไธ็พๆฏ and the author is ๆ็ฝ. The check was whether the model would produce the line, or mention the author by name, anywhere in its output.
| model | runs | recognized the poem |
|---|---|---|
| F16 | 3 | no |
| APEX Mini | 2 | no |
| APEX Nano | 1 | no |
Every run of every model tested failed. Not one response produced ไผ้กปไธ้ฅฎไธ็พๆฏ or mentioned ๆ็ฝ โ not in the final answer, and not in the reasoning block either. Greedy decoding was used so the answer could not drift between runs, and the F16 conversion gave a byte-identical answer on every run: it took the line literally as a joke about cooking meat and offered recipe suggestions. The APEX tiers did the same thing, dressing it up as an English translation joke.
This is an upstream limitation, not a quantization defect. The F16 conversion โ the same weights at full precision, converted from the same checkpoint โ fails it identically, which means the quant reproduces the original's behaviour faithfully, including here. There is no configuration of this quantization that would fix it. But the practical consequence stands: the model will answer this class of question fluently and confidently and wrongly rather than admitting it does not know, so it should not be pointed at classical Chinese literature at all.
Which Chinese share? A measured 3-arm sweep
Rather than inherit a language ratio from a previous model, three APEX-Mini quants were built that differ only in the Chinese share of the imatrix calibration text: 15%, 20% and 30%. Everything else is held fixed โ same 107,493-token budget, same nine source labels, same Mini config, same Q6_K base fallback. The non-Chinese paragraphs are nested prefixes of one shuffled pool (verified: 30zh's 220 non-CJK paragraphs โ 20zh's 279 โ 15zh's 345), so no arm sees English or code text that the others were denied โ they differ only in how much of it fits alongside the Chinese at a fixed token budget.
| arm | paragraphs | file chars | CJK chars | CJK share | file tokens | bytes |
|---|---|---|---|---|---|---|
| 15zh | 844 | 313,705 | 46,192 | 14.72% | 109,240 | 416,352 |
| 20zh | 905 | 293,150 | 58,518 | 19.96% | 108,413 | 422,873 |
| 30zh | 1,030 | 265,328 | 77,856 | 29.34% | 108,696 | 437,559 |
The budget is equal in tokens, not characters (0.76% spread), because a Chinese character costs roughly twice the tokens an English one does โ matching characters would have confounded share with corpus size.
Held-out KL divergence vs F16 (lower = closer to the original)
| arm | EN mean KL | ZH mean KL | EN max KL | ZH max KL | EN PPL ratio | ZH PPL ratio | primary score |
|---|---|---|---|---|---|---|---|
| 20zh <- winner | 0.141713 | 0.151693 | 6.83 | 6.35 | 1.0895 | 1.0855 | 1.0001 |
| 30zh | 0.141673 | 0.152135 | 7.97 | 7.21 | 1.0894 | 1.0833 | 1.0015 |
| 15zh | 0.141843 | 0.152479 | 6.54 | 6.77 | 1.0905 | 1.0871 | 1.0032 |
Selection rule, fixed before any arm was measured: divide each arm's mean KL by the best arm's mean KL within each language (EN and ZH KL have different scales), then average the two ratios; lowest wins. Ties within 0.5% break on the same normalization of max KL, then on higher mean same-top-token probability. Winner: 20zh (19.96% CJK). Both final tiers use this one imatrix.
What the sweep actually shows. The mean KL differences between the three arms are small: EN: 0.12% spread across the three arms, against a ยฑ0.88% error bar โ inside the error bars; ZH: 0.52% spread across the three arms, against a ยฑ2.04% error bar โ inside the error bars. So on the average, the calibration language share does not measurably change how far the Mini quant sits from F16 at this tier. What it does change is the tail: the worst single-language max KL ranges from 6.77 to 7.97 across the arms, an 18% spread, and averaging the two languages' max KL (the tie-break metric) separates the arms much more sharply: 20zh scores 1.0224 against 30zh's 1.1782. The winner was therefore settled on the tail, not on the mean โ the arm with the best English mean KL had a clearly worse worst case, which is the failure mode a max-KL number is there to catch. If you read only one number from this table, read the max-KL columns.
Two properties of this rule are worth stating, because they decide cases a reader might expect to go the other way. Normalizing per language means no arm is rewarded for being good at English while being poor at Chinese: an arm that is best on one language and worst on the other ties with an arm that is mediocre on both, rather than beating it. And because the rule rewards balance, a middling-but-even arm does not automatically win either โ it has to beat the specialists on the averaged ratio. The rule was unit-tested against five synthetic cases (clear winner, sub-0.5% tie broken on max KL, specialist-versus-balanced, exact three-way tie, incomplete arm) before it was pointed at any Groot measurement.
Held-out sets: EN = wikitext-2-raw test (the calibration uses the validation split), 150 chunks; ZH = three d2l-zh chapters (bert, resnet, transformer) plus the boilerplate paragraphs that chapters share, 224 paragraphs, 55 chunks โ all the file contains at 512 tokens. Every paragraph appearing in either eval file was gated out of all three calibration slices โ see below. Two limits worth stating: the ZH set is a technical textbook with code listings, so it is only ~11.7% CJK by character and tests Chinese technical prose rather than general conversation; and at 55 chunks its error bars are wider than the EN side, which is why the selection rule normalizes per language and averages rather than pooling raw KL.
Calibration set
Built with llama-imatrix at 512-token context on the winning 422,873-byte slice. Sources, round-robin balanced (the source list and the paragraph filter are imported verbatim from the workspace's existing assemble_calib.py, not reimplemented):
| source | paragraphs available |
|---|---|
bartowski_v5 |
782 |
wikitext_valid |
1,661 |
code_llama_cpp |
265 |
code_llama_arch |
45 |
code_imatrix |
133 |
code_merge |
39 |
zh_ruanyf |
319 |
zh_d2l |
1,364 |
agent_tools |
65 |
bartowski's calibration_datav5 (chat/forums/papers), wikitext-2-raw validation, llama.cpp C++ sources, the workspace merge script, ruanyf/weekly and 32 chapters of the d2l-zh Chinese deep-learning textbook, plus a locally-generated tool-calling corpus (read_file/run_command/grep-style JSON transcripts โ synthetic, disclosed as such).
Safety filter โ drop counts only
Every paragraph passes a blocklist before it can enter the pool. A matching paragraph is dropped whole. Only counts are reported, never the matched content.
| category | paragraphs dropped |
|---|---|
| adult | 7 |
| gambling | 10 |
| seo_spam | 0 |
| weapons_drugs | 0 |
| malware_abuse | 0 |
| hate_slurs | 0 |
| total harm-category drops | 17 |
Eval-contamination gate
A further 224 unique paragraphs were dropped because they appear in the held-out evaluation files. This matters: the Chinese eval chapters also exist in the calibration source tree, so without this gate the sweep would have been scoring models partly on text they were calibrated on. The gate covers 2,082 eval paragraph keys in total (224 from the Chinese set, 1,858 from wikitext-2-raw test). It was re-verified after the fact by re-deriving both eval key sets under the source normalization and under raw paragraph splitting โ the two agree exactly, so no paragraph can slip through a normalization mismatch โ and by intersecting the written slices against them. All three slices have zero paragraph overlap with either eval set.
Deviation from the original โ final tiers
Measured against the F16 conversion on held-out text, CPU, 24 threads, 512-token context. F16 reference perplexity: EN 12.6769 ยฑ 0.1876, ZH 2.5133 ยฑ 0.0426.
| tier | held-out | mean KL | max KL | 99.9% KL | PPL ratio vs F16 | same top token | chunks |
|---|---|---|---|---|---|---|---|
| APEX Nano | EN | 0.178108 ยฑ 0.001446 | 6.03 | 2.97 | 1.1170 | 80.6% | 150 |
| APEX Nano | ZH | 0.217479 ยฑ 0.004234 | 9.24 | 5.08 | 1.1267 | 86.7% | 55 |
| APEX Mini-Lean | EN | 0.108681 ยฑ 0.000976 | 6.49 | 2.22 | 1.0547 | 84.3% | 150 |
| APEX Mini-Lean | ZH | 0.157849 ยฑ 0.003229 | 6.24 | 4.07 | 1.0834 | 89.2% | 55 |
| APEX Mini | EN | 0.141713 ยฑ 0.001216 | 6.83 | 2.64 | 1.0895 | 83.0% | 150 |
| APEX Mini | ZH | 0.151693 ยฑ 0.003075 | 6.35 | 4.05 | 1.0855 | 89.4% | 55 |
| APEX Mini-Plus | EN | 0.083852 ยฑ 0.000793 | 5.15 | 1.77 | 1.0465 | 86.3% | 150 |
| APEX Mini-Plus | ZH | 0.107667 ยฑ 0.002285 | 5.63 | 3.16 | 1.0527 | 90.7% | 55 |
| APEX Mini-Max (measured; not published here) | EN | 0.081569 ยฑ 0.000793 | 6.65 | 1.82 | 1.0442 | 86.5% | 150 |
| APEX Mini-Max (measured; not published here) | ZH | 0.105709 ยฑ 0.002263 | 6.07 | 2.92 | 1.0494 | 90.9% | 55 |
Where the bits belong โ measured, not assumed
APEX's allocation is a fixed rule tuned on dense and hybrid-attention Qwen models: edge layers up, middle layers down, shared expert protected, attention uniform. Groot is a different architecture (30 linear-attention + 10 full-attention layers, 128 routed experts), so the exchange rates were re-measured rather than inherited.
Method is apex-quant's: a near-lossless base config plus one arm per tensor group in which that group alone is dropped a long way. Base is all-Q6_K (14.54 GiB, mean KL 0.016293); each arm drops one group to Q3_K. Sensitivity is dKL(arm) โ dKL(base), and the currency that governs allocation is that dKL per GB saved.
| tensor group | GiB saved | dKL | dKL/GB |
|---|---|---|---|
exps_mid |
2.930 | 0.015299 | 0.00522 |
exps_gate |
1.953 | 0.012025 | 0.00616 |
exps_up |
1.953 | 0.012615 | 0.00646 |
exps_down |
1.953 | 0.016201 | 0.00829 |
exps_edge |
1.465 | 0.012491 | 0.00853 |
token_embd |
0.185 | 0.004498 | 0.02431 |
output |
0.185 | 0.031787 | 0.17180 |
linattn |
0.366 | 0.063860 | 0.17438 |
fullattn |
0.099 | 0.028528 | 0.28761 |
shexp |
0.046 | 0.015098 | 0.32979 |
The spread is 63x from the cheapest group (exps_mid, 0.00522) to the dearest (shexp, 0.32979).
The ranking reproduces the published dense table wherever the two are comparable โ gate cheaper than up cheaper than down, and middle layers cheaper than edge โ which is a useful check that the method transfers. Two things invert on this architecture: linear attention is an order of magnitude dearer per byte here than in the dense Qwen model, and token_embd vs output is 7.1x rather than 15.3x. The absolute rates are architecture-specific, exactly as upstream warns.
What that implies, and what was built
Mid-layer routed experts are the cheapest place to take bytes; attention is the most expensive. The shipping Mini gets the first half right โ its lowest precision is on mid experts โ but it also compresses every attention layer to Q3_K/Q4_K. Two re-allocations were built that change nothing except precision placement: same imatrix, same base type, same tokenizer.
| tier | change vs Mini | size | EN mean KL | EN max | EN top | ZH mean KL | ZH max | ZH top |
|---|---|---|---|---|---|---|---|---|
| APEX Mini (shipped) | โ | 7.95 GB | 0.141713 | 6.83 | 83.0% | 0.151693 | 6.35 | 89.4% |
| Mini-Lean | mid experts IQ2_XXS, attention Q5_K |
7.75 GB | 0.108681 | 6.49 | 84.3% | 0.157849 | 6.24 | 89.2% |
| Mini-Plus | attention Q5_K only |
8.25 GB | 0.083852 | 5.15 | 86.3% | 0.107667 | 5.63 | 90.7% |
| Mini-Max | attention Q6_K only |
8.42 GB | 0.081569 | 6.65 | 86.5% | 0.105709 | 6.07 | 90.9% |
- Mini-Lean: size -2.5%, English mean KL -23.3%, Chinese mean KL +4.1% versus shipped Mini (negative KL change is better).
- Mini-Plus: size +3.8%, English mean KL -40.8%, Chinese mean KL -29.0% versus shipped Mini (negative KL change is better).
- Mini-Max: size +6.0%, English mean KL -42.4%, Chinese mean KL -30.3% versus shipped Mini (negative KL change is better).
Recommended: Mini-Plus. Lowest mean KL among the arms whose worst-case max KL stays within 10% of the best tail (5.15). Versus the shipped Mini: English mean KL 0.083852 (-40.8%), Chinese 0.107667 (-29.0%), at 8.25 GB (+3.8%). The gain is not from a better importance matrix or more calibration; it comes purely from spending the same bits where they are dearest.
- Mini-Lean is not recommended: dominated by Mini-Plus: higher English mean KL (0.108681 vs 0.083852) and a worse tail (6.49 vs 5.15), at 7.75 GB.
- Mini-Max is not recommended: a small average gain not worth the tail: English mean KL 0.081569 vs 0.083852, but worst-case max KL 6.65 vs 5.15, at 8.42 GB.
A negative result: gradient-weighted importance
llama.cpp's imatrix weights each input channel by its activation magnitude, combined with the weight itself inside the IQ scale search. A finer signal is available: the loss gradient with respect to the hidden representation, per token per layer, which says how much the loss actually cares about a channel rather than how large it is. A full imatrix was built from ฮฃ_tokens |x|ยท|dL/dx|, per input channel, per expert, over a 16,384-token slice โ and measured against an activation imatrix built on exactly the same tokens, at identical size.
| importance signal (same 16k tokens, same size) | EN mean KL | EN max | ZH mean KL | ZH max |
|---|---|---|---|---|
| activation magnitude | 0.143275 | 8.97 | 0.155508 | 6.46 |
| gradient-weighted | 0.180337 | 6.76 | 0.176981 | 6.72 |
The gradient signal lost: worse mean KL on both languages, better only on the English tail. The control rules out calibration volume as the explanation โ the same 16k-token activation imatrix is within 1.1% of the full-slice one, so the ~26% gap is the signal, not the token budget. The likely reason is that |dL/dx| is dominated by the current context, while activation magnitude is a more robust proxy for general behaviour. Reported because it is a plausible idea that would otherwise be retried.
Real-chat checks (llama.cpp, greedy, thinking mode on)
Identical settings on every model: temp 0 / top-k 1, 16384 context, 8192-token budget. Code answers are scored by executing them in CPython against reference values that were themselves computed by CPython โ not by reading the prose. maxRun is the longest immediately-repeated token run, a degeneration detector (>=12 flags a loop).
| check | F16 (ref) | Mini | Mini-Lean | Mini-Plus | Nano |
|---|---|---|---|---|---|
| arithmetic: 17*24 - sqrt(25) = 403 | PASS, maxRun 0 | PASS, maxRun 0 | PASS, maxRun 0 | PASS, maxRun 0 | PASS, maxRun 0 |
| coding: is_prime + range(0,20) trace | PASS, maxRun 3 | PASS, maxRun 3 | PASS, maxRun 0 | PASS, maxRun 0 | PASS, maxRun 0 |
| bug diagnosis: average() ZeroDivisionError + guard | PASS, maxRun 0 | PASS, maxRun 0 | PASS, maxRun 0 | PASS, maxRun 0 | PASS, maxRun 0 |
| Chinese: quicksort explanation + code, 8 arrays simulation-verified | PASS (8/8 arrays), maxRun 0 | PASS (8/8 arrays), maxRun 0 | PASS (8/8 arrays), maxRun 0 | PASS (8/8 arrays), maxRun 0 | PASS (8/8 arrays), maxRun 0 |
| agentic: read_file-based CSV revenue plan | PASS, maxRun 0 | PASS, maxRun 0 | PASS, maxRun 0 | PASS, maxRun 0 | PASS, maxRun 0 |
| control flow: generator + try/finally + continue trace | PASS, maxRun 0 | PASS, maxRun 0 | PASS, maxRun 0 | PASS, maxRun 0 | PASS, maxRun 0 |
| Chinese literature: ็น็พๅฎฐ็ไธไธบไน โ ไผ้กปไธ้ฅฎไธ็พๆฏ / ๆ็ฝ | FAIL (3/3 runs) | FAIL (2/2 runs) | FAIL (1/1 runs) | FAIL (1/1 runs) | FAIL (1/1 runs) |
| vision: analog clock read through an mmproj (expect 03:30) | not supported โ see warning above | not supported โ see warning above | not supported โ see warning above | not supported โ see warning above | not supported โ see warning above |
The F16 column is the reference: it is the same upstream model with the same settings, so a check that F16 also fails is an upstream trait, not damage from quantization. The verdict is taken from the final answer; when the reasoning block reached the right answer but the final statement did not, the cell says so rather than counting it as a pass.
One check did not pass, and it is reported rather than buried. On a synthetic analog clock, APEX Mini answered 04:30 where separate runs of F16 and of APEX Nano answered 03:30 โ but the instability is not Mini-specific: a later Nano run answered 02:30, and three runs of an identical Nano payload produced 03:30, 03:30 and 04:30. The clock image was eyeballed before use (hour hand between 3 and 4, minute hand on 6), so the fixture is right; the model was guessing at a small angular offset, describing the hand as pointing "slightly up, between 2 and 3" when it points slightly down, between 3 and 4. The sampling settings were ruled out โ greedy and sampled runs both produced both correct and incorrect readings โ and the single F16 observation was correct, though one observation is not enough to call F16 stable. The honest summary is that both quantized tiers read this clock unreliably, which is why the vision warning above is a warning and not a footnote.
Precision map
Generated with apex-quant/scripts/generate_config.sh --layers 40 --dense-layers 0 (all 40 Groot layers are MoE โ there are no leading dense FFN layers), then applied with llama-quantize --tensor-type-file. Base fallback type Q6_K.
| tensor group | layers | Mini-Plus (recommended) | Mini | Nano |
|---|---|---|---|---|
routed experts (ffn_{gate,up,down}_exps) |
0-4, 35-39 (edge) | Q3_K | Q3_K | Q3_K |
| routed experts | 5-9, 30-34 (near) | Q3_K | Q3_K | IQ2_S |
| routed experts | 10-29 (mid) | IQ2_S | IQ2_S | IQ2_XXS |
shared expert (ffn_*_shexp) |
0-4, 35-39 | Q5_K | Q5_K | Q5_K |
| shared expert | 5-34 | Q4_K | Q4_K | Q4_K |
| attention / linear-attention / SSM out | all 40 layers | Q5_K | Q4_K / Q3_K | Q4_K / Q3_K |
token_embd, output, shared-expert gates |
all | Q6_K (base) | Q6_K (base) | Q6_K (base) |
MTP draft block (blk.40) |
40 | Q6_K (base) | Q6_K (base) | Q6_K (base) |
Mini-Plus is exactly Mini with one change: every attention projection moves from Q4_K/Q3_K to Q5_K. That is the whole difference โ see Where the bits belong for why it is worth 3.8% more size.
The converter appends the MTP draft as blk.40 and reports block_count=41, so a 40-layer config deliberately does not cover it: the draft head stays at Q6_K. (MTP itself is out of scope for this release โ see Scope.) Norms, the routed-expert router and the SSM conv kernel are never quantized by llama.cpp regardless of config. A config-coverage audit confirmed all 430 core MoE/attention tensors in the body are covered by explicit rules; the only fallbacks are the embeddings, the output head, the 40 tiny shared-expert gates and the MTP block.
Known traits
- Thinking mode is on by default and is verbose. The assistant turn opens with a
thinkblock; a smallmax_tokenscan be consumed entirely by thinking. Give reasoning generations a generous budget. This is upstream behaviour, not a quantization artifact. - No vision. Text only. See the warning at the top.
- No speculative decoding. MTP is present in the file but out of scope; see Scope.
- Hybrid attention. 30 linear-attention (gated DeltaNet) + 10 full-attention layers. Requires a llama.cpp build with
qwen35moesupport; the recurrent memory path must be intact or evaluation crashes.
Usage
# text only โ no mmproj, no image input
llama-cli -m groot-APEX-Mini-Plus.gguf -c 32768 -t 16 -p "Your prompt" -st
# or serve it
llama-server -m groot-APEX-Mini-Plus.gguf -c 65536 -t 24 --host 127.0.0.1 --port 8080
Upstream's recommended sampling for precise coding is temp 0.6 / top_p 0.95 / top_k 20; for general thinking tasks temp 1.0 / top_p 0.95 / top_k 20 with presence_penalty 1.5. The verification above used greedy decoding so the two tiers were compared under identical deterministic settings.
Re-quantize to any other APEX tier with the shipped imatrix:
./scripts/generate_config.sh --profile compact --layers 40 --dense-layers 0 -o compact.txt
llama-quantize --tensor-type-file compact.txt \
--imatrix groot-imatrix-20zh.dat groot-F16.gguf groot-APEX-Compact.gguf Q6_K 24
Provenance
Every file here was produced locally from scratch. The upstream BF16 safetensors were downloaded from hf-mirror.com and verified byte-exact against the repository's blob API (19/19 files, 6 shards, 38,864,588,512 B of tensor data across 1,045 tensors), converted to F16 GGUF with llama.cpp's native qwen35moe handler, the importance matrices were computed locally with llama-imatrix, and every quantization was run locally with llama-quantize --tensor-type-file. No pre-built GGUF was copied or re-uploaded โ upstream publishes a Q4_K_M GGUF; it was not used, not downloaded, and is not contained in or derived into this repo.
What is borrowed is the method: APEX is mudler's quantization technique, and the tier definitions and config generator come from his MIT-licensed apex-quant repository, used per its license with attribution. His published imatrix and his published APEX GGUFs for other models were not used. The calibration corpus, its language-share sweep, the safety filter, the eval-contamination gate and every measurement above are original to this repo.
Credits
- GrootTeam/Groot-19B-A3B-261023 โ the upstream BF16 checkpoint (Apache-2.0). All capability is theirs.
- mudler/apex-quant โ the APEX method and official scripts (MIT). Method and tooling only.
- llama.cpp โ conversion, imatrix, quantization and evaluation.
- Calibration corpus: bartowski's calibration_datav5, wikitext-2, d2l-zh, ruanyf/weekly, llama.cpp sources, plus locally-generated tool-call transcripts.
- Downloads last month
- 642
We're not able to determine the quantization variants.
Model tree for VladHong/Groot-19B-A3B-261023-APEX-GGUF
Base model
GrootTeam/Groot-19B-A3B-261023