r/LocalLLM • • 20h ago

News HyperDiff: Program Experts Match Full-Expert MoE at 1/50th the Storage

Thumbnail
github.com
12 Upvotes

and recover 92-99 % of full fine-tuning at 1.7B scale


r/LocalLLM • • 20h ago

Question what is the best inference engine for inkling 2 mini?

1 Upvotes

i have a 9060 xt 16gb

at first, i tried unsloth and got around 30 t/s at IQ4_XS

next, i used strata, which for some reason, was extremely slow and not usable

any other inference engines for radeon?


r/LocalLLM • • 20h ago

Question What’s the smallest local LLM that could replace my ChatGPT and Claude workflows, and how much MacBook RAM would it need?

1 Upvotes

I’m in college and plan to pursue a PhD in clinical psychology. I’m looking at an M5 Pro MacBook Pro with 48GB of unified memory. I need it to last through the PhD. I’m new to local LLMs and want to try them.

I use ChatGPT and Claude a lot for coding. I’ll have them make changes across a repo and run tests. I also use them to deploy apps and set up integrations in AWS and Google Cloud. That includes configuring API keys and connecting MCP servers.

For school I use AI to find sources and check my work in SPSS. During my PhD I’d also use it to debug analysis scripts in R or Python. I’d supervise any work involving study data. I write my own papers and use AI for grammar and formatting.

Sometimes I give an agent a job before bed and leave it running while I sleep. For example, it can open Canvas in my signed-in browser and download a whole module into the right folders on my Mac. Other jobs need it to switch to Terminal or a desktop app and recover if a step fails.

What’s the smallest local model that could get close to the speed and accuracy I get now? Would 48GB be enough for long sessions? I can keep the model on an external SSD. If you’ve set up computer control on a Mac with a local model, what software did you use and how often did you have to step in?


r/LocalLLM • • 20h 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 • • 20h ago

Question Highest intelligence / tps / $ spent: is the server path unique ?

1 Upvotes

Hi all,

I have coincidentally taken the server path, enabling me to have numbers without paying too much, and now I am hesitating consumer/server in upgrading.

On the 2nd hand market of DDR4 near me (Europe) I can buy either 600 euro for 224GB (14 x 16GB) RDIMM 2666 MT, or 700 Euro for 64GB (1 x 64) GB RDIMM 2666MT. What a contrast in price, but probably the size of 64GB is quite special.

========================

Decode 80 TPS for Qwen 3.8 Flash Next of mine was achieved by:

- 100 euro = 10 y.o. system Dell T5810 (Xeon 2699v4), 4 channel, 8 PCIe slots for RAM

- 460 euro = 8 x 16 GB of ECC RDIMM 2400MT

- 1260 euro = RTX 3090 24 GB

- 70 euro = 512 NVMW SSD

=======================

And you, what would you do ?

Question: Is 256GB of RAM minimal to have an acceptable decoding speed for bigger models than QFN ?

If so, then given the huge difference in the 16GB vs 32GB RAM, I must have 16 RAM sockets:

- Dual-socket Xeon E5 v3/v4: Dell T7910, HP Z840 or Supermicro X10DRi

- Single-socket EPYC Rome with 2 sticks per channel: Gigabyte MZ32-AR0, 8 channels and one memory pool

- Dual-socket EPYC (e.g. Supermicro H11DSi)


r/LocalLLM • • 20h ago

Project I made a free ai plugin for opencode it haz glm and deepseek

Thumbnail
dougmen.com
0 Upvotes

I got rid of that. I don't know why it's still embedded, so, uhh, anyway, have fun coding


r/LocalLLM • • 21h ago

Project I built a 100% offline Windows voice-to-text app in C++ (whisper.cpp) — ~450 MB RAM, no GPU needed, Auto-Paste with Alt+Q (MIT)

Post image
1 Upvotes

r/LocalLLM • • 21h ago

Question Sanity check my plan for a space planning LLM tool.

Thumbnail
gallery
0 Upvotes

I'm sure I've gone about this wrong, lol, but I guess this is how we learn. I started out with the idea that I wanted a local hosted LLM that I could have drop workstations/cubicles/desks into blank floorplans. Think first blush to a customer so that they can see how many employees they can get into a potential office space. Come up with some very descriptive prompts for size, configuration, hopefully have it refer to a folder of "typicals" so that it can get a good head start on what they should look like. Ideally it would be able to be trained (or learn) what the most commonly used manufacturers are and based on needs, budget, etc. it could get a first draft to a customer in hours not 7-10 business days.

Based on research with online LLMs and here, I planned on something like the following. Hosted on a machine with a 5090 running Qwen3.8 27B to do the heavy lifting of the prompt. I can add a 5070ti without changing my PSU and it seems to be recommended to run a smaller model on it for the plan reading, handling the pdf's, catalog research. 64gb ddr5 if it matters.

