r/LocalLLM • • 9d ago

Other Qwen 4 is not out

279 Upvotes

Please stop posting about Qwen4's endless PR drip until it's actually available.


r/LocalLLM • • 4h ago

Model Qwen Flash Next on an 8GB Card ~50-70tkps at 512k CTX!!

Thumbnail
github.com
50 Upvotes

Spent time perfecting Qwen Flash Next at 512k context on an 8 GB RTX 3070, with only 48GB DDR4, via PolyStrata without the lossy small-card flags (--tail-skip, --attn-requant q5_0).

Sweet spot landed at 49–64.7 tok/s decode and 421–796 tok/s prefill, zero thinking loops, and patched tool-calling for OpenCode & Oh My Pi (omp).

Everything is here. Benchmarks, cross-OS notes, sanitized configs, and an AGENT_SETUP.md your coding agent can auto-configure.

edit: sorry for not including quant, people are very angry πŸ₯²! IQ1_M quant. Not true IQ1. It’s 3.33 bpw actual, 1.89 bpw accounting for expert pruning.

I think I am the only person to run this model THIS fast on a 8gb card at such high context window, feel free to check out the github!


r/LocalLLM • • 7h ago

Question Best local llm right now?

48 Upvotes

I'm tired of anthropic's bullshit (safeguards, mandatory KYC, etc), and managing multiple subscriptions is becoming rather inconvenient.

So i'm looking for:

  1. What's the strongest model that you can currently run locally, and what kind of hardware do you need for it? How much budget?
  2. Can you remove the safeguards from these local llms, and if so, how?

Money is not that much of an issue. Of course, i do not have a data center, but i can put aside some sub $50k (lower is better). I want maximum performance (preferably close to frontier), and minimum prompt rejection (i don't want to deal with safeguards just because im trying to do mild cyber security work)

Thank you in advance for the help!


r/LocalLLM • • 7h ago

Question Codex sabotaging my local LLM?

35 Upvotes

Has anyone experienced this? I use OpenClaw as my harness and have gpt-6.2-astra and an abliterated local model. Some of my work is cybersecurity so I use an abliterated model for no refusal on legit work tasks that Codex and Claude refuses to do (even their redteam/cyber models refuses some tasks). I noticed my local model degraded from the last time I used it. I then asked gpt-6.2-astra to discover the issue and fix it. It refused saying it won't do anything as the model have zero refusal. So I switched to Deepseek Flash and it found that gpt-6.2-astra changed some of the configurations to degrade the local model then fixed it. Now my abliterated local model is running fine again. WTF is this? It's infuriating. The sad part is I have to still use gpt-6.2-astra for certain tasks, but I lowered my subscription plan.


r/LocalLLM • • 18h ago

Discussion PSA. Abliterated models will happily wipe your disk. Give them a sandbox, not your main machine

239 Upvotes

Quick warning for anyone running the no refusal builds locally. The refusals you stripped out were doing more work than you think.

I asked a local Hermes based abliterated model to free up some disk space on my dev box. A normal model asks what it is allowed to delete or plays it safe. This one just went. It cleared the package caches, then started deleting docker volumes with data I needed, then went for files in my home folder. I killed it while it was staring at the ssh folder. Maybe twenty seconds start to finish.
Nothing in the model said stop, because stop is exactly what got removed. That is the whole point of these builds and it is great for writing and roleplay and genuinely terrible for giving one a shell on a machine you care about.

So now anything with tool access runs in a throwaway VM. Snapshot a clean Ubuntu, run the agent in there, and if it eats itself I start a fresh one. My real machine, my keys and my projects never share a kernel with it.

The models themselves still run on my own GPU box. Only the agent loop and its shell live in the disposable VM, talking to the model over the network. For the VMs I used Proxmox for a while and now use boatdev , because ,can script start and stop and pay by the second. No GPU on them, which is fine since inference stays home, and they are EU only.

Uncensored is a feature for text. The second it can run commands it needs walls. A wiped home folder is a cheap lesson, but leaked keys are not.


r/LocalLLM • • 3h ago

News IT Department Hardware Recommendations? $45k

10 Upvotes

The IT department at my job has secured a guaranteed $45k towards Local LLM. With a potential $250k for "Research and Development"

We're looking at having a large internal coding model for IT and a smaller 35BA3B for other departments?

A coworker has already purchased a Radeon 9700 AI card with great results running Qwen Flash Next with some AMD inference engine. 80tok/s with a decent quant.

We're looking at maybe two machines?

Card's we were interested in were:

Radeon 9700 Pro AI
Radeon W7900
Radeon 7900XTX
apple silicon

The nvidia cards we were looking at seem exorbitantly expensive and questionable availability.

We're looking at making a more proof of concept build before deploying elsewhere.

hopping yall could give hardware and harness suggestions


r/LocalLLM • • 2h ago

Question Running local agents with 16GB VRAM and 64GB RAM

8 Upvotes

Any model recommendations for getting started with local agents?

My hardware:

  • CPU: Intel Core i7-13700F
  • GPU: RTX 4080 16GB
  • RAM: 64GB DDR5 6000 MT/s

I've installed LM Studio and OpenCode, and tried running Qwen3.8-27B (following ChatGPT's recommendations).

