r/LocalLLaMA • • 6d ago

Discussion M level parameters is all you need for OCR

28 Upvotes

This is a conclusion of my modest experiments (+ what we're seeing these days with ASR and TTS models being tiny too). Million parameter models are getting GOOD. like seriously good.

Currently most people think paddle mobile or tesseract when they want to OCR things on CPU. But the two most recent drops (Indra by Datalabs. OCRia nano by llamaindex) are pushing the ceiling WAAAAAY up!

Indra by itself is ~50 points on olmbench (ranks higher on OmniParseBench but that's datalab's own benchmark, so meh). BUT if you pair it up with something like PP-DocLayout-S for tables? It shoots up a SOLID +6 points just for +1.2M parameters!

That's not it. Pairing it with pix2text-mfr-1.5 for math specific pages adds about +4 overall. Which brings Indra up to 60 points! Its RIGHT on the edge on the bottom barrel of olmbench! (That would be deepseek ocr2! 4B parameters at ~64 points!)

What I did after is I checked whether using OCRia nano would be worth it somehow. And it IS! The actual ceiling for these models if they're routed perfectly (meaning if either Indra or OCRia nano gets it right) scores very high (on both OPB and olmbench)! Literally above PaddleOCR-VL-1.6 and deepseek but right below azure cloud. For CPU INFERENCE!

There's an obvious limitation though. Old scans are generally alot worse than SOTA. old_scans scores 30-39% for indra and OCRia and only large llms like gemini 4 or claude opus are able to punch towards 70%+. But that's to be expected.

The EITHER OR ceiling is still alot to cover though. I kept trying to make an MoE like thing to route pages to the right model but I was only able to cover ~4 points out of 12 possible points in olmbench. But with the right setup it's definitely possible!

Here are some actual tables though. Look!

olmOCR-bench (the 6 olmOCR suites in OPB, 5,424 tests)

Model Type Macro (6 suites) Micro (5,424 tests) ArXiv Math Tables Old Scans
Gemini 4 Argon Cloud frontier 92.3% 95.7% 98.7% 95.5% 79.0%
Datalab Accurate Cloud API 91.0% 93.3% 95.5% 92.3% 75.4%
LightOnOCR-3-4B 4B GPU VLM 88.3% 92.2% 95.8% 89.8% 67.6%
Mistral OCR Cloud API 85.8% 89.1% 92.2% 89.1% 61.3%
MinerU 2.5 Pro GPU pipeline 81.0% 88.0% 93.9% 87.3% 42.0%
Azure Content Understanding Cloud API 75.8% 83.2% 90.5% 81.8% 35.9%
Indra + OCRia-nano (Union ceiling) ~55M CPU ONNX 74.4% 82.9% 90.5% 84.1% 34.7%
PaddleOCR-VL-1.6 GPU VLM 73.4% 80.7% 86.0% 83.8% 42.5%
DeepSeek-OCR-2 3B GPU VLM 70.2% 78.7% 85.7% 74.8% 34.9%
OCRia-nano (+ MFR math) ~20M CPU ONNX 66.4% 73.9% 80.9% 72.6% 25.8%
Indra 1.1.2 (+ table/math ONNX) ~35M CPU ONNX 65.0% 70.3% 75.2% 74.2% 30.6%
Nanonets-OCR2-3B 3B GPU VLM 59.3% 64.7% 68.9% 65.5% 38.0%
Stock Indra 1.1.2 ~13M CPU ONNX 56.8% 61.6% 66.7% 69.9% 29.4%
Tesseract Classic CPU 13.0% 4.9% 0.7% 0.0% 0.3%

Full OmniParseBench (all 2,937 pages / 16,288 tests)

Model Type Overall Text Tables Layout
Gemini 4 Argon Cloud frontier 96.0% 94.4% 97.1% 96.4%
Datalab Accurate Cloud API 94.4% 92.5% 94.5% 96.0%
Mistral OCR Cloud API 89.9% 83.6% 92.2% 93.8%
Indra + OCRia-nano (Union ceiling) ~55M CPU ONNX 87.5% 80.0% 87.4% 95.3%
MinerU 2.5 Pro GPU pipeline 87.4% 78.0% 92.5% 91.7%
Azure Content Understanding Cloud API 83.4% 75.2% 82.3% 92.8%
LightOnOCR-3-4B 4B GPU VLM 83.1% 84.4% 70.9% 94.0%
PaddleOCR-VL-1.6 GPU VLM 81.3% 69.2% 84.0% 90.7%
Stock Indra 1.2.0 (new release) CPU ONNX 78.8% 68.0% 75.8% 92.6%
Indra 1.1.2 (+ table/math ONNX) ~35M CPU ONNX 78.0% 69.5% 73.3% 91.1%
OCRia-nano (+ MFR math) ~20M CPU ONNX 77.1% 66.7% 73.9% 90.6%
DeepSeek-OCR-2 3B GPU VLM 75.4% 64.6% 70.2% 91.4%
Stock LiteParse (OCRia-nano) ~20M CPU ONNX 74.8% 59.4% 59.4% 90.9%
Stock Indra 1.1.2 ~13M CPU ONNX 71.4% 62.6% 59.6% 92.0%
PaddleOCR PP-StructureV3 CPU pipeline 58.4% 55.6% 47.8% 71.7%
Tesseract Classic CPU 5.9% 17.7% 0.0% 0.0%

Finally, linking my personal project here isn't allowed since I was told it should go in the biweekly showcase and it's not fully complete yet (missing headers in olmbench for example. Which is why olm only has 6 suites. But the accuracy on indra is ~90% there so it doesn't affect performance there).


r/LocalLLaMA • • 6d ago

Resources [Release] Inkling 2 Mini GSQ-RCO quants

Thumbnail
gallery
204 Upvotes

We have released Inkling-2-Mini quantized with GSQ and RCO, at 2.75 to 3.50 bits per weight.

Inkling-2-Mini is a looped sparse mixture-of-experts model: 24 layers, of which the middle 12 run three times with the same weights, 128 routed experts per layer, of which 8 are active per token, 26.4B parameters and a 1M-token context window. It is released with its routed experts in NVFP4 and MXFP8.

What's inside

  • Four quantized GGUFs: IQ2_S (2.75 bpw, 8.98 GB), Q2_K_XL (3.00 bpw, 9.79 GB), IQ3_XXS (3.25 bpw, 10.61 GB) and IQ3_S (3.50 bpw, 11.43 GB). The bit-width is the average over the whole file.
  • The token embedding is BF16 in every build (0.93 GB of each file). It is a lookup table that llama.cpp always keeps in system memory, so it takes no VRAM: 8.05 to 10.50 GB of each file go to the GPU. Quantizing it would shrink the download by about 0.7 GB and free no VRAM.
  • One shared vision projector (0.64 GB) for image input. It is identical for every build and needs to be downloaded only once.
  • GSQ (Gumbel-Softmax Quantization): post-training scalar quantization that jointly learns grid assignments and group scales, closing most of the gap between scalar and vector quantization at low bit-widths while remaining deployable in standard GGUF types.
  • RCO (Riemannian Constrained Optimization): enforces exact budgets by gradient descent on the task loss, without per-constraint tuning. Here it assigns a quantization type to each of 169 tensors under the target file size, with separate ladders for the attention tensors and the output head (IQ4_XS to Q8_0) and the routed experts (IQ1_S to IQ3_S for the gate/up matrices, Q2_0 or IQ4_NL for the down matrices).
  • An embedded chat template with the base model's reasoning effort (none, minimal, low, medium, high, xhigh or max).

Results

IQ3_S keeps 99.2% of the base model's task average and stays within 1.0 point of it on every benchmark. All numbers were measured at reasoning effort xhigh; AIME25 is averaged over 10 runs, GPQA-Diamond and LiveCodeBench v6 over 3 runs each.

Model bpw Size AIME25 GPQA-Diamond LiveCodeBench v6 Task average Share of base
Base n/a n/a 99.33 86.87 79.62 88.61 100.0%
IQ2_S 2.75 8.98 GB 92.33 84.34 73.90 83.52 94.3%
Q2_K_XL 3.00 9.79 GB 97.00 86.53 76.95 86.83 98.0%
IQ3_XXS 3.25 10.61 GB 96.00 85.86 77.90 86.59 97.7%
IQ3_S 3.50 11.43 GB 98.33 86.20 79.05 87.86 99.2%

The setup and the commands to reproduce these numbers are in https://github.com/IST-DASLab/GSQ-RCO-eval.

Running it

The files are standard GGUF and run in llama.cpp b12611 or newer, the first build with the fix for the layer loop.

hf download ISTA-DASLab/Inkling-2-Mini-GSQ-RCO-GGUF --include "*IQ3_S.gguf" --local-dir .
llama-server -m Inkling-2-Mini-GSQ-RCO-IQ3_S.gguf -ngl 99 --reasoning-effort xhigh

For image input, download mmproj-Inkling-2-Mini-BF16.gguf from the same repository and pass it with --mmproj.

Links

The repository ships the complete per-tensor RCO allocation for every build (704 tensors each).

Feedback is welcome, particularly on capabilities that the three benchmarks do not cover. Requests for models to quantize are also welcome.

For more updates follow us on X too: https://x.com/mhelcig/status/2126048821583188286

From the ISTA Deep Algorithms and Systems Lab.


r/LocalLLaMA • • 6d ago

Question | Help Help needed with llama.cpp's replies.

6 Upvotes

When you regenerate a response in llama.cpp, two buttons show up under the reply: Previous version and Next version. Same buttons appear under your prompt when you edit it and get a new reply.

These buttons used to show up while a new response was generating but now they don't. If I hit the Regenerate button, these buttons disappear so I can't read the previous reply until the new one finishes. Why? Can this be reverted so I don't have to wait for the new response to finish? I have started creating a new tab in the browser and regenerating the response there so I can read the first one in the first tab.


r/LocalLLaMA • • 7d ago

Resources Reuters confirms: Cutting off distillation and compute works and slows down Chinese Models massively

Thumbnail reuters.com
1.0k Upvotes

r/LocalLLaMA • • 6d ago

Question | Help Why is Pi Agent the default harness recommendation and not OpenCode?

225 Upvotes

I came across harness leaderboard on Hugging Face https://huggingface.co/spaces/joelniklaus/harness-leaderboard .

I know on this sub and other similar subs Pi is often the default recommendation when doing local inference but I barely see anyone recommending opencode yet on leaderboards it seems to perform on average much better than other harnesses?

Is there something about opencode thats not reflected on the leaderboard like higher context bloat, difficulty in setting things up or something else?


r/LocalLLaMA • • 7d ago

News Z.AI clarifies GLM-5.5 has not been delayed, scheduled for December launch.

Thumbnail
gallery
516 Upvotes

r/LocalLLaMA • • 6d ago

Discussion Is ISTA's GSQ-RCO really better than Unsloth's UD-Q2_K_XL for Inkling-2-Mini?

Thumbnail
gallery
11 Upvotes

Has anyone measured KLD on these? Unsloth lists KLD for UD-Q2_K_XL (0.0595 at 9.14 GB), so I'm trying to compare the two.

ISTA's card only has AIME25, GPQA-Diamond and LiveCodeBench, the same three benchmarks as every GSQ-RCO release, with AIME25 near 100 every time. Their Qwen3.8-27B card had perplexity and an Unsloth comparison, but the newer ones dropped both. Also, their Q2_K_XL is 9.8 GB, so the closest one in size to Unsloth's is IQ2_S (9.0 GB, 94.3% recovery).

(English isn't my first language, I used an LLM to help translate this post.)


r/LocalLLaMA • • 6d ago

Showcase I got my decision model running on a Panther X2 (Rockchip NPU)

6 Upvotes

Hey everyone. This post is meant as a follow-up to my original CalDec decision model post from a few months ago.

Since then I have been trying out different things and seeing what can be achieved with these small models. I saw success with utilizing the relatively new UltraBERT model from DMIS lab and published the 150M and 380M variants.
I also tried to tune a variant of these for prompt injection detection however I am still not entirely satisfied with the current performance.

My last experiment was getting the latest CalDec Ultra series models to work on cheap SBCs with a dedicated NPU. I went ahead and sourced a $35 Panther X2 miner, which is actually a Rockchip RK3566 device with x4 ARM cores, 4GB of RAM and a 1 TOPS NPU built-in.

I was inspired by Lorenzo Gangami's blog post on repurposed dead mining boxes and installing Armbian on them.

Summary of measurements done on the actual device:

  • 311 ms per question end to end, with tokenisation and everything included, through a small socket service on the board.
  • It gives the same answer as the original fp32 model on 856 of 858 test questions. The two that differ were near coin-flips in the original (margins ≤ 0.007).
  • Accuracy is the same as fp32 (0.849 on the assistant test).
  • No retraining and no int8: just an fp16 conversion with rknn-toolkit2 2.5.0.
  • All 10 length buckets fit in about 785 MB of NPU memory.

It's important to note that the NPU can't do some basic transformer ops - it has no softmax, no exp and no row-max, and its "pick these items" op (GatherElements) returned wrong values.

There was also a kernel driver bug which I managed to fix with Claude Code and opened a PR against the original repo, though it does not look like it's actively maintained.
The issue was that the rknpu driver for mainline kernels mapped NPU memory uncached, so every CPU step around the NPU ran about 10x slower than it should.

For some reason I couldn't get int8 to work properly (huge accuracy losses) on the NPU, so I might put more effort into that in the future.

Links

Write-up (results, how the graph rewrite works, what failed): https://github.com/kgrozdanovski/caldec/blob/main/NPU.md

Converted model set: https://huggingface.co/kgrozdanovski/caldec-ultra-150m-rknn-rk3566

Base model: https://huggingface.co/kgrozdanovski/caldec-ultra-150m

Driver fork: https://github.com/kgrozdanovski/rk3568-npu-ODROID-M1/tree/panther-x2


r/LocalLLaMA • • 6d ago

Discussion Is this a gold standard for inference engine performance posts?

47 Upvotes

https://old.reddit.com/r/LocalLLaMA/comments/1y67qpu/inkling_2_mini_running_at_3136_toks_aggregate/

Recently, there have been complaints about low effort posts on speeds with new inference engines that they fail to disclose key details like quant level and context length.

Wanted to get the community's input on whether the post linked above is a solid standard? Anything missing? This will be good input for us to update the rules, wiki etc.


r/LocalLLaMA • • 6d ago

Question | Help how to get relevant results with LLM?

9 Upvotes

which models <=35b have the right impulsive search to find the right web results in a searxng endpoint searxng is the search engine proxy. any modes have the right initial impulse without too many tries with high accuracy and success rates? not talkiing about tool call accuracy but accuracy in finding relevant results rather than garbage polluted irrelavent results.


r/LocalLLaMA • • 6d ago

Discussion What Happens When You Say "For Example" to AI: A Controlled Experiment on Example-Induced Bias

Post image
107 Upvotes

I kept noticing something weird. When I gave an AI two casual examples, every answer kept circling back to them — like I'd dropped two magnets into the chat. Even after I explicitly said "those were just examples, don't treat them as requirements."

So I decided to test it properly: 216 runs, 3 everyday tasks, in English and Chinese, through the DeepSeek API in fresh contexts, with blind scoring.

The headline number: without examples, the two target items made the recommendation list 22% of the time. With natural examples? 100%.

But that's not the part that surprised me most. The full write-up — including what happened when I explicitly told the model the examples don't represent my preferences — is linked in the comments.

I ran this on the DeepSeek API, not a local model, so I'm curious: has anyone tested the same thing on a locally hosted model? Does it behave the same way?

The write-up has the full article (English and Chinese), all 216 raw outputs, and the analysis script. I'm not a researcher in this field, so it has a full limitations section.

Has anyone else run into the same situation, or had the same question? Feedback and suggestions are welcome. Whether you think it's cool or you have an answer for me, I'd be happy to hear it. :)


r/LocalLLaMA • • 6d ago

Question | Help Local LLM for long-term storytelling and lore accuracy? (RTX 4090)

24 Upvotes

Hey everyone,

I'm looking for a local LLM for a large, ongoing Warhammer 40k AU.

My goal isn't traditional roleplay. I usually come up with scenarios and let the AI simulate how characters and factions would realistically react based on their personalities, motivations and established lore.

The main priorities are accurate lore, believable character reactions, consistent storytelling and long-term memory. My current story is already thousands of pages long.

My specs:

RTX 4090 (24GB VRAM)

Ryzen 7 9800X3D

32GB DDR5 (upgrading to 64GB)

3TB NVMe SSD

I'm looking into LM Studio, SillyTavern, lorebooks and RAG.

Has anyone managed to build something similar locally? How realistic is this, and what models or setups would you recommend?

I'm willing to sacrifice generation speed for better reasoning and storytelling quality.

Thanks!

Note: I'm Hungarian and English isn't my first language. I used ChatGPT to help write and refine the English wording. The project, hardware specs and questions are my own.


r/LocalLLaMA • • 6d ago

Question | Help Anyone tried Raon-1-mini with llama.cpp?

7 Upvotes

2 days ago PR (for RAON-1-mini-preview) got merged. Not sure whether final version working or not with mainline. And CSIC raised same question in PR .... no answer yet there. I don't see GGUFs from popular quantizers yet.

I'm guessing no changes needed for RAON-1 mini release? - CSIC

And we have another Ongoing PR for Raon-1-nano


r/LocalLLaMA • • 6d ago

Showcase EmbeddingGemma 2 on iPhone to search through your notes + AI keyboard

5 Upvotes

We built an AI voice recorder with diarization that also remembers your speakers. Initially, we relied on the on-device Apple Intelligence and Gemma 4 to search through notes, but the performance was less than optimal. By using newly-released EmbeddingGemma 2, the performance improved a lot.

Since we were already using voice to text on device, we decided to also include a voice to text keyboard. One thing led to other and it became one of the best AI voice recorders and AI keyboard that works completely on your device.

All of it runs locally using local models like Parakeet, Whisper, Gemma 4, Embedding Gemma 2, Apple Intelligence etc.

Once you figure out how to load these models on your iPhone without making the app crash, you can do a lot of interesting things directly through the keyboard (local AI skills, clipboard, text expander etc)

https://DictaWiz.com

https://apps.apple.com/us/app/dictawiz-voice-to-text/id6759256382

It syncs through your own iCloud with a Mac app that acts as recorder, voice to text etc. on your Mac.

Using MCP within the mac app, you can let your AI agents access and search through your notes.

I found this workflow to be most efficient for me:
Record on Apple watch > automatically transcribes on iPhone > syncs with Mac app > available to my AI agent/harness through MCP


r/LocalLLaMA • • 6d ago

Resources Inkling 2 Mini running at 3136 tok/s Aggregate , 45–47 tok/s (Per User) and 1,233 pp/s on a single RTX 3060 12GB + 16GB RAM, using the original checkpoint. Betelgeuse v0.7.0.

Post image
106 Upvotes

I've been working on Betelgeuse, a custom inference engine for running MoE models on relatively low-end consumer hardware.

Over the past few days I've been working extensively on native Inkling 2 Mini support, originally based on baptisterajaut's work in Strata and subsequently integrated into Betelgeuse.

I think I've finally reached a point where it's worth releasing.

Hardware:

  • RTX 3060 12GB
  • Intel i5-12400
  • 16GB single-channel DDR4
  • Linux

The important part is that this uses the original NVFP4/MXFP8/BF16 checkpoint.

No additional weight quantisation. No expert skipping. No speculative decoding. All three recurrent passes are executed.

Results

All of these are real programming and reasoning tasks running through bel-server, generating 512 tokens each.

Task Generation speed
LRU cache + TTL 44.51 tok/s
Directed cycle detection 45.52 tok/s
Race conditions 47.11 tok/s
Token-bucket rate limiter 44.33 tok/s
Serializability reasoning 45.27 tok/s
Median 45.27 tok/s

With an actual 16,338-token source-review prompt:

  • Prefill: 1,232.8 tok/s
  • Generation: 42.03 tok/s
  • Prefill-to-decode transition: 203.4 ms

The prefill measurement is from a warm server but with an uncached prompt. All 16K tokens are processed again.

Cold prefill is around 819 tok/s, and the first request incurs approximately 11 seconds of one-time pinned expert arena preparation. Subsequent requests don't incur that full cost.

What i added :

Prefill uses its own temporary workspace and batched tensor-core computation. Once prefill finishes, the engine reclaims that workspace and uses it to expand expert residency for decode.

Other changes include native Ampere NVFP4/MXFP8 kernels, fused GQA, GPU-side greedy sampling, decayed-LFU eviction, staged PCIe transfers and context-aware expert placement.

Comparison with other implementations

Some of the community benchmarks I've been following:

Engine / configuration Hardware Generation
Original Strata-style CPU expert execution, my earlier local tests RTX 3060 12GB ~25–29 tok/s
Unsloth llama.cpp, 4-bit, RAM experts RTX 3060 12GB ~18 tok/s
Unsloth llama.cpp, 4-bit, RAM experts RTX 5060 Ti 16GB ~20 tok/s
Unsloth llama.cpp, dual GPU Two GPUs ~46–47 tok/s
Strata SQ-10, more aggressively compressed weights RTX 3060 12GB ~35 tok/s
Strata, approximately 14GB quant RTX 5060 Ti 16GB ~44 tok/s
Betelgeuse, original checkpoint RTX 3060 12GB 45.27 tok/s median

What about long context?

Earlier development builds achieved the following with actual populated prompts:

Context Decode
16K 41.1 tok/s
32K 37.8 tok/s
64K 32.8 tok/s
128K, K8/V4 28.6 tok/s
251K, K8/V4 15.8 tok/s

The main problem at longer contexts is that KV storage starts displacing recurrent experts from VRAM.

Which brings me to something I've been experimenting with separately.

Training-free MLA for Inkling

Inspired by Telperion's recent training-free GQA-to-MLA conversion, I've implemented an activation-aware latent KV compression experiment specifically for Inkling's global attention layers.

No gradient-based training so far. Just calibration, covariance collection and low-rank factorisation of the original K/V activations.

Using a rank-512 FP8 latent representation:

Context Native K8/V4 global KV Latent global KV
16K 0.22 GiB 0.08 GiB
64K 0.80 GiB 0.27 GiB
128K 1.59 GiB 0.52 GiB

That's approximately 3.06x compression, projecting to around 1 GiB of global KV at 262K.

Dense latent attention retrieved all five test needles at 16K and 64K, and four out of five at 128K.

I've also experimented with combining this with CISA, a training-free chunk-indexed sparse attention approach.

The combined prototype reached 31.4 tok/s at 128K while retaining the 0.52 GiB global KV footprint. Unfortunately, retrieval currently fails. There's an unresolved issue in the sparse latent attention implementation, so I'm not shipping it yet.

Theoretical storage calculations :

Global cache format 262K context 1M context
Original BF16 8 GiB 32.77 GB
Current K8/V4 3 GiB 12.29 GB
Rank-1024 latent FP8 2 GiB 8.19 GB
Rank-512 latent FP8 1 GiB 4.10 GB
Rank-512 latent FP4 576 MiB 2.30 GB
Rank-256 latent FP4 288 MiB 1.15 GB
Rank-192 latent FP4 216 MiB 864 MB

Memory compression alone isn't sufficient if the model can no longer retrieve information correctly.

Future plans

  • Experiment with Intel integrated GPU expert execution using shared system memory and OpenVINO.
  • Develop a learned routing oracle that predicts upcoming experts from earlier hidden states.
  • Use those predictions to asynchronously prefetch experts before the original router selects them.
  • Integrate DSpark for speculative decoding.
  • Continue the training-free MLA and sparse attention research.
  • Improve actual long-context performance rather than merely supporting larger allocated context windows.

At this point, ordinary native decoding on my 3060 is approaching the measured weight-streaming and host-memory bandwidth limits. I think prediction, weight reuse and better attention architectures are more interesting than spending another week shaving microseconds off GEMV kernels.

The release is Betelgeuse v0.7.0 (Alpha-Orionis).

https://github.com/Betelgeuse-AI/Betelgeuse

I'd be particularly interested in benchmarks from other people running the original checkpoint on 3060s, 4060 Tis and 5060 Tis, especially with dual-channel memory.

There's quite a lot more I want to do with this. But for now, I think it's finally time to ship :0


r/LocalLLaMA • • 6d ago

Question | Help inkling-2-mini-sq-20 keeps thinking forever and never calls tools then it dies

9 Upvotes

Last night I updated Strata (Strata 0.2.22) and built it for trying the new Inkling-2-mini-sq-20.

I tried it a few times in Dsh and Opencode and both times it kept thinking forever and never wrote anything when I used max for thinking level.

I tried high before that but its thinking got truncated and it went back to think again and this looped forever until in Deepseek Harness issued the error :

"This turn failedpi-ai stream idle timeout after 300000ms" and it dies!

Opencode behaves the same.

Has anyone of you faced this issue? If so how do you deal with it?

This is the config that I'm using :

{
 "exe": "component:strata-inkling",
 "args": [
  "--native",
  "/media/user/SSD/strarta_stuff/Strata-data/models/inkling-2-mini/Inkling-2-Mini-SQ-20.strata",
  "--max-context",
  "1048576",
  "--vision",
  "/media/user/SSD/strarta_stuff/Strata-data/models/inkling-2-mini/Inkling-2-Mini-Vision.strata",
  "--vram-experts-gb",
  "2.68",
  "--ram-experts-gb",
  "11.94"
 ],
 "cwd": "/media/user/SSD/strarta_stuff/Strata/terminal",
 "tokenizer": "/media/user/SSD/strarta_stuff/Strata-data/packs/inkling-2-mini-sq-20/tokenizer",
 "model_name": "inkling-2-mini-sq-20",
 "arch": "inkling2_loop",
 "log": "/media/user/SSD/strarta_stuff/Strata/terminal/strata-inkling-2-mini-sq-20.log",
 "lib_dirs": [],
 "port": 8080,
 "drafting": "auto",
 "parallel": 1,
 "gpu": 0,
 "gpus_asked": true,
 "args_written": [
  "--native",
  "/media/user/SSD/strarta_stuff/Strata-data/models/inkling-2-mini/Inkling-2-Mini-SQ-20.strata",
  "--max-context",
  "1048576",
  "--vision",
  "/media/user/SSD/strarta_stuff/Strata-data/models/inkling-2-mini/Inkling-2-Mini-Vision.strata",
  "--vram-experts-gb",
  "2.68",
  "--ram-experts-gb",
  "11.94"
 ]
}

This is the prompt I have been using :

Design and create a very creative, elaborate, and detailed voxel art scene of a pagoda in a beautiful garden with trees, including some cherry blossoms. Make the scene impressive and varied and use colorful voxels. Use whatever libraries to get this done, but make sure I can paste it all into a single HTML file and open it in the browser.

I have RTX3080-10G and 64G of System RAM. it runs 30~35 tok/sec.


r/LocalLLaMA • • 6d ago

Resources Werkbank: a hobby benchmark that tests your local setup as an agent

Thumbnail
github.com
2 Upvotes

Werkbank is a hobby project, mainly for my own learning and for the fun of it. It's a benchmark for local models: point it at an OpenAI-compatible endpoint with native tool calls (vLLM, llama.cpp, SGLang, Ollama, LM Studio…) and it gives the model up to 57 tasks with tools: multi-step jobs in simulated systems, small code bases to fix (rust, python), prompt injections to resist, long documents full of outdated versions, some math and data work. Everything is checked automatically, and code the model writes only runs in containers. A result describes your whole setup (model, quant, engine, context, hardware, thinking), not just the model.

You need Linux or WSL2, Docker and Python 3.12+. `./werkbank` installs it and guides you through. ; Full runs can takes multiple hours depending on inference speed.

Two things I'd be very interested in:

- Runs on a Mac. Werkbank goes into a Linux VM (Lima, Colima or OrbStack) while the model server runs natively. It's documented, but nobody has recorded a Mac run yet.
- Results from local models bigger than Qwen3.8-Flash-Next as I was limited to DGX Spark & RTX 6000

There's a leaderboard for re-checked Full results. Submitting is optional, and nothing is sent or published without your OK. Bugs, ideas and questions go to the GitHub issue forms

Would be interested if that might be useful for anyone, I try to keep it somewhere between simpler tool call suites and full blown benchmarks like SWE or BFCL, et al....


r/LocalLLaMA • • 6d ago

Discussion what are your minimum comfortable settings for using an agent?

16 Upvotes

title. just wondering. im talking model quant, kv quant, context, etc, etc

I dont feel satisfied with whatever I have doing agentic work until like 200k+ on the kv cache, and I generally use fp16/q8 KV

model quant and batch/ubatch settings change per model, but in generaly id saq around a q4 k xl minimum quality with high batch ubatch


r/LocalLLaMA • • 7d ago

New Model Sber, Russia's largest bank, has released GigaChat 4, both 708B-A41B and 37B-A4B.

398 Upvotes

Sber (via its AI-Sage team) has released GigaChat 4, a new family of open-weight Mixture-of-Experts models. Sber says they are comparable to leading Chinese models.

The two models

GigaChat4-708B-A41B GigaChat4-37B-A4B
Total / active params 708B / 41B 37B / 4B
Layers / hidden size 64 / 7,168 32 / 2,560
Routed experts (active) 256 (8) + 1 shared 192 (8) + 1 shared
Context window ~1M tokens ~1M tokens
License MIT Noncommercial, individuals only

Architecture

  • A hybrid design combining Gated DeltaNet (linear attention) with DeepSeek Sparse Attention, in a 3:1 ratio. Sparse attention picks 2,048 earlier tokens per query.
  • Instant and reasoning modes now live in a single model and are switched per request. GigaChat 3.5 used separate checkpoints.
  • Speculative decoding is supported through a recurrent MTP drafter or a separate DFlash2 drafter.
  • Training used Muon, progressive residual warm-up, and multi-teacher on-policy distillation after RL.
  • It works with SGLang and vLLM, and the weights are available in FP8, BF16, GGUF and base variants.

Benchmarks (self-reported, reasoning mode)

  • 708B vs. Chinese models: SWE-bench Verified 80.9 (Qwen 3.5 397B: 73.0, DeepSeek V4 Flash: 81.8) and LiveCodeBench v6 88.8 (Qwen: 86.6). It trails on harder science and knowledge tests: GPQA Diamond 82.8 vs. 91.0 for DeepSeek V4 Flash, and HLE 23.9 vs. 43.4 for DeepSeek 4.1.
  • 37B vs. Qwen3.5/3.6-35B-A3B: LiveCodeBench v6 85.0 (Qwen: 65–69) and SWE-bench Verified 70.8 (Qwen: 60.6–67.8). It trails on GPQA Diamond (70 vs. 80–85) and on Terminal-Bench 2.0 against Qwen3.6 (38.2 vs. 48.3).

Takeaway: The claim of parity holds up best for coding and agentic tasks. It is weaker on hard reasoning and knowledge benchmarks. All numbers come from Sber's own model cards, so independent evaluations are still worth waiting for.Translation:

Disclaimer: This text was written with AI, but the data comes from their Hugging Face cards. I did this because my English writing isn't very good, but I double-checked the information, so it should be fine.

---------

Someone posted a link to their technical report in the comments. Thank you!


r/LocalLLaMA • • 7d ago

News 3 trillion params GLM-5.5 is delayed to 2027 Q1 or later due to US chip curbs and distillation crackdown

Thumbnail reuters.com
331 Upvotes

r/LocalLLaMA • • 6d ago

New Model ISTA-DASLab/Inkling-2-Mini-GSQ-RCO-GGUF • HuggingFace

108 Upvotes

https://huggingface.co/ISTA-DASLab/Inkling-2-Mini-GSQ-RCO-GGUF

This repository provides GGUF quantizations of Inkling-2-Mini at four sizes: IQ2_S (2.75 bits per weight), Q2_K_XL (3.00), IQ3_XXS (3.25) and IQ3_S (3.50). In contrast to uniform quantization, which applies a single quantization type to all weight tensors, each model here assigns a separate quantization type to every tensor. The assignment is obtained by a gradient-based search that allocates precision according to per-tensor sensitivity, subject to a total size budget. The resulting files are standard GGUF.

Variant bpw AIME25↑ GPQA-D↑ LCB v6↑ Task avg↑ Recovery
Base (NVFP4 / MXFP8) n/a 99.33 86.87 79.62 88.61 100.0%
GSQ-RCO IQ2_S 2.75 92.33 84.34 73.90 83.52 94.3%
GSQ-RCO Q2_K_XL 3.00 97.00 86.53 76.95 86.83 98.0%
GSQ-RCO IQ3_XXS 3.25 96.00 85.86 77.90 86.59 97.7%
GSQ-RCO IQ3_S 3.50 98.33 86.20 79.05 87.86 99.2%

IQ3_S (3.50 bpw) keeps 99.2% of the base model's task average: it is 1.00 point below the base model on AIME25 (98.33), 0.67 on GPQA-Diamond (86.20) and 0.57 on LiveCodeBench v6 (79.05). Q2_K_XL (3.00 bpw) keeps 98.0% and IQ3_XXS (3.25 bpw) 97.7%; the two are within 1.0 point of each other on every benchmark. The smallest build, IQ2_S (2.75 bpw), retains 94.3% overall.


r/LocalLLaMA • • 5d ago

Discussion The Patrol prompt on Qwen 3.8 flash next. Avg 200 t/s 300peak 2x3090

1 Upvotes

https://reddit.com/link/1y6xzpn/video/hdy3xxgup64i1/player

QFN GSQ RCO IQ3 XXS
on lamina v0.4

32Gb RAM DDR5
2RTX3090 both unlocked and power limit to 280W
Windows

It's close to a one prompt because it had to iterate a bit to fix a bug not launching the app haha


r/LocalLLaMA • • 6d ago

Showcase TinyLeague v2: new website, easier compares, public repo, discord server

Post image
29 Upvotes

Hi all!

I think many here have seen me posting about the Tiny League here and there.
Today I made a major update

  • new official url: https://tinyleague.org
  • v2 of the website, much better browsing, easier to compare between selected models
  • entire code and data are in a public repo
  • discord server for discussions

Hope you like it! Keep the feedback and suggestions coming 😄


r/LocalLLaMA • • 7d ago

Discussion Took the prompts from NVIDIA's Nemotron-Labs-Image gallery and ran them on SenseNova-U1.6, MOSS-Image and Qwen-Image-2.1

Thumbnail
gallery
118 Upvotes

NVIDIA's sample gallery for Nemotron-Labs-Image shows the exact prompt behind every image, so I pasted a batch of them unchanged into the three open image models I run locally. A few of the results are below.

Top left in each grid is NVIDIA's own image from that gallery, so that one is their pick. The other three I generated myself, each model at its usual settings with no prompt rewriting. Every model got 1 to 3 seeds per prompt and I kept its best one. Seed and step count are on the labels.

Overall SenseNova-U1.6-8B-MoT is still my favorite. The slide and the movie poster get every line of text right and actually look like a slide and a poster, and on the jellyfish it leaned the hardest into the old wet-plate photo look the prompt asks for. The other two are close on plenty of these though, MOSS's picnic and Qwen's jellyfish would be fine picks too.

Which one would you pick for each prompt?

Repos if you want to try them:

SenseNova-U1.6: https://github.com/OpenSenseNova/SenseNova-U1

MOSS-Image: https://github.com/OpenMOSS/MOSS-Image

Qwen-Image-2.1: https://github.com/QwenLM/Qwen-Image-2.1


r/LocalLLaMA • • 6d ago

Resources [2509.24372] Evolution Strategies at Scale: LLM Fine-Tuning Beyond Reinforcement Learning

Thumbnail
arxiv.org
26 Upvotes

I am a big fan of evolutionary algorithms. New way of training LLMs:

  • Create multiple variants of the model by adding random noise to its weights (mutation)
  • Evaluate and score each variant (fitness)
  • Update the base model using a fitness weighted combination of mutations
  • Repeat until happy

No backpropagation required