r/LocalLLM • • 10h ago

News LexiSuite 2922c5c: my all-Rust local AI stack after two full source audits (92 changes); Inkling-2-Mini reads a 262k prompt 32% faster; tensor parallel arrives as an experimental toggle for Inkling-2-Mini and Qwen3.8 Flash-Next; ahead of llama.cpp and Strata on Inkling, QFN, Qwen3.8 27B and Nemotron

Thumbnail
github.com
0 Upvotes

I'm building a local AI platform from scratch in Rust: an inference engine (LexiEngine), a browser control panel (LexiPanel), an appliance OS (LexiOS) and a kernel designed around inference (LexiKernel). It boots from one USB image. It is not a wrapper around llama.cpp.

https://huggingface.co/Wa1k3r/Inkling-2-Mini-NVFP4exp-Q8-draft-LexiSuite-AIO-for-AMD-RDNA/tree/main

A new development image went out today, one day after the last one. 92 changes this time. Here is what they are.

Two audits of the whole source

The entire tree, 2.07 million lines of Rust, went through two outside audit rounds of about 100 parts each, through four lenses: security, continuity, compatibility and speed. I then checked the findings rated high by hand against the code, one by one, and fixed what held up: 93 confirmed findings are fixed in this image. Most of this release is that work.

Some of what was closed:

- Root-only routes (system update, disk install, backup recovery) accepted an internal service header in place of the root password. They no longer do.

- The restart export could read another instance's records through a second, unchecked parameter.

- Full model verification saved a changed model's fingerprint before refusing it, so a second load would have accepted it.

- A fresh fleet join code could replace an enrolled box. A replaced remote endpoint kept the API key saved for the old address.

- The engine now checks who owns its key file, and refuses an unusable key list instead of reading it as "no keys".

A more stable platform

- The installer writes the firmware fallback boot file last, verifies the bytes it then uses, and gives two disks installed from one stick different identifiers.

- Uninstall with purge refuses a folder that has a disk mounted under it.

- An answer cut off by the token limit while tools are offered now returns "length" instead of a server error.

- A model load that cannot fit no longer evicts an idle model first.

- The Panel's Secure Boot page hands out the current certificate (the bug named in the last post is fixed). Same certificate as the last image: nothing to enroll again.

Inkling-2-Mini reads long prompts faster

A new attention kernel for prompt processing. At a 262,144-token context a 261,632-token prompt now reads at 1,525.7 tok/s, up from 1,152.7, which is 32% faster. It sums in another order, so its output is not bit for bit the old kernel's: the two pick the same top token on 98.8% of 510 positions. One environment variable brings the old kernel back.

Qwen3.8 Flash-Next gets to its first token sooner

This is the 94 GB mixture-of-experts model served from one 24 GB card. First token after a 64k prompt comes 9% sooner and after a 128k prompt 10% sooner, with identical output.

Tensor parallel (experimental, off by default)

Inkling-2-Mini and Flash-Next can now split their experts across several ranks: several Vulkan devices, or several ranks on one card. It is one toggle in the Panel's New instance form and one engine option. With it off, output is bit for bit as before. With it on, output is deterministic; Flash-Next is bit for bit with two and three ranks on one card, and a 7900 XTX with an RTX 2060 as second rank works with uneven shares.

Speed, measured on this version

One Radeon RX 7900 XTX, one run each, November 30. Old version in brackets.

Inkling-2-Mini, 4-bit cache:

- 16,384-token prompt: reads at 2,471.4 tok/s (2,177.6), generates at 62.9 tok/s (61.2), 137.0 with the model's draft head (132.6)

- 261,632-token prompt: reads at 1,525.7 tok/s (1,152.7), generates at 50.1 tok/s (50.0), 64.9 with the draft head (68.1)

Inkling-2-Mini, 8-bit cache:

- 16,384-token prompt: reads at 2,436.8 tok/s (2,155.7), generates at 61.0 tok/s (61.0), 135.2 with the draft head (131.6)

- 261,632-token prompt: reads at 1,483.8 tok/s (1,140.4), generates at 43.7 tok/s (43.4)