Honestly, the experience has been pretty frustrating. Even simple tasks get stuck in thinking loops (averaging around 9 tok/s), and it often struggles to complete basic tasks.

My goal is to have local agents that can handle coding, work with local files, execute commands, and generally complete multi-step tasks with minimal hand-holding.

Am I just trying to run something too big for my hardware? What models would you recommend starting with?


r/LocalLLM • • 5h ago

Question Qwen3.8-Flash-Next IQ3_S, 78 GB, 32 GB RAM, 16 GB VRAM: 51 tok/s vs 15 tok/s on the same box

9 Upvotes

Strata vs Strata-HotRod, same model, same prompts, same harness β€” a 3.5Γ— decode gap and a question about tuning.

Repos under test

  • Strata (upstream): https://github.com/Niko1221/Strata
  • Strata-HotRod (fork): https://github.com/sangharshadhyeta/Strata-HotRod

Disclosure: neither repo is mine. I didn't write either engine and I'm not affiliated with either project β€” I'm just a user benchmarking two forks of the same lineage on my own hardware. Full credit for the code belongs to the maintainers linked above.

Both are llama.cpp-lineage engines with their own MoE expert-streaming stack. The fork is 119 commits off the shared ancestor 8a93614ed with +9,017/βˆ’409 lines in src+include; upstream is ~5,300 commits ahead of that same ancestor.

I benchmarked both on the same box, same model, same harness. Then I asked the obvious follow-up: can upstream be tuned to match the fork with flags alone? Short answer: prefill yes, decode no. Details and the exact flags below β€” and I'd like this sub's opinion on whether I'm missing a flag set.


TL;DR

Chat decode (tok/s): upstream 7.7 β†’ upstream tuned 15.0 β†’ HotRod 51.6 Chat first token (s): upstream 3.50 β†’ tuned 2.01 β†’ HotRod 0.58 4K prefill (tok/s): upstream 733 β†’ tuned 877 β†’ HotRod 1280 16K prefill (tok/s): upstream 1055 β†’ tuned 1251 β†’ HotRod 1668 32K prefill (tok/s): upstream 1094 β†’ tuned 1632 β†’ HotRod 1681 32K first token (s): upstream 29.4 β†’ tuned 19.7 β†’ HotRod 19.1 Agent decode (tok/s): upstream 10.2 β†’ tuned 22.7 β†’ HotRod 55.3 Agent turn first token (s): upstream 7.54 β†’ tuned 6.16 β†’ HotRod 4.46 Failures: 0 / 0 / 0

Giving upstream the fork's memory-tier flags doubles its decode (7.7 β†’ 15.0 tok/s) and brings 32K prefill to within 3 % of the fork. Decode stays 3.5Γ— behind, and I believe that gap is code, not configuration.


The machine

  • GPU: NVIDIA RTX 4080, 16,376 MiB VRAM, driver 616.56, PCIe 4.0 x16
  • CPU: 12th Gen Intel i5-12600K, 10 cores / 16 threads
  • RAM: 31.7 GiB
  • Storage: Samsung 970 EVO 500 GB NVMe + WD_BLACK SN850X 2 TB NVMe
  • OS: Windows 11 (10.0.26200)
  • Toolchain: MSVC 19.51, CUDA 13.3, Ninja, -j 8
  • Pagefile: 32 GB fixed on D:, +12.8 GB on C: β†’ commit limit 75.5 GiB

Windows-specific gotcha worth knowing: with a system-managed pagefile the commit limit was only 42.25 GiB and ~5 GiB of commit was free at load time. The engine clamps its RAM tier to min(free RAM, free commit) βˆ’ headroom βˆ’ 0.25 GiB, so asking for a 15 GiB tier silently built 0.92 GiB. Fixing the pagefile (32 GB fixed) plus STRATA_RESIDENT_HEADROOM_GIB=1 (default headroom is 4 GiB) was the single biggest win in the whole exercise β€” +17 % decode, +21 % prefill on the fork before any code change.

The model

Qwen3.8-Flash-Next, GSQ-RCO IQ3_S, 2 shards, 78 GB on disk vs 31.7 GB of RAM β€” so the resident expert tier is a cache, never a load. 24,576 experts, 131,072 max context (trained 262,144), --kv int8, speculative decoding --spec 4 --spec-min-p 0.5.

Neither engine fits this model in RAM. Both read the rest from the pack file unbuffered. Upstream keeps its tier page-locked; the fork keeps its tier pageable so Windows can trim it while a long prompt streams 33 GiB off the SSD.

Build flags (identical for both)

-G Ninja -DCMAKE_BUILD_TYPE=Release -DSTRATA_ENABLE_CUDA=ON
-DSTRATA_BUILD_TESTS=OFF -DSTRATA_NATIVE_EXPERTS=ON -DSTRATA_PORTABLE=ON
-DCMAKE_CUDA_ARCHITECTURES=89-real

