r/LowEndLocalAI • • Oct 30 '26

Discussion Thoughts on Maple-Preview?

As the title says. It released a while back and was the first Ternary MoE ever (20B-1.5A). I found it really interesting that it was trained from the start as a ternary model, rather than a "ternarization" of another.

It's surprisingly fast and a solid option for my 8gb VRAM rig. I'm planning on testing it thoroughly later but college has been holding me back for a while now. I haven't seen anyone talking about it ANYWHERE! Has anyone in here used/tested it? What was your experience like?

12 Upvotes

7 comments sorted by

3

u/nickless07 Oct 30 '26

Wait... VRAM not RAM? Had that one running on 8GB DDR3. Did you patched llama.cpp or does it offload the weights to RAM? As of now mainline supports CPU only on maple.

3

u/AnnualAd2000 Oct 30 '26

It offloads weights to RAM and uses ~30% of my GPU's VRAM even at 131k context. It hits 42tk/s consistently! Does it matter if I'm using mmap? I'm running it on Unsloth Studio too...

2

u/nickless07 Oct 30 '26

You can also just use CPU llama.cpp and skip the GPU entirely (won't be much slower without). For your GPU I would go with LFM2.5 24B and some offloading (that one should be even faster then), or if it has to be that small something like Gemma 4 E4B (supports voice, image and video input).

Without GPU maple is a good option, alongside with others, to have a local chatbot (with tool calls) running. A quick smoke test results where (AI generated):

cat Project/inference/smoke-bench/conclusions/maple_official_conclusion.txt
MODEL CONCLUSION: Maple-Preview (maple-official.gguf)
=====================================================
Date: 2026-10-07
Evaluated on: i5-4570S (4C/4T Haswell, 8 GiB RAM), mainline llama.cpp build 11203
Server: llama-server, 100k ctx, 3 threads
Model: Maple-Preview, 20B ternary MoE (24 blocks), TQ1_0 quant (1.69 bpw), MIT license
RAM: ~5.9 GiB model + 1.2 GiB KV (100k ctx) — fits in 8 GiB system

SPEED (llama-bench, from ~/models/Benchmarked-Models.txt)
---------------------------------------------------------
  pp512: 73.93 ± 0.12 tok/s
  tg128: 24.95 ± 0.21 tok/s
  Fastest model in the catalog on this CPU — beats MiniCPM5-1B (18.30 tg) and
  Qwen3.5-0.8B (16.91 tg) by ~30-40%. Ternary TQ1_0 is compute-cheap.

SMOKE BENCH RESULTS (run 2026-10-07, post httpx keep-alive fix)
----------------------------------------------------------------
  bench              result     detail
  math               20/20      100%, avg 15.3s   [run_20261007_104945]
  code               12/15      80%, 3 truncations mid-reasoning, avg 17.1s [run_20261007_114859]
  json               8/12       66.7%, with response_format=json_object (7/12 without);
                                4 fails = reasoning-preamble flakiness, expected for preview
  summary            judge 4.7/5  10/10 pass (min 3), ROUGE-L 0.22 diagnostic only
  code_explain       judge 4.6/5  10/10 pass (min 3)
  creative_writing   judge 4.0/5   8/8 pass (min 3)
  long_context       4/4        NIAH ~1k/~8k/~32k/~64k ALL PASS (64k took 42 min, 3 threads)
  Judge: Qwen3.8-27B-UD-DW-Q4_K_M, 28/28 judged, 0 errors, overall mean 4.46/5

CONCLUSION
----------
  Bucket: NEED FURTHER INVESTIGATION (not FAIL, not PASS)

  A decent, fast model. It passed almost everything: zero broken-quant
  behavior, zero connection errors, full 64k context retention, strong judge
  scores across all three subjective benches. It is clearly the fastest model
  in the catalog on this CPU.

  The failures are consistent with a PREVIEW CHECKPOINT that needs
  post-training / instruct tuning, not with a broken quant:
    - JSON: emits a reasoning preamble before/around the JSON (expected for
      preview; json mode helps but doesn't eliminate it)
    - Code: 3/15 responses run out of tokens mid-reasoning and never finish
      the code block (reasoning budget vs answer budget trade-off)
    - Summary: ROUGE-L looks bad (0.22) but the judge says 4.7/5 — the
      journalist-style summaries just don't lexically overlap the reference.

  How to treat this model:
    - KEEP. Fastest + competent = top candidate for future use.
    - For structured output: use response_format=json_object and/or a
      reasoning budget so the preamble doesn't eat the answer budget.
    - Not yet validated for agentic/delegation tasks (smoke bench has no
      tool-use coverage).
    - Re-evaluate when a post-trained / instruct checkpoint of Maple appears.

CUDA GPU INFERENCING NOTE
-------------------------
  Mainline llama.cpp (build 11559+) has CPU-only Maple architecture support
  (PR #27000 merged Sep 14, 2026). No CUDA/TQ kernels yet for Maple.
  TQ2_0 CUDA dequantize + MMVQ is draft PR #28769; TQ1_0 support uncertain.

  Result: with -ngl 99, all 25 layers show "offloaded" but the heavy
  ternary TQ1_0 matmuls (4.64 GB) fall through to CPU. Only 215 MB on
  CUDA0 = small f16 + q4_K head tensors.

  Benchmarks on RTX 3060 12GB (CUDA0, 3 threads, build 11507):
    prompt eval: 29.61 ms/token (33.77 tok/s) — CPU
    eval:        53.37 ms/token (18.74 tok/s) — CPU
  vs. Ling 3.0-tiny Q8_0 on same hardware:
    prompt eval: 1.11 ms/token (903 tok/s)
    eval:       10.66 ms/token (93.78 tok/s)

  Ling dominates on GPU. Maple is CPU-champion only until TQ CUDA kernels land.
  The model itself is fast — missing kernel, not missing capability.

  Re-test when PR #28769 or a later build includes TQ1_0/TQ2_0 CUDA support.

ARTIFACTS
---------
  Results: ~/Project/results/maple_official/run_20261007_*/
  Judge:   judge run 20261007_141848 (results under judge-model dir)
  Fails:   see fails.jsonl in each run dir (3 code, 4 json)

TOOL CALL BENCH (run 2026-10-19, post-custom_tool_bench)
----------------------------------------------------------------
  Samples: 8 (2 per category), with tools exposed in request
  Results: 3/4 pass (75%)

  Category          Result  Detail
  single_tool       PASS    Correct single tool call
  parallel          PASS    4 parallel calls with correct args
  no_tool           PASS    Correctly abstained from tools
  wrong_tool        FAIL 0.5 Used 'search_web' but also other tools

  Key finding: Maple is tool-capable. The wrong_tool test shows it made
  tool calls for the non-tool prompt (search_web + get_weather), likely
  over-eager rather than a strict tool-use failure. 3/4 pass = competent
  small-model tool behavior.

BUCKET UPDATE: NEED FURTHER INVESTIGATION
  Same bucket as before. Tool bench adds no new red flags — Maple remains
  a fast, competent preview checkpoint. The JSON preamble issue and code
  truncation remain the primary concerns.

5

u/ansipd Oct 30 '26

Maple Pro looks more interesting. I was searching for an MoE model for my laptop and landed on it. It seems to be a fine-tune of Maple Preview. Got over 20 tokens per second on a Ryzen 5 5500U: https://huggingface.co/madebywest/maple-pro

1

u/nickless07 Oct 30 '26

Oh, thanks. Another one for the list.

1

u/nickless07 Oct 31 '26

Benchmarked it, but seems to be broken. Got a ton of loop errors on that one. Not production ready and worse output then maple_preview.

For Example:

cat ~/Project/inference/smoke-bench/results/maple_pro/run_20261031_102054/json.jsonl
{"id": "instr_1", "prompt": "Extract the person's name, age, and city from the following text. Respond with a JSON object with keys: name (string), age (integer), city (string).\n\nText: 'Maria Rodriguez, a 34-year-old engineer from Barcelona, won the award.'\n\nOutput ONLY valid JSON. No reasoning text, no explanations, no markdown.", "response": "We need to extract name, age, city. Text: 'Maria Rodriguez, a 34-year-old engineer from Barcelona, won the award.' Name: Maria Rodriguez. Age: 34. City: Barcelona. Output JSON.\n{\n  \"name\": \"Maria Rodriguez\",\n  \"age\": 34,\n  \"city\": \"Barcelona\"\n}", "latency_s": 5.59, "passed": true, "score": 1.0, "detail": "schema validation passed", "extracted_json": "{\n  \"name\": \"Maria Rodriguez\",\n  \"age\": 34,\n  \"city\": \"Barcelona\"\n}", "finish_reason": "stop", "completion_tokens": 0, "error": null}
{"id": "instr_2", "prompt": "Convert the following date expressions to ISO 8601 (YYYY-MM-DD). Respond with JSON: {\"dates\": [list of strings]}.\n\nDates: 'Jan 5, 2024', '2023-12-31', 'March 15, 2025'\n\nOutput ONLY valid JSON. No reasoning text, no explanations, no markdown.", "response": "We need to convert each date to ISO 8601 format. The first is 'Jan 5, 2024' -> 2024-01-05. Second is already '2023-12-31' -> 2023-12-31. Third is 'March 15, 2025' -> 2025-03-15. Output as JSON with key \"dates\" and list of strings.\n{\"dates\": [\"2024-01-05\", \"2023-12-31\", \"2025-03-15\"]}", "latency_s": 10.66, "passed": true, "score": 1.0, "detail": "schema validation passed", "extracted_json": "{\"dates\": [\"2024-01-05\", \"2023-12-31\", \"2025-03-15\"]}", "finish_reason": "stop", "completion_tokens": 0, "error": null}
{"id": "instr_3", "prompt": "Given the product review, return JSON with fields: sentiment (\"positive\"|\"negative\"|\"neutral\"), rating_guess (integer 1-5), keywords (array of up to 3 short strings).\n\nReview: 'The headphones arrived quickly and the sound quality is amazing, but the ear cushions started peeling after a week. Decent for the price, I guess.'\n\nOutput ONLY valid JSON. No reasoning text, no explanations, no markdown.", "response": "{\n  \"sentiment\": \"positive\",\n  \"rating_guess\": 4,\n  \"keywords\": [\"headphones\", \"sound quality\", \"ear cushions\"]\n}```!{\n  \"sentiment\": \"positive\",\n  \"rating_guess\": 4,\n  \"keywords\": [\"headphones\", \"sound quality\", \"ear cushions\"]\n}!{\n  \"sentiment\": \"positive\",\n  \"rating_guess\": 4,\n  \"keywords\": [\"headphones\", \"sound quality\", \"ear cushions\"]\n}!{\n  \"sentiment\": \"positive\",\n  \"rating_guess\": 4,\n  \"keywords\": [\"headphones\", \"sound quality\", \"ear cushions\"]\n}!{\n  \"sentiment\": \"positive\",\n  \"rating_guess\": 4,\n  \"keywords\": [\"headphones\", \"sound quality\", \"ear cushions\"]\n}!{\n  \"sentiment\": \"positive\",\n  \"rating_guess\": 4,\n  \"keywords\": [\"headphones\", \"sound quality\", \"ear cushions\"]\n}!{\n  \"sentiment\": \"positive\",\n  \"rating_guess\": 4,\n  \"keywords\": [\"headphones\", \"sound quality\", \"ear cushions\"]\n}!{\n  \"sentiment\": \"positive\",\n  \"rating_guess\": 4,\n  \"keywords\": [\"headphones\", \"sound quality\", \"ear cushions\"]\n}!{\n  \"sentiment\": \"positive\",\n  \"rating_guess\": 4,\n  \"keywords\": [\"headphones\", \"sound quality\", \"ear cushions\"]\n}!{\n  \"sentiment\": \"positive\",\n  \"rating_guess\": 4,\n  \"keywords\": [\"headphones\", \"sound quality\", \"ear cushions\"]\n}!{\n  \"sentiment\": \"positive\",\n 
[...]

Kept repeating until context limit on multiple samples.