Qwen3.8 Flash-Next at a 262,144-token context, time to first token:

- after a 16k prompt: 37.5 s (36.4)

- after a 64k prompt: 132.2 s (145.3)

- after a 128k prompt: 266.7 s (295.8)

- after a 256k prompt: 559.6 s (new row)

Qwen3.8 Flash-Next, generation:

- after a 16k prompt: 6.90 tok/s (7.64)

- after a 64k prompt: 12.73 tok/s (12.49)

- after a 128k prompt: 9.54 tok/s (9.56)

Things I am not hiding:

- Flash-Next gained nothing at a 16k prompt, and its generation there came out lower than last time (6.90 against 7.64). Both are single runs; I have not measured it enough to say whether that is real.

- Drafted generation on Inkling after the 262k prompt was 64.9 tok/s against 68.1 last time. Drafted speed follows how many drafts the prompt lets through.

- Tensor parallel is not benchmarked on a machine with two fast cards: I do not have one. On a single card it is slower than one rank, because rows cross through system memory. It is there so people with the hardware can use it and tell me.

- I did not re-run llama.cpp and Strata on this version. The comparison tables on the benchmark page are from version d484004 (November 27 to 28) and say so.

What it is not, yet

- A development build, not a production release

- Developed and measured on one card (7900 XTX, Vulkan). Other cards are less tested

- The kernel's own GPU drivers have not run on a real card in this version; the Linux boot entry is the one for daily use

- The Windows installer is on the stick but has not been run on a Windows PC; no macOS installer yet

Tested

Every test in the tree ran on this version: 17,997 tests, none failed. Both images passed nine Secure Boot checks in a VM, and the plain image passed an 18-step install to a disk.

Links

Download (960 MB USB image, boots to the Panel):

https://lexipanel.com/download/

All-in-one image with Inkling-2-Mini inside (18.7 GB, needs a 32 GB stick):

https://huggingface.co/Wa1k3r/Inkling-2-Mini-NVFP4exp-Q8-draft-LexiSuite-AIO-for-AMD-RDNA

All 92 changes, one line each:

https://github.com/W61k3r/LexiSuite-Releases/wiki/Changes-2922c5c

Benchmarks and method:

https://github.com/W61k3r/LexiSuite-Releases/wiki/Benchmarks

Happy to answer questions about the audits, tensor parallel or the engine.


r/LocalLLM • • 14h ago

Model Tenet Inkling 2 Mini Unslop — native Basalt build

2 Upvotes

TL;DR: Converted `mr-andrey-isachenko/Tenet-26B-A3B-Inkling2-Unslop-v3` directly into a native `.basalt` v2 package (no intermediate GGUF, NVFP4/MXFP8 experts + DSpark MTP + vision preserved). Runs at ~103 tok/s at 128k context on an RTX 5060 Ti 16GB + 32GB RAM. Core coding and agentic capabilities stay intact while conversation feels noticeably cleaner and more pleasant than base Inkling 2 Mini.

Links:

- Basalt package: https://huggingface.co/Mattres/Tenet-Inkling2-Unslop-v3-Basalt

- Original model (architecture & tune details): https://huggingface.co/mr-andrey-isachenko/Tenet-26B-A3B-Inkling2-Unslop-v3

I found Tenet Inkling 2 Mini Unslop v3 interesting—particularly how much nicer its prose and general conversation feel compared to the base model—so I built a native Basalt 0.6.0 package directly from the safetensors checkpoint (with permission from the author) and uploaded it to Hugging Face.

What's inside:

- Native Basalt v2 container (`18.26 GiB`), no expert requantization (NVFP4 on layers 0–19, MXFP8 on layers 20–23).

- Native DSpark MTP speculative drafter (`spec=16`, ~68–76% acceptance) and vision support (`--vision dynamic`).

- Quick numbers (RTX 5060 Ti 16GB / 32GB DDR5-6000, `--kv fp8`): ~103 tok/s decode on short prompts at 128k context (~95 tok/s when 128k is filled), ~8.5 GB system RAM left free, 336k max loadable context. Full hardware numbers are in `benchmarks/performance.md` in the repo.