Upstream built clean, zero patches. The fork needed a local MSVC patch to src/program/generate.cpp (setenv β†’ _putenv_s, sysconf β†’ strata::platform::total_physical_memory()); saved as a .patch, not upstreamed. Engine versions: upstream 0.1.69 (c23477403), fork 0.1.45 (4ea40f1d).


Flags used

Upstream Strata β€” as benchmarked in the first comparison

--pack <iq3_s> --native <shard1.gguf> --ple-gguf <shard2.gguf>
--expert-cache auto --spec 4 --spec-min-p 0.5 --mtp <mtp/rt>
--max-context 131072 --kv int8 --mmap-experts
--expert-profile <expert-profile.bin>
--prefill auto
--resident-budget-gib 4

Upstream Strata β€” tuned (same binary, four flags changed)

--prefill auto:16384            # was: auto
--resident-budget-gib 15        # was: 4
--kv-resident 32768             # new
env STRATA_RESIDENT_HEADROOM_GIB=1   # was: default 4

Everything else identical. The tier now builds for real: resident RAM: 15.00 GiB of experts in RAM, 7963 exchanged with the VRAM tier, 179795 blob reads from the file, arena_mib 15358, vram_free_mib 1436, expert_slots 3417, expert_cache_mib 6695.

Strata-HotRod

--pack <iq3_s> --native <shard1.gguf> --ple-gguf <shard2.gguf>
--expert-cache auto --spec 4 --spec-min-p 0.5 --mtp <mtp/rt>
--max-context 131072 --kv int8 --mmap-experts
--expert-profile <hotrod expert-profile.bin>
--prefill auto:16384
--resident-budget-gib 15
--kv-resident 32768
env STRATA_ROUTE_RESIDENT=1e30
env STRATA_ROUTE_RESIDENT_RANKS=3-9
env STRATA_ROUTE_RESIDENT_EDGE=1
env STRATA_SWAP2_MAX=2
env STRATA_SWAP2_GAP=1
env STRATA_KV_GROW_INIT=4096
env STRATA_RESIDENT_HEADROOM_GIB=1

Note the original comparison gave upstream a 4 GiB tier while the fork got 14.56 GiB β€” that's a 3.6Γ— cache difference baked into a "code comparison". The tuned run fixes that confound.

Method

tools/strata_bench.py --long, thinking off, server started by the harness. Suite: chat (3 short questions) β†’ 4K prompt β†’ 16K prompt β†’ 32K prompt β†’ agent session (6 turns, 4 tool calls), medians of successful requests. 3 runs per test for the base and fork runs, 2 for the tuned run (slightly noisier; medians comparable). Both engines ran through the upstream harness, each with its own config, because the fork's own copy was broken (NameError: name 'port' is not defined at line 976).


Results (same day, same binaries, IQ3_S)

All columns are upstream 4 GiB / upstream tuned 15 GiB / HotRod 14.56 GiB, plus tuned-vs-base and tuned-vs-HotRod ratios.

  • chat decode tok/s: 7.70 / 14.95 / 51.6 β€” 1.94Γ— base, 29 % of HotRod
  • chat first token s: 3.50 / 2.01 / 0.58 β€” βˆ’43 % vs base, 3.5Γ— slower than HotRod
  • 4K prefill tok/s: 732.6 / 876.7 / 1280.0 β€” 1.20Γ— base, 68 % of HotRod
  • 4K first token s: 5.61 / 4.65 / 3.16 β€” βˆ’17 % vs base
  • 16K prefill tok/s: 1054.7 / 1251.5 / 1668.2 β€” 1.19Γ— base, 75 % of HotRod
  • 16K first token s: 15.32 / 12.89 / 9.70 β€” βˆ’16 % vs base
  • 32K prefill tok/s: 1094.0 / 1631.6 / 1681.4 β€” 1.49Γ— base, 97 % of HotRod
  • 32K first token s: 29.43 / 19.70 / 19.12 β€” βˆ’33 % vs base, β‰ˆequal to HotRod
  • agent decode tok/s: 10.2 / 22.7 / 55.3 β€” 2.23Γ— base, 41 % of HotRod
  • agent turn first token s: 7.54 / 6.16 / 4.46 β€” βˆ’18 % vs base
  • agent cache hit %: 70.87 / 70.91 / 70.86 β€” equal
  • agent re-read tokens: 5 / 5 / 5 β€” equal
  • failures: 0 / 0 / 0

Reading it: the cache-hit rate is identical across all three (70.9 %, 5 tokens re-read per session), so none of the fork's lead is prompt caching. It is entirely expert-fetch. Flags recover ~20 % of the prefill gap at 4K/16K, ~97 % of it at 32K, and about half the decode gap β€” but decode stays 3.5Γ— behind, and chat first token stays 3.5Γ— behind because 51-token prompts still pay a full expert fetch per layer with nothing to cover the miss.

128K context (earlier runs, upstream 0.1.62 / pre-update fork)

