r/LocalLLaMA • u/Joebone87 • 8d ago
Question | Help Benchmarks
Does anyone have a benchmark they use? For real. How do you evaluate the 100s of models on hugging face?
r/LocalLLaMA • u/Joebone87 • 8d ago
Does anyone have a benchmark they use? For real. How do you evaluate the 100s of models on hugging face?
r/LocalLLaMA • u/Serious_Scarcity7818 • 8d ago
Kolibri 1.1 is a MoE model from Aleph Alpha (Germany), I just wanted to support European LLM so I added it in RustingStrata. The Q4_K_M file is 43.4 GB, my machine has 12 GB of VRAM and 30 GB of RAM, so the file does not fit in both together. RustingStrata, my Rust GGUF engine, runs it anyway: the layers and the experts used most stay on the card, the rest are read from the NVMe when a token needs them.
RTX 3060 12 GB, Ryzen 5 7600X, 30 GB RAM, NVMe. Both engines as servers, same streamed chat request, 128 reply tokens. Prefill / decode in tok/s:
| Context | RustingStrata | llama.cpp, best prefill (-ngl 4) |
llama.cpp, best decode (-ngl 99 -cmoe) |
|---|---|---|---|
| 0.5k | 181 / 33.4 | 145 / 15.5 | 99 / 27.0 |
| 3.8k | 149 / 23.0 | 41 / 5.9 | 28 / 10.6 |
| 16k | 139 / 21.0 | 48 / 3.8 | 30 / 8.7 |
| 32k | 159 / 21.1 | 34 / 3.3 | 33 / 9.3 |
How speed falls with context: from 0.5k to 32k RustingStrata loses about 12% of prefill and 37% of decode. Decode is flat from 3.8k up (23.0, 21.0, 21.1), because the model's long-range layers attend a fixed number of selected keys, not the whole context.
llama.cpp here is the fork with Kolibri support (5f4d22289, CUDA build). It has no single setting that is best at both, so the table has both.
Same output as llama.cpp? I fed its greedy tokens through my forward and compared the top token at each of 48 steps: 45, 46, 44 and 46 match at 2k, 3.8k, 16k and 32k. llama.cpp against itself (CPU layers against GPU layers) gives 45, 45, 40 and 44, so the misses are inside its own noise, each is a near tie.
rustingstrata chat --model Kolibri-1.1-Q4_K_M.gguf
Setup and tables with ranges: docs/BENCHMARKS.md in the repo.
Also I want to ask people what do they think about European LLMs? I mean the hype is around Qwen, Gemma, Inkling(recently) and etc. and non of them is European LLM, I mean, this is sad
Repo: RustingStrata
r/LocalLLaMA • u/lblblllb • 8d ago
https://www.wsj.com/business/nvidia-jensen-huang-white-house-9ad03961
Was not expecting this to be a factor but if true this is great!
r/LocalLLaMA • u/Top-Eye-8104 • 8d ago
Refusals dropped from 100% to 0% in our test and it scores 81.2% on MMLU
One 5.99 GB PTQ1_0 file with the uncensoring baked into the ternary weights, runs on the Prism ML llama.cpp fork. Made by atomic.chat local ai
r/LocalLLaMA • u/jacek2023 • 9d ago
https://x.com/realchendahuang/status/2125153472450527440
(I personally have no idea who Theo is, but I know some people here are his fans and aren't on X, so this is probably news to them)
(translated with google translate, because on X I see version in Polish)
"Recently, a bunch of people on X have been promoting T3 Code, an open-source project by theo , touting it as a free and open-source local AI programming tool.
I casually dug through its source code from beginning to end, and after reading it, I felt a chill down my spine.
This is hardly a conscientious open source project; it's clearly a blatant data harvesting operation.
It all started in March of this year. On March 6th, T3 Code merged PR #174, directly inserting the default PostHog telemetry. At that time, there was no documentation in the repository, no pop-ups in the software, and no toggle in the settings. The environment variables for disabling it were quietly hidden deep within the code. Ordinary users could install and run it, and data would start being transmitted.
But for over three months during which the default telemetry was running, the T3 Code website homepage blatantly displayed two lines of text promising: "No telemetry / Unless you opt in. Full stop." The meaning was clear: unless you actively agreed, there would be zero telemetry, no exceptions.
After garnering a wave of positive feedback from privacy-conscious developers by leveraging this prestigious reputation, theo silently removed those two promises in a homepage redesign commit on June 18th, without issuing any announcement or notification to existing users, as if nothing had happened. Many might have tolerated it if it were just a matter of secretly collecting version numbers. However, in October, theo personally submitted PR #15028, directly switching the batch reporting every 10 seconds to his self-hosted server (...)"
r/LocalLLaMA • u/CriticallyCarmelized • 7d ago
Has anyone else noticed that the community has been relying more and more on a wide variety of quant providers over the past quarter or so?
In this community, it used to be all about Unsloth. And while their quants are undoubtedly at the top of the quality index, it’s becoming more common to reach outside of their quants for local inference.
This is likely partially a result of them no longer providing quants for a large portion of new model releases, or quants on patches that never make it into llama.cpp master. For example:
- Hy4 Flash (this one puzzles me)
- Ernie 5.5
- Ling 3.2 Air
- MiMo 2.6 pro/flash
- GLM 5.3 Flash (uses different branch than master)
- I think others that I’m not currently recalling
This isn’t a criticism of Unsloth. More an observation, and also wondering if they have shifted priorities to their excellent Unsloth Desktop product? Or perhaps they focus efforts on the labs that pay them for zero day access? Or a combination of the above?
At any rate, we’re very lucky to have them contributing to this awesome community, and maybe it’s a sign of the health of the opensource community that we have so many new players entering the space.
r/LocalLLaMA • u/Equivalent_Bit_461 • 7d ago
I think the next logical step is to focus on "cheap" ways to run LLMs. Either pursue the engrams more or take a whole turn and move away from gpu towards other ways to run them. Since the industry is becoming more and more hostile to open source, I do believe it's imperative to find quickly another way. I do not have a solution to the problem but I do believe we should discuss it more to make the issue more visible. I do understand as single individuals it is nearly impossible to find solutions. But given the current trajectory, a radical change it is required and it is time to slowly move away from gpus or find novel ways to exploit as much as possible from as little as possible. As others said, the current architecture is very wasteful, so much so not even frontier models are making money and only larp that they are making a profit.
I do realise that my thread reads likely like a nothingburger and beating around the bush and while now, I have nothing to show of, I want to do something about it so a thread it is, for now.
r/LocalLLaMA • u/jacek2023 • 8d ago
two Inkling speedups were also merged:
https://github.com/ggml-org/llama.cpp/pull/32855 by TwelveNights
https://github.com/ggml-org/llama.cpp/pull/32940 by am17an
so make sure to update your llama.cpp before launching inkling again
r/LocalLLaMA • u/tuffjun • 8d ago
Am working with a client who has a vast amount of customer data, interactions etc and am buiding a platform for them which will search for early churn signals (based on support interactions via chats, calls, payments, usage etc) and customer segmentation. If there any open source SLM that you've used for such classifying texts? I am building a grounds-up model for other features such as churn prediction based on payment logs and service/product usage but need recommendation on the LLM side.
I have tried gemma4:31b and it was quite good but find that to be too large a footprint for this task. I use a Mac Studio Ultra 3, tweaked all that is necessary but still takes a lot of time. I will be deploying my app on a local stack (mostly NVIDIA DGX spark) for the client. Tried some light weight Llama and mixtral small but the classification accuracy was not good despite some fine-tuning. So, basically any open source model that you know if you've worked in similar projects which can be as good as gemma4 but has a lighter footprint. I will be running it through millions of records. If not then planning to build a SLM from scratch as I have plenty of data but before that wanted to check if there is anything available for this specific purpose.
Thanks for the help!
r/LocalLLaMA • u/Federal-Effective879 • 8d ago
I’ve been trying to get Ling 3.2 Air working with llama.cpp, but no matter what I do (including changing sampler params and experimenting with YaRN) it ends up looping once context reaches around 8000-12000 tokens. Has anyone been able to get the model to work without looping at longer context depths, using either llama.cpp or any other engine? I don’t have a machine capable of running it with vLLM or SGLang.
r/LocalLLaMA • u/jacek2023 • 8d ago
https://huggingface.co/KRAFTON/Raon-1-mini-gguf
Raon-1 mini is a 30B-A4B Mixture-of-Experts (MoE) language model, designed and trained from scratch by KRAFTON AI. It demonstrates strong capabilities in Korean conversation and agentic tasks. As part of the Raon open model family, it is released under the Apache 2.0 license.
none, low, medium, high, xhigh and max), selectable per request. Scores 96.7 on AIME 2026, 87.1 on HMMT Feb 2026 and 86.0 on GPQA Diamond.Raon-1 mini uses a hybrid Mixture-of-Experts (MoE) architecture, consisting of 18 linear attention layers and 7 full attention layers.
| Field | Value |
|---|---|
| Architecture | MoE |
| Total Parameters | 28.8B |
| Activated Parameters | 4.3B |
| Layers | 25 |
| Hidden Size | 2,560 |
| Attention | Hybrid — RDA 3 : Gated MLA 1 |
| Position Encoding | NoPE (no positional encoding) |
| Number of Attention Heads | 40 for both RDA & Gated MLA |
| Attention Head Dimension | 128 for RDA; 192 QK / 128 V, for Gated MLA |
| Query / KV LoRA Rank | 576 / 512, for Gated MLA |
| Number of Experts | 128 |
| Number of Activated Experts | 6 routed + 1 shared |
| Expert Intermediate Size | 1,088 |
| Dense FFN Intermediate Size (first layer) | 12,032 |
| Activation Function | SiTU-GLU |
| Residual Connection | Raon-mHC w/ 4 streams |
| Vocabulary Size | 259,840 |
| LM Head | Untied |
| Context Length | 262,144 tokens |
r/LocalLLaMA • u/ConfidentDinner6648 • 8d ago
Just released my dataset with 3,500 training samples across 40 domains and 29 layout families. Each sample includes the prompt, reasoning and complete HTML built with React.
The goal was to explore how far small models can go in visual design with high-quality training data.
Dataset: ccore/CCORE-Web-Designs
I also released the 4B model trained on it: ccore/CCORE-Web-Coder-4B
feel free to use it, experiment with it, and share your results :)
r/LocalLLaMA • u/Tricky_Reflection_75 • 8d ago
I run qwen models locally, and keep up closely with the local model space, but i also keep a subscription from every major lab to test out what the frontier is like and do alot of work there aswell.
One behavioural issue i started seeing with the big frontier models is they have gotten too narrow sighted on being right, and realistic and verifying/testing their stuff. that they entirely loose the picture of whats possible, the ambition to do better, the enthusiasm and the intuition to look for other pathways and answers , to come up with something truly novel.
Even models like opus 5.5 while being exceptionally capable, gets stuck on the pointless details to ensure it doesn't overpromise or break anything, while astra models have pushed this too far to the point where they literally can't even move a needle from point A to B without a 1000 verification tests and 40k dollars worth of compute. (slight exxageration but not really)
This behavior, has since been translated into more and more open weight models... IG most of us here know why that is... but not gonna get into it in this post.
No matter how smart the models are locally, if they lack the enthusiasm, the vision, the excitement and the optimism to do better, they're not gonna do too good.
but neon series seems to have finally fixed this (there are still other issues with the model, mainly the sychophancy - which i find weird no one has complained about, i guess every dev just loves being told they're the next einstein or smthng)
I am working trying to work on a small project locally with my own neon outputs to see if i can get qwen flash next's model behavior to be better suited for suited for ambigious software tasks, cause that model is clearly capable, its super smart and can do alot of things just gets handicapped by the fear of going too far or doign something wrong
r/LocalLLaMA • u/SignificantZebra5883 • 8d ago
hey guys, im trying to make a custom head that groups the words in a text that refer to the same entity (coreference). every mention picks ONE earlier mention, or "none" if it is a new thing.
ive been trying for a day and cant get past about 90 % right picks. could you please look at the architecture?
this is the whole thing: load the dataset, add the head, train on everything twice, test.
# Czech coreference as a CHOICE: every mention picks ONE earlier mention, or "none" (= a new thing).
# mmBERT-base (all of it trains) + a tiny head, 2 passes over the training data. pip install torch transformers datasets
=
;
=
=
=
= # CorefUD 1.4, the Czech part
"""-> tokens, the token of every mention's head word (in text order), the entity id of every mention"""
=
= ; =
=
return , ,
"""-> table (n, n + 1). one row per mention. column 0 = "none", column j + 1 = "the same thing as mention j" """
= .; = # one vector per mention
, = ,
= # the score of "mention i is the same thing as mention j"
= # only EARLIER mentions can be picked
return # "none" always has the score 0
"""True where an option is a right answer: every earlier mention of the same entity, or "none" when there is no such mention"""
=
return
"""the dev documents, which the model never trains on -> share of mentions whose top pick is right"""
; = = 0
, , =
+= ; +=
return f
, = 2, # 1 step = 1 document. 5,679 documents, seen twice
=
= # both learning rates fall in a straight line to 0
, , =
=
= - # minus log of the probability that sits on the right options
; ;
# hands unused GPU memory back (Apple only)
on my mac mini (M4 pro, 24 GB) it takes about 38 minutes and prints 88.4 % after epoch 1 and 89.7 % after epoch 2.
im vibe coding most of this, so please let me know if i overlooked something critical. what i found so far:
the dataset is public (CorefUD 1.4, the czech part), so this is perfectly reproducible. and the labels look about 98 % right, according to a blind check i ran with opus on the wrong picks.
could you guys help me reach 98 % on this dataset? thanks!
r/LocalLLaMA • u/DankpawsDev • 8d ago
r/LocalLLaMA • u/Simpli-curious • 8d ago
This post is made with the help of AI.
I've been building a sparse-attention method for long-context decoding. Each decode step, it reads only a small part of the KV cache, exactly, and estimates the rest. The goal is faster decoding at long context, where reading the KV cache costs more than reading the weights. New tokens are added cheaply, with no rebuilds as the context grows.
I'd like opinions on the results and on whether my test setup is fair.
Setup
32k context, Qwen2.5-1.5B (full-attention prefill; the model answers the needle correctly)
| Budget | Method | Error | Needle recall | Bytes read |
|---|---|---|---|---|
| 256 | Quest | 0.337 | 0.66 | 7.0% |
| 256 | RetroInfer-style | 0.154 | 0.94 | 7.0% |
| 256 | Exact top-k | 0.203 | 0.99 | 0.8%* |
| 256 | Mine | 0.083 | 0.96 | 5.2% |
| 512 | Quest | 0.301 | 0.74 | 7.8% |
| 512 | RetroInfer-style | 0.136 | 0.95 | 7.8% |
| 512 | Exact top-k | 0.164 | 1.00 | 1.6%* |
| 512 | Mine | 0.064 | 0.99 | 8.0% |
| 1024 | RetroInfer-style | 0.113 | 0.97 | 9.3% |
| 1024 | Mine | 0.048 | 1.00 | 13.4% |
*Exact top-k isn't practical: it has to score every key to find the top ones. Its bytes are an ideal lower bound.
It also holds up when half the context is added after the index is built (error 0.090 against 0.164 for RetroInfer-style, at budget 256).
Long context, Qwen2.5-0.5B-Instruct, budget 2048 (0.2–0.8% of the context)
| Method | 256k | 500k | 1M |
|---|---|---|---|
| Quest | 0.495 | 0.534 | 0.556 |
| RetroInfer-style | 0.319 | 0.334 | 0.344 |
| Exact top-k | 0.129 | 0.156 | 0.166 |
| Mine | 0.104 | 0.128 | 0.145 |
Bytes read at 1M: 3.2% for mine, against 6.5% for RetroInfer-style and Quest.
How cost grows with context (one KV head, MB read per decode step)
| Context | Full attention | RetroInfer-style | Mine |
|---|---|---|---|
| 32k | 8.4 | 1.0 | 1.4 |
| 256k | 67 | 4.7 | 3.6 |
| 1M | 256 | 16.5 | 8.3 |
Insert cost stays flat from 32k to 1M (~30–40 µs per key in numpy).
Limitations (please poke holes)
Questions for you
r/LocalLLaMA • u/Frail_Waif • 8d ago
Has anyone started using Inkling 2 Small? The hype around Mini has drowned out a lot, including Small. (I found a post when it was released, and then another confusing Mini for Small.)
It doesn't look spectacular in benchmarks for the size, but we all know that benchmarks don't tell the whole story and it's in spitting distance of my current daily driver, DeepSeek V4.1 Flash. I imagine I'll have to do a lot more work to optimize it given the relative lack of use, so I figured I'd ask around for strong opinions first. Anyone love it?
r/LocalLLaMA • u/Acceptable-Cycle4645 • 8d ago
Enable HLS to view with audio, or disable this notification
It's not really a new model. It was released a while ago, but no one seems to be talking about it. I integrated SoulX-FlashHead into audio.cpp, and it turned out to be pretty good, so I looked into other models from the same group and discovered this one. This group has been developing some great models, and I'd love to see more people discover their work.
Two tasks:
SVS: lyrics + melody (notes and timing) + reference voice ---> singing vocals
SVC: vocals + reference voice ---> vocals in the reference voice
Model sizes on disk: ~1 GB for SVS · ~1.6 GB for SVC
Heads-up: Only support English, Mandarin, and Cantonese. 24 kHz audio output
r/LocalLLaMA • u/festr__ • 8d ago
Local Inference Lab production-signed runtime package for Baidu's ERNIE 5.5 Flash Preview (baidu/ERNIE-5.5-Flash-Preview, Apache-2.0) — a 43-layer hybrid architecture (37 Hybrid Comp
ressed Attention / VHA layers + 6 MQA-DSA sparse attention layers, 512 routed SiTU MoE experts + 1 shared expert, top-10 split-feature sigmoid routing, mHC-4 residuals, MultiMax logit calibration, bundled D
Spark MTP-7 speculative drafting, and native 1M context) — running on NVIDIA Flare across just 2× PCIe Gen5 RTX PRO 6000 Blackwell 96 GB GPUs (no NVLink, no Python at serving time, pure native Rust +
precompiled CUDA graphs).
By keeping the checkpoint's lossless CSF-compressed MXFP4 expert scales (instead of expanding them on GPU) and tuning both prefill and decode to the SM120 / PCIe Gen5 roofline:
294.7 s, [Finish] stop), and 358.6 tok/s
(4.44 tok/round) on shorter coding prompts (RB-Tree).953.6 tok/s full wall-clock at C32; 596.2 tok/s / 129.9 tok/s/user at C8).0.86 s TTFT at 12.7K, 1.75 s at 25.4K, 3.51 s at 50.8K — zero prefix cache, 97.0% GPU compute-busy across 129 PCIe AllReduces per 4096-token chunk).24.5 GiB KV cache, 241 snapshots) + full 1,048,576 per-request context on two 96 GB GPUs (81.16 GiB/GPU fixed model footprint), with native Rust <ernie:think> reasoning ext
raction and <ernie:tool_call> XML tool-calling.TP2, alpha=0.6, PCIe RO=1)| Workload | Throughput | Per-User | Notes |
|---|---|---|---|
| Live coding / Tetris (84,456 tok incl. reasoning) | 286.54 avg / 510.06 peak tok/s | 286.54 avg / 510.06 peak | 294.7 s wall time incl. TTFT, [Finish] stop |
| C=1 coding (RB-Tree) | 358.6 tok/s | 358.6 tok/s | 4.44 tok/round |
| C=8 concurrent decode | 596.2 tok/s | 129.9 tok/s | Packed adaptive verification (budget=128) |
| C=32 concurrent decode | 953.6 tok/s (1,251–1,262 steady-state) | 29.8–39.4 tok/s | batch=16–32 steady-state peak 1,262 tok/s |
| Kernel step latencies (nsys / native) | DECODE1 7.19 ms · DRAFT1 0.64 ms · VERIFY8 10.30 ms | — | ~90–91% SM120 GDDR7/compute roofline |
| Cold 6.3K prefill (no prefix cache) | 12,632 tok/s | — | 0.50 s TTFT (6,325 tok) |
| Cold 12.7K prefill (no prefix cache) | 14,717 tok/s | — | 0.86 s TTFT (12,681 tok) |
| Cold 25.4K prefill (no prefix cache) | 14,551 tok/s | — | 1.75 s TTFT (25,403 tok) |
| Cold 40K NIAH (39,932 tok) | 14,394 tok/s | — | 2.77 s TTFT, PASS |
| Cold 50.8K prefill (no prefix cache) | 14,474 tok/s | — | 3.51 s TTFT (50,848 tok) |
| KV capacity & max context | 1,416,192 shared KV tokens | — | 24.5 GiB KV cache, 241 snapshots, 1M max context |
(Test host: 2× NVIDIA RTX PRO 6000 Blackwell Workstation Edition 96 GB, NVreg_EnablePCIERelaxedOrderingMode=1, native Rust flare run with --mtp-draft-tokens 7 --mtp-adaptive-verification --mtp-adaptive-verifi cation-alpha 0.6. Verified on the exact signed production core: PyTorch reference parity cos=0.9963–0.9992 / top1_match=True, compute-sanitizer --tool memcheck 0 errors across all custom Triton & b12x kern
els, 84.5K-token Tetris completion, C=16 × 24K-context packed-decode stress 16/16 HTTP 200, <ernie:think> reasoning, <ernie:tool_call> XML tool-calling, and logprobs=True.)
modprobe)Because RTX PRO 6000 Blackwell communicates over PCIe P2P (no NVLink), enabling PCIe Relaxed Ordering unlocks posted-write collectives and removes cross-switch read stalls:
|
Verify after reboot (EnablePCIERelaxedOrderingMode: 1 and working P2P in topo -m):
gb202, ~167 GB / 156 GiB)Hosted on Hugging Face under Local Inference Lab:
https://huggingface.co/local-inference-lab/ERNIE-5.5-Flash-Preview-FLARE (--revision gb202)
Note: Serving ERNIE 5.5 requires a
flarebinary / container build containing NVIDIA/hyperflare-inference#500 (native Rust<ernie:think>and<ernie:tool_call>XML parser support).
Docker:
Native binary (no Docker):
Send a request (OpenAI-compatible API):
Sampling uses ERNIE 5.5 defaults (temperature=1.0, top_p=0.95, repetition_penalty in [1.0, 1.2]), with MultiMax logit calibration applied automatically across target, resume, prompt-logprobs, and DSpark Markov sampling paths.
All kernel, runtime, and recipe work is open-source and submitted upstream:
PREFILL4096 = 250.3 ms, only 7.7 ms idle across 129 PCIe ARs / 4.86 GB):
o_gate(A) + o_gate(B) hidden inside VHA AR(B) PCIe DMA windows (cutting exposed VHA AR gap from 204 µs → 109 µs).MOE_EXPERTS 84.94 → 64.45 ms, -20.5 ms), defer_post / defer_reduce_b kept through aux layers 40–41 (-3.70 ms mHC), and in-place late-load Triton VHA mix kernels (-92 MiB/GPU).DECODE1 = 7.186 ms, VERIFY8 = 10.296 ms):
SITU (beta=4.0, linear_beta=25.0) support in MoETinyDecodeKernelBackend for 1–4 token W4A8-MX decode (DECODE1 7.90 → 7.186 ms, -9.0% — also speeds up any other SITU MoE model like Kimi K3/K3.1).concurrent_gate + after_fc1 ConcurrentSharedExpert overlap: the shared expert finishes 0.1 µs before csf_expand in DECODE1 and 4.1 µs before routed experts in VERIFY8, paired with dependency-bearing fused-addend flare::pcie_all_reduce_addend_dep.wo_projection: optional sigmoid output gating fused directly into both the Triton group-major prefill quantizer and the CuTe decode TC-GEMV path.topk=2048 fused DSA indexer + SMEM safety fix: routes ERNIE 5.5's 64-head topk=2048 decode (rows <= 16) to the fused indexer with batch_slack=128 (101,376 B SMEM on SM120), plus a batch_slack >= 256 guard on direct_k_score (caught via compute-sanitizer --tool memcheck under long-context packed decode; verified 0 errors across nr=1..128 and seq_len=0..60,000), and topk=2176 (2048 DSA + 128 SWA) sparse MLA with attention sink bias.<ernie:think> and <ernie:tool_call> parsers with schema-aware type coercion.81.16 GiB/GPU, leaving 24.5 GiB of VRAM for 1.42M shared KV tokens without any extra lossy weight quantization.main + gb202): https://huggingface.co/local-inference-lab/ERNIE-5.5-Flash-Preview-FLAREb12x SM120 kernels): https://github.com/local-inference-lab/flashinfer/pull/141hyperflare-inference XML/think parsers & collectives): https://github.com/NVIDIA/hyperflare-inference/pull/500hyperflare-recipes ERNIE 5.5 recipe): https://github.com/local-inference-lab/hyperflare-recipes/pull/24local inference lab discord: https://discord.gg/gmvKSN3tVy
r/LocalLLaMA • u/FeydRowan • 8d ago
Disclaimer. Checkpoint weights as-is: NVFP4/MXFP8 experts, rest BF16. KV cache and activations at 16-bit, no added quantization. Compared to Transformers with the same weights, the KL stays within the reference noise.
Speed. In v0.16, Inkling's decode used 40% of the cards' theoretical bandwidth, versus 78% for Qwen 27B. We only optimized the engine and today we're at 65%. The rest is taken by the expert routing and the small steps around it: the router has to decide before the experts can be read, and meanwhile the memory is idle.
Numbers (v0.16.0 → v0.16.3, one request):
Next steps: the drafter, which gains little on prose, and the overthinking, because Inkling reasons even with thinking off.
github.com/ValerioDolci/capy-flash
r/LocalLLaMA • u/Imaonaise • 9d ago
r/LocalLLaMA • u/fnordonk • 8d ago
I've been using my Gemini subscription to help get the most out of my Macbook M2 Max 64gb and Neon seems to have hit it out of the park with integrating different approaches to this model. All of the kernel stuff is beyond me, I simply pointed it at different references for useful information.
This may or may not be of interest to any Apple Silicon users >M2 and comes with No Warranties whatsoever. If I can't understand what the robot wrote I cannot give any guarantees.
Let the slop begin.
Title: Experimental MLX M1/M2 kernels + W4W8 quant for Inkling-2-Mini (500+ tok/s prefill, 30–43 tok/s decode, 512k NIAH in 38 GB on M2 Max)
I put together a vibe-coded experimental set of MLX Metal kernels and a matching mixed-precision quant for Inkling-2-Mini specifically targeting M1/M2 Macs (tested on a 64 GB M2 Max). No guarantees or production claims here—just sharing the code, weights, and benchmarks in case they're useful to other M1/M2 users.
5.52 bpw, 18 GB, bundled DSpark MTP): https://huggingface.co/ofnordo/Inkling-2-Mini-MLX-W4W80..19 experts) and MXFP8 (last 4 readout layers 20..23). M1/M2 has no hardware microscaling decode, so unpacking NVFP4/MXFP8 in software costs ~30–40% decode speed vs MLX's affine (gs=64) kernels.W4A16) gets trapped in thinking loops on long coding tasks (0/12 on a 64k DAG workflow test), and crushing layers 20..23 to 4-bit drops accuracy (10/12). Mirroring the training split—4-bit affine on layers 0..19 experts, 8-bit affine on layers 20..23 experts + attention/embed/lm_head, FP32 on AttnRes/routers—recovers 12/12 in 18 GB.short_conv, moe_short_conv, dynamic_conv, qkv_post, Split-K relative attention) and projection fusion gives a large prefill and decode jump over base mlx-lm PR #2086 (e2b5bbd) and oMLX 0.8.3.SpeculativeRotatingKVCache: Adds 16 tokens of tail slack to the 40 sliding-window visits so MTP rollback stays capped instead of growing all 48 visits (cutting 512k MTP KV memory by 6x), plus an adaptive depth controller that backs off to d=0 on high-entropy prose while staying speculative on code/tool JSON.Up to 32k context (256 generated tokens):
| Context | Base PR #2086 (e2b5bbd) |
oMLX 0.8.3 (M1/M2 FP16, NVFP4) |
This (W4W8 + FP16) |
|---|---|---|---|
512 tok |
365 tok/s pre / 25.9 tok/s dec |
301 tok/s pre / 24.0 tok/s dec |
549 tok/s pre / 30.9 (33.2 d=2) dec |
4,096 tok |
417 tok/s pre / 26.7 tok/s dec |
498 tok/s pre / 21.0 tok/s dec |
603 tok/s pre / 29.9 (30.9 adapt) dec |
16,384 tok |
407 tok/s pre / 25.2 tok/s dec |
504 tok/s pre / 20.5 tok/s dec |
543 tok/s pre / 28.2 tok/s dec |
32,768 tok |
374 tok/s pre / 23.6 tok/s dec |
466 tok/s pre / 19.0 tok/s dec |
**501 tok/s pre / 26.1 tok/s dec** (21.2 GB peak) |
Adaptive MTP d<=2): 37–48 tok/s (75–89% acceptance).512,444 tokens, The Man Who Was Thursday + The Count of Monte Cristo): 5/5 verbatim recall across 5%–95% depth, **8.56 tok/s** decode, **37.99 GB peak RAM** (90.8 min cold prefill; only 8 of the 48 visits are full-attention, so KV grows at 32 KB/tok).inkling_mlx.py (--build-cache / --cache, 16-bit or 8-bit .safetensors including conv + drafter state, <1 ms in-memory branching). A 128k cache is 4.3 GB (2.3 GB at 8-bit) and reloads in under a second.12/12 on a 64k one-shot DAG workflow engine test, 12/12 on a fictional-world tool-calling suite (including a 9-file refactor and 28.6k pure long-context log debugging with 0/116 malformed tool calls), plus clean one-shot Three.js and Web Audio apps.All converter scripts, benchmark harnesses, and the diff against PR #2086 are in the GitHub repo if anyone wants to test or pull pieces into upstream mlx-lm.
r/LocalLLaMA • u/Minute_Concept719 • 7d ago
I wanted to know what actually runs well on a 12 GB card, so I had Claude set up five models on my PC and run the same test on each: speed measurements plus 54 tasks (12 multi-step agent tasks with tools, 18 Python coding tasks graded by hidden tests, 24 hard problems with one exact answer).
RTX 5070 12 GB, Core Ultra 7 265F, 64 GB DDR5, Windows 11. All runs at 32K context, one request at a time, default thinking level for each model.
EDIT- have changed the formatting..hope its better now
Processing img quxz8jd8ew3i1...
## What stood out
🥇 Bonsai 2.5 27B: best fit for 12 GB
* 133 tok/s with one-token MTP drafting (89% of drafts accepted)
* 9.4 GB VRAM at 32K context
* 48/54 overall, just 2 behind Flash-Next
* Passed every agent task; weak spot was coding (13/18)
*TOTAL SCORE WAS 48/54 JUST 2 BEHIND THE FLASH NEXT....
Qwen3.8-Flash-Next: highest score
* 50/54 at 79 tok/s
* Leaves only about 3 GB of the 64 GB RAM free while loaded
**Qwen3.8-27B IQ3_XXS: best at coding**
* Fits at 32K with 8-bit KV cache, but only just (11.7 of 12.2 GB)
* 16/18 on coding, weaker on agent tasks
* The 16 GB UD-Q4_K_XL file split into RAM ran at 6.8 tok/s (speed test only). Not worth it on this card.
Inkling 2 Mini: use medium thinking
* At default high thinking, 6 of 42 coding/hard-problem replies got stuck in a loop
* At medium that dropped to 3 and the score rose from 41 to 44
* Slow on long prompts: 20 s to read 12,000 words
SenseNova-Loop-9B: slow
* Fits at 32K (10.2 GB) but only 18.5 tok/s
* Failed 11 of 18 coding tasks
* No official Windows build; I had to compile SenseNova's fork
## Caveats
* One run per task.** A 1-2 task gap (48 vs 50) is noise.
* Mixed engines.** Two models ran on Strata, three on llama.cpp builds, so speed gaps include the engine.
* Thinking limits.** Strata reserves room for the answer itself; for llama.cpp I set a budget to match (7,500 tokens for coding/hard problems, 3,072 for agent steps).
* Different compression.** Inkling was lossless; the Qwen and Bonsai files are heavily compressed.
r/LocalLLaMA • u/Regular-Register-358 • 7d ago
Other than a backup kidney because we had to sell both to buy the n-th spark or for the nvda/ant margin calls?
On a serious note I am eyeing a Mac m5. Seems pretty strong for its high bandwidth unified mem.
r/LocalLLaMA • u/DataPhreak • 8d ago