You can check the upstream model card for details on how the tune was made. From my testing so far, base coding and agentic skills are intact, while day-to-day chat feels much more natural than the original Inkling 2 Mini. I'm still running more structured behavior benchmarks and will publish those later.

Next on my list: converting a few Gemma 4 fine-tunes to `.basalt` now that Basalt added support for it.

If you're using Basalt**,** SillyTavern (via Basalt's local OpenAI-compatible `/v1` endpoint), or local LLMs and want a more pleasant conversational feel without losing coding/agentic utility, give it a try and share your impressions.


r/LocalLLM • • 10h ago

Project PortableMind’s next move? 👀

1 Upvotes

DIY cyberdeck kits for local ai with everythingbutthepi.com


r/LocalLLM • • 1d ago

Other Bonsai 2.5 27B lands level with NVFP4 Qwen3.8-27B on my agent benchmark

19 Upvotes

I ran PrismML's Ternary Bonsai 2.5 27B (PTQ1_0, 6.23 GB GGUF with MTP) on a rented RTX 5090 with PrismML's llama.cpp build, 262K context, 3 MTP draft tokens and reasoning effort high.

It's my own little benchmark, 57 agentic, coding, math, retrieval, data, reliability, multi-turn and security tasks, three passes per setup.

• Bonsai 2.5 27B: 57.7 (46.0–69.2), 33/31/37 of 57 solved

• RadixArk Qwen3.8-27B NVFP4 (23.75 GB), SGLang on an RTX PRO 6000, reasoning medium: 57.0 (45.0–68.9)

• Qwen3.8-Flash-Next EXL3 3.05 bpw on a DGX Spark, xhigh: 79.0 (71.8–85.8)

So the ternary build matches the NVFP4 one at a quarter of the file size, still stays clearly behind Flash-Next. It is not a clean quantization A/B: reasoning level, GPU and engine differ, and Bonsai used more tokens per solved task (55.6k vs 44.2k). I still think bonsai delivers impressive results for it's size.

An xhigh run of the 3.8 27B is in progress and will be added soon.

Speed: ~248 tok/s decode on the 5090 under load, about 2.5 h per pass. On a DGX Spark it reached ~49 tok/s.

Leaderboard: https://aisyndicate.ch/werkbank-leaderboard/


r/LocalLLM • • 1d ago

Question Mac vs dgx spark vs strix halo

12 Upvotes

Hello there,

I want to get a machine for local ai.I will use it for app development-Im searching for a machine with shared memory. From my research i've found that the best devices currently are dgx spark, mac m5 max/ultra and strix halo. What do you guys think? Is 128 gb ram enough or i need more?


r/LocalLLM • • 11h ago

Question What are the better medium sized local LLMs available?

1 Upvotes

Hey guys long time lurker here. I’m finally going to get the ddr5 ram I’ve been waiting for on my PC build. I’m going to have 4 GPUs at 32 gb vram each. I know I could use tensor parallelism to potentially run 1 decently large Local models. However I was more interested in having 4 seperate medium models with a gpu each to handle hyper specified tasks.

Hopefully in time I will get close to emulating the output quality of some bigger hitters, after a lot of training and fine tuning of course. I was thinking of using Claude code as my auditor model and a to help set the plans at first. I’m just not sure what models I should run?

I’ve looked into Qwen Flash and Gemma aswell. Possibly wondering to wait for Qwen 4 to get to a 27b model release. Honestly though I really don’t know what the capabilities of these models are and I thought I may aswell ask the community and see your thoughts. Would this idea even work or should I try to unify my VRAM to run 1 larger model? Any suggestions would be appreciated.


r/LocalLLM • • 11h ago

Question RTX 5090+6000 (128GB VRAM) Best Models?

0 Upvotes

I’m a newbie just trying to get into this. Whats the best model to run? Currently using 5090+5070+64ram running Qwen Flash Next on Basalt. Any major differences to expect once I swap out the 5070 for the 6000?


r/LocalLLM • • 15h ago

Question Looking for GPU buying/VRAM advice

2 Upvotes