Columns are upstream / fork tier 4 GiB / fork tier 15 GiB.

  • needle @96K prefill tok/s: 1495 / 1070 / 1206
  • needle @96K first token s: 64.8 / 90.5 / 80.4
  • decode @117K tok/s: 28.4 / 27.0 / 40.2
  • cached-prefix first token s: 2.03 / 1.97 / 1.50
  • decode on cached 117K tok/s: 21.3 / 21.6 / 34.0

Upstream wins long-prompt prefill by 1.24Γ—; the fork wins decode at 128K by 42 %. At 128K with a full 15 GiB tier the fork logs only 981 MiB of VRAM free and 129–147 swap rounds per request β€” 128K + a full tier is past this card's ceiling. Tier 4 GiB is the safe 128K setting.


What didn't work

  • --resident-budget-gib 20 / 24 while commit was tight β†’ tier 0.80 / 0.71 GiB. Clamped by free commit, not by the flag.
  • --prefill auto:4096 / auto:8192 to free commit β†’ worse (tier 0.71 / 0.78 GiB). Smaller chunk freed less memory than it disturbed.
  • --kv-resident 16384 β†’ tier 0.00 GiB. KV residency competes for the same budget.
  • --expert-cache 2000 β†’ tier 2.73 GiB. Frees ~2 GiB commit but shrinks the VRAM expert cache β€” a trade.
  • 24 GiB VirtualAlloc probe to force a pagefile grow β†’ grew 3.4 GiB, shrank back. System-managed pagefile can't be grown reliably from user code.
  • 128K context with the 15 GiB tier β†’ works, but ~981 MiB VRAM free, 129–147 swap rounds/request. Past the GPU's ceiling.
  • one engine fitting the model in RAM β†’ never. 78 GB on disk vs 31.7 GB RAM.

Also: the fork's headline feature β€” a learned look-ahead router, default since 24 Oct β€” was off in every run (plain router (not on), never reached prediction inside a run). Its measured prefill win came from the non-learned parts: stand-in experts, the RAM tier, layer-major O_DIRECT reads, and 2 EDF-ordered read-ahead threads.

Why I think decode is code, not config

The fork's own bets, in its 9,017 added lines: stand-in experts (swap an absent expert for a close resident one instead of faulting it in), a substitute-fit learner with shadow samples and re-check gates, three tiers card β†’ RAM β†’ SSD with a learned RAM/VRAM reserve, layer-major long-prompt reads via O_DIRECT, and 2 I/O read-ahead threads EDF-ordered. Upstream's 154-option CLI has a tier (--resident-budget-gib, --resident-experts, --ram-keep-gib), prefill chunking, KV residency, an adaptive tier with --adapt-async / --adapt-min-gain, and --vram-elastic β€” but I found no stand-in-expert or read-ahead-thread equivalent. That matches the numbers: tuning the tier moves prefill, but per-token expert fetch stays 3.5Γ— slower.


What I'd like to know

  1. Am I leaving upstream flags on the table? Candidates I haven't swept: --adapt-async 1, --adapt-min-gain (default 1.5), --vram-elastic + --vram-segment-mib, --expert-cache N sizing, --pool-workers / --aux-cpus thread placement, --prefill-pipe R. If you've pushed a 16 GB-VRAM / 32 GB-RAM box past ~15 tok/s decode on a 78 GB MoE model with flags only, I'd like the exact set.
  2. Are there faster engines for this shape of problem? 78 GB MoE, 16 GB VRAM, 32 GB RAM, Windows. I've seen claims around llama.cpp's --n-cpu-moe / expert offload, ik_llama.cpp, KTransformers, and vLLM expert offload β€” but I haven't measured any of them on this model and I'd rather not quote numbers I haven't run. What actually beats ~51 tok/s decode and ~1.7 ktok/s prefill here?
  3. Has anyone ported the fork's stand-in-expert path upstream? Upstream has taken nothing from the fork (0 merge commits). If the decode gap is one code path, a port might be cheaper than maintaining a fork.
  4. Why is the learned look-ahead off by default in the fork's own runs? If it's not firing, either the trigger condition is wrong or the feature isn't ready β€” worth knowing before anyone benchmarks it.

Reproduce

Both results folders and the configs are in the repo-adjacent workspace; every number above comes from tools/strata_bench.py --long with the configs pasted in this post. Happy to share the raw results.json pairs if useful.


Strata: https://github.com/Niko1221/Strata Strata-HotRod: https://github.com/sangharshadhyeta/Strata-HotRod

Neither repo is mine β€” both are the work of their respective maintainers. I only built, ran, and measured them.


r/LocalLLM • • 13h ago Bravo

Project Qwen3.8-27B locally on Apple Silicon at 136+ tok/s decode & 650+ tok/s prefill in ~16 GB RAM, open-source C++/Metal inference engine

33 Upvotes

If you run Qwen3.8-27B locally on a Mac for coding, the two things that usually ruin the experience are waiting forever for big prompts to prefill (~250 tok/s on GPU/MLX) and watching 27B + long context eat 24+ GB of RAM and start swapping.

I've been building mometal an open-source (MIT), zero-Python C++/Metal OpenAI-compatible server for Apple Silicon, and just pushed v1.3 with native DFlash 2 speculative decoding and single-copy Neural Engine + GPU weight sharing.