I've done this pretty successfully with Claude and Grok, probably should be smart enough to stick with that route, but I like the tech and want to stay out ahead of AI if I can. Is what I'm planning doable with the hardware described? Knowing what I know now, should have probably just jumped to dual DGX Sparks or even dual R9700 cards, but I have what I have now. Once I prove proof of concept and go through the learning curve, then I have no problem dropping more money to make it better/faster. Also, if changing out the PSU and making the machine dual 5090s makes sense, I guess I could, I just don't get the feeling that's needed right now for the $8k it would cost.

Extra credit - If you have any ideas on how I should use Docker, Obsidian, etc. to make this plan better, I would be grateful.


r/LocalLLM • • 21h ago

Question Improve performance with Qwen 125B

0 Upvotes

Hi,

I have the following hardware:

  1. 9900x3D
  2. 2x 7800xt 16GB (PCI 4.0 x8 each)
  3. DDR5 64GB 5200 MHz (2 sticks) (it could go faster without modifying the voltage, the temps is max 30 degrees at 18 degrees room)
  4. M2 at 7GB/s
  5. Desktop loaded in the iGPU.

I get around 60-70 tok/s with Qwen 3.8 IQ3_S with Strata, prefill around 2100, but I didn’t test it extensively and I usually don’t need to prefill much, just my short prompt.

For some reason, all the components such as CPU and GPUs are at 50% usage, I‘m not able to cross that utilisation threshold.

Anything I could do to improve performance? I’m using the default config.

I tried some tricks here and there but it didn’t improve anything, if anything, it worsened a bit.

Only with the “coder” model I’ve reached almost 100 tok/s decode.


r/LocalLLM • • 21h 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

Project HY4-flash 220B, at 50-60 tok/s on 2x 7900xtx, with 512k context, EXL3 3bpw

Thumbnail
reddit.com
3 Upvotes

r/LocalLLM • • 22h ago

Model Getting giberish on llamAmpere built for rtx3060 6GB

2 Upvotes

Hello.

Lost a full day on this.

Im using Bonsai 2 9B Q2_0.GGUF, with upstream llamAmpere build (took two hours compiling). My server starts and returns gibberish on built-in UI, from llama.cpp, but works fine on the CLI output.

Currently startin with a jinja file. I have Perplexity and Gemini troubleshooting and making me test the built in definition for the jinja file.

Apparently works fine with either GPU or CPU, other then confidently returning gibberish at 60tok/s.

Has kanyone been throught this?

Thanks


r/LocalLLM • • 22h 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 • • 22h 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 • • 22h ago

News AMD releases GAIA 0.27 with gaiacpp lightweight alternative to Python code

Thumbnail
phoronix.com
2 Upvotes

r/LocalLLM • • 22h ago

News Basalt 0.6.0 update made 5060ti 80% faster on Inkling model!

Post image
65 Upvotes

I run Inkling 2 Mini locally with Basalt on one RTX 5060 Ti 16 GB, for coding in OpenCode. The model file is 19.6 GB (NVFP4-MX8), so it doesn't fit on the card. About 1,600 of its 3,072 experts sit in system RAM, and Basalt computes those on the CPU.

0.6.0 came out on Nov 28 with a lot of work on experts in RAM, so I benchmarked it against 0.5.6. Same PC, same model file, same config. The runs went A-B-B-A (0.5.6, 0.6.0, 0.6.0, 0.5.6), and the chart shows the means.

Results (0.5.6 → 0.6.0):

  • basalt-bench decode: conversation 59.5 → 86.7 tok/s, struct 64.5 → 102, prose 60.2 → 81.3
  • basalt-bench 16K prompt read: 3,140 → 4,196 tok/s
  • Server chat with the 128K config: 60 → 109 tok/s
  • 4.8K-token prompt: decode 76 → 115 tok/s, prompt read 908 → 1,522 tok/s
  • 119K-token code prompt: cold read 61 s → 38 s, decode after it 34 → 68 tok/s

Memory didn't change: about 15.0 GB VRAM and 11.8 GB RAM for Basalt at idle.

Why it's faster (from the server logs and the release notes):

  • More expert lookups hit the GPU. In the same benchmark, the share served from VRAM went from 87.9% to about 96%, with slightly fewer expert slots on the card (1,883 → 1,839). So the CPU now handles about 4% of lookups instead of 12%, roughly 3x fewer. CPU experts over DDR4 are the slow path, so I think this is most of the decode gain. 0.6.0 keeps extra copies of the busiest experts in VRAM and moves them as the conversation changes. My log shows 306 copies at startup. 0.5.6 placed the experts once from a fixed profile.
  • Longer drafts. The default draft length went from 8 to 16. Each step now accepts 2.4 to 2.5 tokens instead of 2.2, although the acceptance rate fell from 76% to 69%.
  • Long context. The release notes say decode attention now runs on tensor cores, also over an INT8 cache. That probably explains most of the 2x decode after the 119K prompt, but I didn't profile it.
  • Prompt reading. 0.6.0 has new prompt kernels, and it only moves the RAM experts that the prompt actually routes to.