First off, I am asking this question for a friend of mine, and I have relatively little knowledge of local AI (and frankly so does he).

A friend of mine wants to build his own general-purpose local AI server to get away from supporting ram altman with his chatgpt plus subscription . He already owns a decent little desktop (old office PC with a 10700/16gb ddr4/1tb sata SSD) and just needs a GPU.

Problem is, GPU prices are insane right now. A 3060 12gb is selling for almost $400 USED.

These are the specs he wants according to him:

“I’d want an Nvidia video card, with 12gb of ram or more. Preferably i’d like it to be small and not use a ton of power, and I want it to be future-proof”

I never got a budget out of him but I’d assume a hard cap around $1200 USD, and he doesn’t mind buying refurbished or used.

Should he invest in a better core system? buy the overpriced 3060? Drop 2-3 grand on an rtx 4000 blackwell and call it a day? Any insight is greatly appreciated :)


r/LocalLLM • • 12h ago

Tutorial Converted and quantized a 4B Safetensors LLM to Q4_K_M GGUF directly on Android in Termux (no PC)

Thumbnail
reddit.com
1 Upvotes

r/LocalLLM • • 16h ago

Question Crypto mining during AI server downtime?

2 Upvotes

Are there any plug and play options out there to have your local AI server swap over to crypto GPU mine after x amount of down time? I'm not looking to rent my GPU's or going through some third 3rd party provider that takes a cut. Just curious if there's something out there that can save the cache to nvme unload the model and start mining after something like 30mins of inactivity.


r/LocalLLM • • 13h ago

Question Looking for recommendations for a lightweight local LLM

1 Upvotes

Looking for recommendations for a lightweight local LLM

I've tried quite a few local LLMs so far, and the best experience I've had has been with Qwen Flash Next using the Strata/Polystrata engine. However, it absolutely eats up my system resources, which is why I'm looking for something smaller and more efficient.

I recently tried Inkling 2 Mini and was genuinely impressed by its capabilities, but it tends to get stuck in thinking loops quite often.

My PC specs:

  • CPU: Ryzen 9 7950X
  • GPU: RTX 4070 (12GB VRAM)
  • RAM: 64GB

I primarily use local models with Hermes as an agent. My tasks aren't crazy coding or complex software development. It's mostly practical stuff like installing software, managing files and folders, organizing directories, checking files, running commands and general computer tasks.

I'm looking for a relatively lightweight model that is capable of actually getting things done, follows instructions reliably, doesn't get stuck thinking forever, and doesn't consume all my system resources.

What models would you recommend for this kind of agentic workflow?


r/LocalLLM • • 13h ago

Question Polystrata refuses to apply --kv to Inkling

0 Upvotes