What it actually feels like to run (Qwen3.8-27B 4-bit on M4 Max 48 GB)

  • API-like coding speed: 136+ tok/s median coding decode (peaking at 154–163 tok/s) and 109–118 tok/s even out at 8k–32k context.
  • 2.5x faster prompt processing: 650+ tok/s cold prefill (up to 707 tok/s at 4k, 515 tok/s at 32k, 279 tok/s at 128k) β€” plus SSD prefix caching (~0.25s warm TTFT).
  • Way lighter on RAM: ~15.5–17 GB total from idle to 32k (3 to 6.7 GB less than Splash), and 0 GB swap at 128k so your Mac stays usable next to Xcode/Docker/browser tabs.
  • Instant start, zero dependency mess: Single C++ binary, boots in ~1.2 seconds, no Python/venv/MLX required, works on macOS 15+ and M1–M5 (not locked to M3+ / macOS 26.4+).

How it works (the short version)

Normally, offloading prefill to Apple's Neural Engine doubles RAM usage because Metal and the ANE each keep their own copy of the model (~25+ GB). mometal verifies Apple's compiled 4-bit ANE cache at boot and MAP_SHAREDs those exact physical pages into Metal so both chips read the same weights in RAM. On top of that, v1.3 adds a native Metal DFlash 2 drafter quantized on the fly in ~150 ms.

Head-to-Head vs. Splash 1.7.3

Tested with identical mlx-community/Qwen3.8-27B-4bit + DFlash2 weights on SPEED-Bench (M4 Max 48 GB):

MetricSplash 1.7.3mometal v1.3 (ANE-Share)mometal v1.3 (GPU-only)
Coding decode (med / mean)130.2 / 128.9136.2 / 128.8136.8 / 130.7
Long-context decode (8k / 32k)92.6 / 88.6109.5 / 118.3112.4 / 110.0
Cold prefill (2k / 8k / 32k)506 / 499 / 424649 / 658 / 515270 / 264 / 239
Total RAM (idle / 32k)18.6 / 23.7 GiB~15.5 / 17.0 GiB15.7 / 17.2 GiB
Ready time95.8 s*1.22 s8.14 s

*Includes 61.4s one-time ANE calibration on Splash's first launch after upgrade.

Try it in 2 minutes

(Only needs Xcode CLI tools + CMake + mlx-community/Qwen3.8-27B-4bit & incoai/Qwen3.8-27B-DFlash2*)*

Bash

git clone https://github.com/tinjakr/mometal && cd mometal
cmake -B build -DCMAKE_BUILD_TYPE=Release && cmake --build build -j

# ANE + GPU single-copy + DFlash 2 (auto-builds ANE cache in ~8s on first run)
./build/mometal serve \
  --model ~/models/Qwen3.8-27B-4bit \
  --dflash ~/models/Qwen3.8-27B-DFlash2 \
  --ane-share --max-seq 131072 --kv-bits 8 --port 8092

(Want to test pure GPU + DFlash 2 first without touching ANE at all? Swap --ane-share for --ane-models off β€” still hits 136.8 tok/s coding.)

Honest limitations so you know what you're getting

  • Focused model support: Right now it's focused on Qwen3.8-27B (including vision) + Inkling 2 Mini. Splash is still the better pick if you want multi-request batching (4–8 concurrent streams), GGUF/MoE support, or a desktop UI β€” and it slightly edged us on their Transcripts set (112.3 vs 111.7), 2k decode, and 32k reasoning.
  • Undocumented ANE cache: Single-copy ANE sharing reads Apple's undocumented aned cache; boot-time verification checks the bytes and falls back cleanly to GPU-only if macOS ever changes the format.

If you give it a spin on your Mac, drop your chip + tok/s in the comments! I only have an M4 Max, so I'm especially curious how it runs on M1, M2, M3, and M5 (there's also a 30-second python3 scripts/probe_m_chip.py check if you just want to test ANE sharing first). And let me know which model family you'd actually want supported next.

Next up, inkling 2 mini


r/LocalLLM • • 5h ago

Question Wpuld like to start using first Local LLM, did research but still dont know where to start

6 Upvotes

Hi everyone, I started doing research on what Local LLM to use and I ended up more confused, but essentially its based on my hardware it seems, of 16gb ram and 3060ti 8gb Dedicated Ram

I was seeing alot of Qwen ai, but theres so many sub variants.

What I have found so far is, Download LM Studio, and download relevant LLM as they do differnt tasks?

Ultimate goal is to help set up my Linux OS, and build projects, with the assistance of AI.

For the time being im using Claude.

Edit: just noticed the typo in the title, cant fix that now sadly


r/LocalLLM • • 8h ago

Model Inkling-2 Mini - 9070xt - 140-220 tok/s Custom Engine

10 Upvotes

Hey local llm people on team red, I have something to share that I think you’ll enjoy!

Warning for those with sensitivities to vibe coding, I am a complete amateur regarding all things code, llm engines, and actually shipping development. Claude did basically all of the heavy lifting and my goal here is to share this work so others may evaluate it for accuracy.