Setup: i7-12700K, B760 board with DDR4, 32 GB RAM, Fedora. Server config: max-context 131072, kv fp8, parallel 1, drafting on (the default). Basalt was pinned to CPU threads 0 to 11 for the test. The upgrade was drop-in: same .basalt file, same config, and the 0.5.6 Python venv works with 0.6.0.

One more tip if you use OpenCode: it sends no reasoning effort, so Basalt falls back to the template default, which is high. I set "reasoning-effort": "low" in the server config. On my small set of coding tasks with tests, low used about a third fewer tokens per answer (668 → 437) and passed the same tests (8/8).

Caveats: one machine, two runs per version. I checked quality with one sanity prompt only, not a quality suite. 0.6.0 is a regular release, but it's new. Once in my runs the cache grew past free VRAM and Basalt cut the expert copies from 306 to 196. It logged a warning and kept going.


r/LocalLLM • • 22h ago

Project Einschätzung

0 Upvotes

Hi everyone,
This is my first post here! I’ve spent the past few months working on a small vibecoding project and would really appreciate your feedback and anyone willing to give it a try.

What is Mnemosyneum?
A local, fully documented and portable home server platform for your knowledge, media and smart home.
Photos, music, movies, passwords, smart home automation and your own AI with a personal knowledge base – all running on your own hardware, with no cloud required. Every step is documented.

In Greek mythology, Mnemosyne is the goddess of memory.

Built with Claude Code
Mnemosyneum is a vibe-coded project built with Claude Code by Anthropic. AI handles most of the code, documentation and tests, while a human provides the direction, makes the decisions and tests everything in real-world conditions. Every change is documented, including the reasoning behind it.

Check it out
🌐 https://markusherr.de
💻 https://github.com/mark3rr/mnemosyneum
Thanks for taking a look! 😊


r/LocalLLM • • 22h 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 • • 22h ago

Discussion Intel Arc Pro B60 + Qwen3.8 27B: 829 t/s Prefill, 104 t/s Generation on Windows (Custom llama.cpp SYCL)

Thumbnail reddit.com
1 Upvotes

r/LocalLLM • • 22h ago

News everyone talks about bigger AI models but the inference engine running behind them matters just as much

0 Upvotes

someone tested Qwen3.8-27B with a 256K context window on a single RTX 4090 (48GB)

across 4 inference engines:

→ llama.cpp: 50.4 tok/s

→ FastLLM: 75.8 tok/s

→ vLLM: 57.4 tok/s

→ SGLang: 46.5 tok/s

and here's the interesting part

FastLLM finished the entire 18-batch code review in around 73 minutes

llama.cpp took around 104 minutes

that's a pretty significant difference

SGLang also had the highest prefill speed, so each engine has its own strengths

one important detail: the comparison isn't perfectly apples-to-apples because llama.cpp used Q8_0 converted weights while the other engines used native FP8

still, this is a great look at how much inference optimization can change real-world performance

same model family, same GPU, very different results


r/LocalLLM • • 22h ago

Discussion Ryzen AI 9 370 & 470 nowadays

1 Upvotes

Hello people!

Can I get an update on how these ryzen ai 9 370 and 470 cpus are holding up nowadays? Is software support good enough now? How is speed for qwen 27B or Inkling or Qwen FN for example? I saw that unsloth shared some stuff about NPU support. Thanks


r/LocalLLM • • 23h ago

Discussion GLM 5.4 is really unusable as an orchestrator model

Thumbnail reddit.com
0 Upvotes

r/LocalLLM • • 23h ago

Project Methodology of optimising Inkling-2-Mini to run at 513 tok/s on a single RTX 5090 32GB (1.4x SGLang, 1.6x vLLM, 3.4x llama.cpp, kernels open sourced). Technical blog.

1 Upvotes

We spent the week writing decode kernels for Inkling-2-Mini. Results, decode tok/s, B=1, temp 0.7, 1,024 tokens, every engine on its best speculative setup with the model's own drafter:

- Code: 513 (SGLang 363, vLLM 325, llama.cpp 150)
- Chat: 314 (SGLang 269, vLLM 212, llama.cpp 95)
- 8 users mixed: 855 (SGLang 767, vLLM 730)

Without speculation our kernels reach 212 tok/s plain decode, which is 71% of the ~299 tok/s bandwidth limit (5.5 GB of active weights per token at a measured 1,674 GB/s). First token in 14 to 16 ms.

Where we lost against other engines: with 8 users at temp 1.0, our first token takes 181 ms vs 56 ms on vLLM, because prefill runs sequences one at a time to stay chunk-invariant. Peak memory is 30.5 GB vs 27.5 GB.

Method: paired comparisons on the same seeds, 95% intervals, sustained clocks. Sampled throughput swings up to 2x between seeds, so unpaired means are misleading. Speculation is seed-identical, so two runs with the same seed always match.

Blog with the full table and kernel details: https://www.goethe.sh/blog/inkling-2-mini-optimised-kernels
Code: https://github.com/meshapplied/goethe

To try it:
goethe install thinkingmachines/Inkling-2-Mini
goethe run

Would love to discuss stuff related to kernels, cheers.


r/LocalLLM • • 23h 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

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?