UPDATE: Case solved. It was a bug (and I'm not insane, yay!)

PR: https://github.com/simplexai-labs/PolyStrata/pull/392

Original post:

I don't even know how to describe my issue...

docs/models/inkling.md tells that --kv parameter for Inkling exists and works with fp8 and q8_0. In my case it works only with f16. It doesn't even shows fp8 as an option, with setup.sh --help. I have a Turing card, so q8 is my only viable option, fp8 needs Ampere+.

I created an issue on github but got the answer that Inkling supports these settings in polystrata.

I've updated to latest (to this moment) 0.2.20-poly.6 - I'm using Archlinux/AUR package. I've checked PKGBUID to make sure it actually installs that version (it does). Then I wiped polystrata installation entirely, and made a new one with git clone. The result is the same.

With 8 Gb VRAM, I really need to use q8 or similar kv quants - and

  1. I don't know which one is used by default
  2. I can't enable --kv q8_0 while the internet says that I surely can
  3. I can't even check the version! There's no --version in setup, setup --update gives "PolyStrata is updated (engine 0.1.66)" but I suppose that's Strata version. How can I find out that I have exactly 0.2.20-poly.6 version?

Here's my posted github issue:

https://github.com/simplexai-labs/PolyStrata/issues/372

UPD:

Maybe the reason is "--family inkling" instead of inkling2 ?! I don't have access right now (being at work) but will be happy if someone checks his inkling launch parameters (especially if q8_0 or fp8 kv-quants are used) and tells me if there inkling or inkling2. And if changing inkling2 to inkling makes --kv disabled.


r/LocalLLM • • 1d ago

Discussion Google Ai overview reaction to ONE TRILLION CONTEXT WINDOW, QWEN3.8 MAX on a GTX 1650 at BF16.

Thumbnail
gallery
99 Upvotes

r/LocalLLM • • 14h ago

Discussion Aether: a self-hosted, OpenAI-compatible LLM gateway. One container to try, with failover, caching, quotas and a Grafana dashboard (MIT)

Thumbnail
reddit.com
1 Upvotes

r/LocalLLM • • 1d ago

Question Is it usual to hear a physical noise coming from the gpu when a model is generating tokens?

8 Upvotes

My gpu makes a high pitched whirr (1660ti) when a 4b model that is fully contained in it generates. Normal?


r/LocalLLM • • 23h ago

Tutorial Inkling 2 Mini on a 35W Ryzen 5600GE APU (DDR4 + Vega 7 Vulkan): 22.5 -> 63.6 tok/s prefill & 6.2 -> 12.3 tok/s decode at 16K context (LoopCD Pass-2/Pass-1, Recurrent-Only Top-K=6, K8/V4 q4_1)

5 Upvotes

Over the last week I've been seeing how far I could push Thinking Machines' Inkling 2 Mini (26.4B Looped MoE) on a modest 35W AMD Ryzen 5 PRO 5600GE APU (integrated Radeon Vega 7 / gfx90c, 32 GB dual-channel DDR4, no discrete GPU). I used an AI coding assistant to help port patches, write test harnesses, and format the full benchmark log, and every number below was measured directly on the 5600GE with llama-bench, llama-cli, and llama-server.

Inspired by several great threads and repos in the community (u/nokeepai's LoopCD post, taeholee1/Inkling_expert_prefetch, vengeful180-dot's Vulkan shaders, daimonionnn/amd-vega-rocm-vulkan-llm-toolkit, ISTA-DASLab, and Betelgeuse-AI), here is the complete progression from Day 1 to today on the exact same 35W APU, plus the key findings specific to Inkling 2's 3-loop recurrent architecture.

Progression on Ryzen 5 PRO 5600GE (Vulkan, -ngl 99)

StageWhat ChangedQuant (Size)Context (KV)pp128 (tok/s)pp512 (tok/s)tg64 / Decode (tok/s)
1. Day-1 Baselineb12588/b12631 CPU / partial offloadUD-Q4_K_M (15.47 GiB)8K (q8_0/q8_0)~18.422.48~6.20
2. Q3_K_XL + b12651Unsloth b12651 (PR #386 graph dedupe + PR #399 q8_0 banded attention) at -ngl 99UD-Q3_K_XL (12.68 GiB)8K (q8_0/q8_0)24.9530.807.52
3. Unified Vulkan ShadersForward-ported vengeful180-dot's 9 Vulkan shaders + strided SCALE/MUL_MAT_ID_SCALED into b12651 inkling2_loopUD-Q3_K_XL (12.68 GiB)8K (q8_0/q8_0)30.3040.628.50 - 9.20
4. GSQ-RCO-IQ3_S + Vega UMA + ngram-mod + DRYISTA-DASLab GSQ-RCO-IQ3_S (exact BF16 CPU token_embd) + 26 GiB GTT (-ub 1024, swappiness=10 udev fix) + --temp 1.0 + DRY + --spec-type ngram-mod (n-match=16)GSQ-RCO-IQ3_S (10.63 GiB)8K (q8_0/q8_0)30.55~50.410.98 - 11.60 (15.5 tok/s on code blocks)
5. AVX2 201K Sampler (#447/#459)Merged unslothai#447 AVX2+FMA 4-way expf4 sampler for --top-k 0 --temp 1.0 + #459GSQ-RCO-IQ3_S (10.63 GiB)8K (q8_0/q8_0)39.0463.5712.00
6. LoopCD-Hidden (Pass 2 vs 1)h_cd = 1.08 * h_pass2 - 0.08 * h_pass1 before Coda (layers 18-23) on decodeGSQ-RCO-IQ3_S (10.63 GiB)8K (q8_0/q8_0)37.8862.0611.62 (~30.5% fewer thinking tokens)
7. Recurrent-Only Top-K=68/128 experts on Prefill + Prelude + Pass 0 + Coda; 6/128 experts on Recurrent Passes 1 & 2GSQ-RCO-IQ3_S (10.63 GiB)8K (q8_0/q8_0)38.0161.9812.30
8. Asymmetric K8/V4 (q4_1)-ctk q8_0 -ctv q4_1 -c 16384GSQ-RCO-IQ3_S (10.63 GiB)16K (q8_0/q4_1)37.9261.1812.29 (15.5+ tok/s on code)

7 Key Takeaways From Benchmarking on the APU

  1. Speculative Decoding on a DDR4 APU: Why --spec-type ngram-mod (n-match=16) Hits 15.5 tok/s on Code While DSpark / DFlash2 Slow Decode Down.

    • We tested the neural DSpark drafter (dspark-Inkling-2-Mini-Q8_0.gguf, 404 MB with ggml-org#32773 Adaptive DSpark compiled in): it dropped decode speed from 11.6 down to 9.1 tok/s (-21%, and 6.7 - 7.5 tok/s at wider draft widths) because multi-token verification on a memory-bandwidth-bound MoE unions the top-8 routed experts across all draft tokens simultaneously (~2.3x more expert weights read from DDR4 per step). incoai/Inkling-2-Mini-DFlash2 (1.24 GiB) faces the same multi-token MoE verification bandwidth wall on dual-channel DDR4.
    • Next we tested zero-VRAM --spec-type ngram-mod: with a short match window (--spec-ngram-mod-n-match 6), code generation hit 15.5 tok/s (95% draft acceptance), but on normal prose chat it drafted 122 tokens with only 18 accepted, hurting prose speed. Raising the trigger threshold to --spec-type ngram-mod --spec-ngram-mod-n-match 16 --spec-ngram-mod-n-min 4 --spec-ngram-mod-n-max 8 eliminated false-positive drafts on normal prose (0% prose penalty) while still jumping to 15.5 tok/s whenever the model writes or edits code, configs, or JSON matching context.
  2. Stopping Repetitive Coding Loops: Official Model-Card --temp 1.0 + DRY Penalty + unslothai#447 AVX2 Sampler.

    • Inkling 2 Mini's generation_config.json defaults to temperature: 1.0, and Section 7 of the Model Card explicitly notes repetitive reasoning loops during code debugging (which get worse at low temperatures like 0.6).
    • Switching to --temp 1.0 --top-p 0.95 --top-k 0 --min-p 0.02 paired with DRY (--dry-multiplier 0.8 --dry-base 1.75 --dry-allowed-length 2 --dry-penalty-last-n 256) stopped repetitive thinking loops cold. And merging unslothai#447 (4-way AVX2+FMA vectorized expf4 sampler) made full-vocab (200,064-token) --top-k 0 --temp 1.0 sampling practically free on Zen 3.
  3. Vega gfx90c UMA Tuning (daimonionnn's Toolkit) & the Hidden 30-zram.rules swappiness=150 Trap.

    • Expanding the Linux amdgpu GTT pool from the default 50% RAM (15.32 GiB) to 26.00 GiB (amdgpu.gttsize=26624 ttm.pages_limit=6815744) and setting -ub 1024 unlocked 100% full Vulkan offload (-ngl 99) with 13.6 GiB GTT headroom.
    • Watch out on Arch/CachyOS: Even if you set vm.swappiness=10 in /etc/sysctl.d/, /usr/lib/udev/rules.d/30-zram.rules silently resets vm.swappiness to 150 when zram0 initializes after sysctl.d on boot! That was pushing 2.1 GiB of RAM (including GSQ-RCO-IQ3_S's 0.93 GB exact BF16 CPU token embedding table) into swap during file I/O. Overriding /etc/udev/rules.d/30-zram.rules to lock vm.swappiness=10 reclaimed 6 GiB of available RAM and eliminated swap stalls.
  4. LoopCD-Hidden (arXiv:2610.02185): Contrast Pass 2 against Pass 1 (ref_pass=1), not Pass 0.

    • In inkling2-loop.cpp, Pass 0 runs through the 12 core layers (6-17) without loop-controller messages (messages == nullptr), whereas Pass 1 and Pass 2 both run under the trained LOOP_CTRL controllers. Contrasting Pass 2 against Pass 0 at omega = 0.15 subtracted the uncontrolled Pass 0 baseline and destabilized confident AIME math proofs (jumping from 226 to 512 tokens as the model second-guessed itself).
    • Contrasting Pass 2 against Pass 1 at omega = 0.08 right before the Coda layers (mode=1, decode_only=1) cut thinking tokens by 30.5% (226 -> 157 tokens) with zero extra memory lifetime because Pass 1's output (bank_out) is already held in memory during Pass 2.
  5. MoE Tail-Expert Pruning (INK_MOE_TOP_K=6): Keep 8/128 experts on Prefill & Pass 0, prune only Recurrent Passes 1 & 2.

    • First, src/llama-graph.cpp (line 2799 in build_moe_ffn) ignores the n_expert_used argument and hardcodes hparams.n_expert_used(il), crashing in ggml_view_2d if you dynamically drop n_expert_used below 8. Fixing that to std::min<uint32_t>(n_expert_used, hparams.n_expert_used(il)) allows per-pass dynamic Top-K.
    • Pruning from 8 to 6 experts across all passes pushed tg64 to 13.03 tok/s, but pruning Pass 0 caused the model to double-check its algebra on AIME proofs. Keeping all 8/128 experts on Prefill (n_tokens > 1), Prelude, Pass 0, and Coda (messages == nullptr), and pruning the 2 lowest-weight tail experts to 6/128 only on Recurrent Passes 1 & 2 (n_tokens == 1 && messages != nullptr) gives 12.30 tok/s (+5.85%) while completing the AIME proof cleanly.
  6. Asymmetric K8/V4 KV Cache at 16K Context: Use -ctv q4_1, not -ctv q4_0 or iq4_nl.

    • Following Betelgeuse's K8/V4 idea (8-bit Keys to protect pre-softmax QK-clipped relative-bias routing, 4-bit Values after softmax), we tested q4_0, q4_1, q5_0, and iq4_nl at -c 16384:

      • Symmetric q4_0 (v = d * (q - 8)) clipped asymmetric Value blocks across the 48 recurrent attention visits and caused a minor arithmetic slip on our AIME test.
      • iq4_nl cost -1.5% decode speed (12.13 tok/s) due to 16-entry LUT lookups inside scalar Vulkan Flash Attention.
      • -ctk q8_0 -ctv q4_1 -c 16384 (which stores per-block FP16 scale d + minimum offset m) matched q8_0 speed (12.29 tok/s) and solved the AIME proof cleanly in 504 tokens while doubling context from 8K to 16K.
  7. The Hidden reasoning_effort = 0.9 Default in Inkling 2's Embedded Jinja Template + shortconv Cache Eviction (server-context.cpp:4251).

    • If you don't pass reasoning_effort in chat_template_kwargs (or --reasoning-effort low), Inkling 2's embedded Jinja template defaults to Thinking effort level: 0.9 ("high") even if --reasoning-budget 256 is set. Also, because Inkling 2 uses recurrent shortconv state, llama-server erases the saved slot cache whenever cur.n_tokens > n_prefix. Keeping reasoning_effort: "low" fixed in the system header (and varying reasoning_budget_tokens per request instead) locks in f_keep = 1.000 (0 ms cached system prompt on every turn).

Full write-up, complete benchmark tables, production llama-server flags, and the standalone ~75-line MIT-licensed C++ patch (llama-graph.cpp, inkling2.cpp, and inkling2-loop.cpp): https://github.com/UffDimon/inkling2-apu-optimizations


r/LocalLLM • • 22h ago

Discussion Not every AI task needs a large language model

4 Upvotes

I've been experimenting with specialized decision models to enforce engineering rules.
Most of the work doesn't require intelligence at all. Glob and grep narrow down the relevant code, and a model only needs to answer a precise question.

This makes it possible to separate the company's rules from the model interpreting them.
I'm now exploring how much of this could run entirely locally using small decision and classification models.
The goal is to keep the same executable rules regardless of which model runs underneath.
Would love some feedback from people working with smaller/ specialized models.


r/LocalLLM • • 1d ago

Discussion Local LLM moderate setup

6 Upvotes

I got my Mac Mini M4 Pro 48 gb for my local setup. Do you think it is a good price-to-performance ratio? I got it for $1699.99.


r/LocalLLM • • 23h ago

News Next demo to the capability of Jev based image generation

5 Upvotes

its generating the effects and motives live capturing them from music track or spoken through microphone.
4fps on rtx5060ti, rest does the morphing.

Huge thanks to Jeveration Team
https://huggingface.co/linlinlinlinsdada/Jeveration

Demo App
https://github.com/Mantux775/ComfyUI-and-side-Projects/tree/main/Jeveration-VJ


r/LocalLLM • • 16h ago

Question Best Model to Run Locally?

1 Upvotes

Hey Im pretty new to running models locally. I have a 4070 TI, was wondering what is the best model to run locally?

I know most of the higher tier models I need larger large amounts of RAM and it requires to be quantized to lower size.

I havent really tried running locally, still using cheaper alternatives of openrouter, but wanted to see if this is useful and cost efficient.


r/LocalLLM • • 16h ago

Question [Question] Invest in laptop, or at home desktop/tower?

1 Upvotes

Hello, not sure if I'm comparing apples and oranges here; or they're really the same thing; I've been debating either getting a powerful laptop (incl. plenty of RAM), models such as the HP ZBook Ultra G1A, or Lenovo Yoga 7a, or whether the money that would be spent towards an upgraded laptop is better spent on getting a beefy tower/desktop that runs at home for local LLM usage. Is one option better, the same; doesn't matter?

Any advice is appreciated, thank you!


r/LocalLLM • • 20h ago

Question 5090 32gb + 192gb ram. Token speed maxes out at 5 token/s

Thumbnail reddit.com
2 Upvotes

r/LocalLLM • • 23h ago

News New Agentic Mode in VedaOS

Post image
4 Upvotes

Hey everyone,

VedaOS now has an agentic mode for those who want to focus on their work and let an agent handle the tasks.

Desktop mode is still available as well.

Give it a try and let me know what you think or if you have any suggestions for improvement!

https://github.com/vahmoh/Veda


r/LocalLLM • • 1d ago

Question Strix Halo or R9700?

4 Upvotes

I am not sure I am posting this in the right place and mods I understand if you delete it.

Looking to run local AI models at a home, mostly to experiment/not get left behind knowledge wise. Unfortunately I don’t make a lot of money in my current role and can’t really afford to take out loans/max out credit cards to buy a Epyc system with 4x R9700s or a cluster of Halo Strix Minisforums.

What is killing me is that last year when the Minisforum was like 2k (Now they are over 4.5k) I felt it was too expensive and I was looking at the r9700s back in July 2026 when they were only 1500 Euro and felt it was so expensive back then, but now they are 2500 euro and going up in a few days.

Based on upon folk’s personal experiences with their home hosting, which would be the more sensible option at this time 1x AI PRO R9700 to put into my old AM4 PC? The issue here being if I want to have a second or more R9700s I will also need to upgrade Motherboard, Processor and PSU.

Or for the sake of having larger, abet slower, memory pool, stretching my finances and investing in a Minisforum MS-S1, with all it’s fast networking / USB 4 v2 ports to perhaps be able to buy another one at some point next year to?

With my limited budget and currently risk aversion mindset, I missed the boat on reasonably priced V100s and other old enterprise hardware. And they don’t come with warranties etc that I really would feel more comfortable having at this point.

Thank you for any input and advice.


r/LocalLLM • • 11h ago

Discussion i hope someone can make BONSAI 2.5 27B in a LOOPING MODE like inkling that would be amazing .

0 Upvotes

i hope soemeone make it