I’ve got a GitHub here with a custom Linux engine for a 9070 xt that turns Inkling-2 into a code chewing monster, and I’m hoping someone could validate my results at 200k context!

140-220 tok/s writing and 3,400-4,700 tok/s reading at 196k context.

https://github.com/clodemaxxing/inkling2-rdna4-linux

This was built on top of other engine optimizations credited in the GitHub but I’m extremely ignorant as to the actual proper way to report developments to the original creators.

For my use, Inkling-2 has become a reliable code spitting token offloading for Claude and I’ve had strong results with the accuracy with this engine setting. The biggest consideration with inkling-2 tuning is, you don’t want your context to be quantized, that’s why you see people reporting it β€œlooping” over and over. With a clean signal there, this model spit out a Gaussian splat single html file test fully functional in a minute (very simple in complexity but still impressive). I can quite literally shift off dependency for cloud AI for basically all of my simple hobby project work.


r/LocalLLM • • 3h ago

Question Getting into Ai and running local models

3 Upvotes

Hey all,

I'm sort new to the AI, I've used the online free stuff a little but not much. I was looking at setting up my own local Ai in the hopes of running basic images generation and maybe some video? As well as texts/spreadsheet processing etc Time isn't too much of an issue for me atm as over 2027 I'll mainly be learning a bunch and being a secondary system I can let it run overnight days if need be for more complex stuff.

My question is, is it better to run two of the same GPU's or is two different ok?