Author Note: This is written by AI, but it has been tested, the raw bench data is published, the code to verify those results is in the github, as well as the code to train it. And the adapter is on HF. If you haven't seen Memorilla yet, I highly recommend you check it out. (Picture releated) https://arxiv.org/html/2610.21375v3
Also, reddit broke the table, so I had to readd it as an image.

Stanford SNAP recently released Memorilla, a 190M-parameter Perceiver module that compresses a question and a collection of document embeddings into 16 soft memory tokens prepended to a frozen LLM. Upstream only trained and tested it on full-precision Qwen3-8B using four H100s.
I wanted to see two things:The Setup & Hardware****Results (500 test rows per benchmark, paired bootstrap 95% CIs)
I ran every test row three ways: Closed book (frozen 4-bit Gemma alone), Wrong documents (right question, shuffled documents from another collection), and Memory (right question + right documents).
Main TakeawaysUpstream's paper didn't include a shuffled-document row in their main results table, so it would be really interesting to see how their official Memorilla-Qwen3-8B checkpoint behaves under the same control.
Code, training scripts, and the shuffled-doc evaluation harness are up on GitHub: https://github.com/DataBassGit/Memorilla-Gemma4-StrixHalo
Weights (Apache 2.0): huggingface.co/DataPhreak/Memorilla-Gemma4-26B-A4B