I have the option of Running either (system it'll run in is below):

  • 2x Nvidia 10GB RTX 3080 (Dell Non-LHR, MSI LHR)

or

  • 1x AMD RX 16GB 9060XT
  • 1x AMD RX 16GB 9070XT

I'm asking because 2 of them will need to go for some other systems I've built to sell off.

My secondary system that I have currently that I'm using as a server:

  • Ryzen 9 5950X
  • Gigabyte X570S AORUS PRO AX Gaming Motherboard
  • 64GB DDR4 3600
  • Lian Li 1200w
  • AIO 360
  • 1TB Boot NVME
  • 4TB Storage NVME
  • 60TB+ HDD

r/LocalLLM • • 15h ago

Discussion GGUF Quantization Explained: Q4_K_M, Q5, Q8 and Which File to Pick

Thumbnail
acta.ai
29 Upvotes

Quick version for anyone staring at twenty GGUF files for one model:

  • Q + number = rough bits per weight (Q4 β‰ˆ 4, Q8 β‰ˆ 8)
  • K = newer k-quant scheme; S/M/L = how many sensitive layers are kept at higher precision
  • IQ = newer formats for very low bit counts
  • File size β‰ˆ parameters Γ— bits Γ· 8, so an 8B at Q4_K_M is roughly 4.5 GB plus overhead

My usual pick is Q4_K_M, then Q5_K_M or Q6_K if there's headroom. A bigger model at Q4 usually beats a smaller one at Q8 at the same size. For long transcripts, Q3 and below start dropping details first.

The article also covers imatrix, making your own quants and 1.58-bit models. Happy to answer questions here.

Disclaimer: I work on https://acta.ai


r/LocalLLM • • 4h ago

Discussion Basalt Models' Intelligence Benchmarks Comparing the Various Quants

3 Upvotes

I've been using Basalt now for almost a month and still amazed by its performance and the rapid pace of development, making more models available to run directly along with speed benchmarks on a variety of hardware and quants on their website: https://basalt.jgulfo.com/community/

However, what I've been missing is a comparison of all the various models's at the various quants vs their "intelligence" in general purpose applications. I for one would like to run the most intelligent quant model, at least 50tps with 256k context on my hardware, but don't have any indication of how the various quantised models compare to each other. I really enjoy testing the various models, but as the development and releases are so fast, I just don't have enough time to test all the quants and then also use the best model for my application.

  • Qwen3.8-Flash-Next
  • Qwen3.8-27B
  • DeepSeek-V4.1-Flash
  • Hy4-flash
  • Inkling 2 Mini

Most benchmarks I've seen only relates the "intelligence" of the unquantisised models against each other, or compare the relative "intelligence" of each model's own quants against the unquantisised model. Has anyone done some work to compare the intelligence of a range of quants of different models?

BTW: My stack is Ryzen 7600, 64GB, RTX5070ti-16GB, RTX5050-8GB on headless minimal CachyOS installation running Basalt 0.5.6 (I'll update later today) and serving my own converted Qwen3.8-Flash-Next GSQ-RCO IQ3_S (I used to run the GGUF in Strata and it game me good results). I'm accessing it from Hermes Agent running on a separate machine and getting between 80tps and 160tps doing research, compiling and auditing documentation, and even some minor coding.


r/LocalLLM • • 10h ago

Question people who are developing their own LLM models, how much is it costing you?

11 Upvotes

people who are developing their own LLM models, how much is it costing you? and developers who are solo or with low budget, how are you handling your expenses? what are the monthly bills, your Machine specs or VM specs if you like to share. and how could a solo dev / newbe want to build their own model with low budget, what are the tips you wanna give them?


r/LocalLLM • • 9h ago

Discussion I know 1-bit quant is practically brain damage, but here are my BFCL-v4 results (Qwen 3.8 flash next UD IQ1M vs Gyro-M vs Inkling-2-mini)

7 Upvotes

I know, I know... 1-bit quant can represent practically nothing. But this is what my hardware can actually run, so I wanted to see how much of a hit function calling takes at the extreme low end.

I ran the BFCL-v4 benchmark (374 samples) just for my own comparison. Here are the results for the three models I tested.

The Models Tested:

  • qwen3.8fn-ud-iq1m (Qwen 3.8 flash next UD3.1 3.1 iq1m via strata tail skips 0)
  • qwen3.8fn-gyro-m (Qwen 3.8 flash next gyro-m via strata tail skips 0)
  • inkling-2-mini (Native NVFP4/MXFP8 via smalltide)

Overall Results

ModelQuant / FormatOverall Score (374 samples)
qwen3.8fn-ud-iq1mIQ1_M80.8% πŸ†
qwen3.8fn-gyro-mGyro-M78.6%
inkling-2-miniNVFP4/MXFP875.9%

Breakdown by Subset

Subsetqwen3.8fn-ud-iq1mqwen3.8fn-gyro-minkling-2-mini
irrelevance80%84%82%
live_multiple74%76%68%
live_parallel_multiple50%58.3%54.2%
live_simple80%78%82%
multi_turn_base72%60%62%
multiple94%88%78%
parallel_multiple84%76%80%
simple_python96%98%90%

what do you think?


r/LocalLLM • • 11h ago

Discussion Inkling 2 Mini on a 16GB RTX 4080 vs a 32GB MacBook M5: the PC was 2x faster in chat but built nothing in a coding agent

Post image
8 Upvotes

I tested Inkling 2 Mini (26B total, 3.4B active, looped middle layers) on two machines normal people own, in GGUF and MLX, then gave it a real coding job.

**PC: RTX 4080 SUPER 16GB + 32GB RAM, LM Studio (GGUF)**

- Default settings: ~8 tok/s

- After 3 changes: ~38 tok/s

  1. GPU offload to max
  2. MoE experts of only 6 of 24 layers forced onto CPU (everything else on the card)
  3. mmap on

- After a day of uptime it fell to 3 tok/s. A reboot fixed it, so reboot before you benchmark.

**Mac: MacBook Pro M5 32GB**

- GGUF in LM Studio: 21 tok/s, but 31/32 GB used + 5 GB swap. 64K context loaded, then "Compute error" on the first message. 48K worked; Parallel 4 β†’ 1 is what let bigger context load.

- MLX in oMLX (needs 0.8.1+, older says "model type not supported"): 22 tok/s, 36% RAM free at start, no swap, 64K works. The memory guard stopped my first long job, and RAM climbs to ~24 GB by the end of a coding run.

**Real test: my paper sketch β†’ an app, in OpenCode (reasoning Low)**

- Mac GGUF: 23 min, 3 files, looks like my sketch, 0 errors

- Mac MLX: 13 min, 3 files, messier layout

- PC: 38 tok/s in chat but ~7 tok/s inside OpenCode. ~11K words of agent instructions + the image fill 16 GB. 3 tries, 0 files.

- Both Mac apps got the bill split wrong the same way: β‚Ή760 charged on a β‚Ή270 bill. On High reasoning it got the maths right in its thinking, then ran out of memory. So the format changes speed and memory, not the brain.

**My take:** 16GB card = great for chat, not enough for a coding agent. 32GB Mac = use MLX. The model itself: let it think, and check its maths.

Anyone know why the PC drops from 38 tok/s in chat to 7 in OpenCode? Prompt processing of the big system prompt with experts on CPU?


r/LocalLLM • • 1d ago

News AMD's 192GB Ryzen AI Halo brings much larger AI models to local desktop hardware

Post image
198 Upvotes

r/LocalLLM • • 13m ago

Question Building first ai PC for smart home. Advice please?

1 Upvotes

I am actually working with an ai (gpt) to build a home based model and we are going thru hardware purchase options. I am going to show the list and would love feedback. I know Claude is the better coder but honestly we have built an amazing test model on a really old laptop that already can do basic things. We spent 40 or so hrs building a test out to prove the concept stand that it all works. Including home assistant. So I have been happy with chatgpt.

Here is what i am trying to accomplish. I have a smart home I am building and I want a "Jarvis" level ai to run it, handle all kinds of tasks, have deeper reasoning conversations and respond quickly. It will have access and reasoning for the entire house and it needs to understand things in normal conversation. A command like can you turn on this music in the bedroom may contain several processes it needs to work thru so thats why ai is preferred. The house will have a lot of devices to run but all are approved and supported in home assistant.

We are running a hybrid model that will use local reasoning for all it can and then refer to cloud based ai when needed. Targeting 35b model at first and if we can eventually run 70b or better we will.

I would have to find out what we are currently using for our builds but Ubuntu is server and home assistant. I think proxmox will be used. If more info is needed I can find out.

We are designing hardware to be best I can afford to run the ai we can. However we are waiting for gpu purchase for a few months for fund reasons. Meanwhile it seems we can buy the rest, build it out and test and then make an informed decision. On GPU size. But because i want this to take on a lot of tasks and scalable and it will eventually be running tasks for my place as a rental, I wanted to have it be a good experience.

Thoughts on this? I am former IT, but all i knew was windows and that was many yrs ago. So i feel a litrle lost here. Love feedback and help. Im all ears.

This list was made by ai. Want to get some human eyes and voices to this.

These are prices that chat found.

Component Preferred model Estimated price

CPU AMD Ryzen 9 9950X β€” 16 cores / 32 threads, AM5 $489.00

Motherboard MSI MAG X870E TOMAHAWK WIFI β€” ATX, Wi-Fi 7, 5Gb LAN $269.99

RAM G.Skill Flare X5 64GB (2Γ—32GB), DDR5-6000 CL30, AMD EXPO $899

SSD SanDisk Optimus GX PRO 8100 2TB, PCIe 5.0 NVMe M.2 2280 $349.99

Power supply β€” updated 1200W premium ATX 3.1 PSU; Corsair HX1200i preferred candidate Price pending

CPU cooler Noctua NH-D15 G2, dual-tower air cooler $159.95

Case Fractal Design Meshify 3 XL Black Solid, FD-C-MES3X-01 $184.99

Rear exhaust fan Noctua NF-A14 PWM, 140mm $28.67

Future AI GPU 48–64GB+ VRAM; exact model to be selected later Not included

Current component subtotal, excluding PSU and GPU

$2,382.58

All this is being cross checked for compatibility while trying to give room for a decent gpu later. Targeting 48 to 64 for gpu

Thank you.


r/LocalLLM • • 7h ago

Project Run academic research skills on 8B local LLMs using deterministic Python stdlib scripts

4 Upvotes

You can run academic research skills on 8B local LLMs by delegating verification to deterministic Python standard library scripts. Small local models struggle to validate citations or format complex bibliographies internally. Delegating checking tasks to lightweight local scripts eliminates API costs while maintaining total privacy and factual accuracy.

Local models like Llama 3.1 8B and Qwen 2.5 14B provide great privacy, but when asked to verify references, an 8B model will confidently confirm nonexistent DOIs.

At Kalaris Labs, Sayan Chowdhury and our team open-sourced KalarisLabs/research-agent-skills (281 skills, MIT license) to bridge this gap:

  • Deterministic execution: Local Python scripts handle DOI lookups and syntax validation without prompt bloat.
  • Zero dependencies: Scripts run on standard library Python with zero external pip packages.
  • Accurate outputs: Detects corrupted reference keys, missing authors, and retracted papers.

Install locally: npx skills add KalarisLabs/research-agent-skills --skill bibtex-hygiene

Or verify citations: npx skills add KalarisLabs/research-agent-skills --skill citation-verification

Maintains low memory usage and high verification accuracy.


r/LocalLLM • • 36m ago

Question Specs for old ai image/video generation models?

1 Upvotes

I want a cheap PC that can run image and/or video generation. I want old models from late 2023-early 2024 for quick 2-5 second clips. What do y'all recommend?


r/LocalLLM • • 12h ago

Discussion Strix Halo 395 is more impressive than I expected

8 Upvotes

Got my Nimo ai max+ 395 minipc a few days ago and finally ran some tests.

Two results surprised me a lot. On Qwen3.8 Flash Next UD Q4 K XL the prefill speed went over 2000 tokens per second. Normally it sits around 500. On Qwen3.6 35B A3B Q4 K M the decode speed reached about 120 tokens per second. It usually stays closer to 60 on this kind of hardware.

The jump from 60 to 120 on the 35B model feels very clear in daily use. Coding agent work becomes much smoother.

Strix Halo is performing better than I expected. Now I am even more curious about what the 495 will be able to do later.


r/LocalLLM • • 9h ago

Model Ran PrismML's Ternary Bonsai 2.5 27B on a single 3090 against Qwen3.8 Q4_K_M to see if the speed is worth it.

Post image
5 Upvotes

Decode came in around 2x faster (94 vs 46 tok/s), used way less VRAM, and ran at 262K context, which Qwen couldn't do on the same card because it runs out of memory.

The catch is it passed 81/120 of my agent tasks and Qwen passed 89. It fell furthest on tool use and the multi-step stuff.

Turning on MTP pushed it to 115 tok/s but didn't help the score at all (79).

If you need long context on a 24GB card it's legit. If you need full accuracy, I'd still grab Qwen for now.

The Qwen score is reused from my first run, which was on a different llama.cpp build, and each setup only got one full pass, so don't read too much into the exact 8-task gap.


r/LocalLLM • • 10h ago

Discussion What would you do if you had all these components for your own local LLM?

6 Upvotes

What models would you run with these?

RTX 5090 32GB VRAM, PC components of your choice
RTX 6000 Pro 96GB VRAM, PC components of your choice
DGX Spark 128GB unified memory, 4TB storage
Mac Studio with M5 Ultra chip, 512GB unified memory, 4TB storage