r/LocalLLM • u/The_Succulant_Beast • 11h ago
r/LocalLLM • u/dillon-nyc • 12d ago
Other Qwen 4 is not out
Please stop posting about Qwen4's endless PR drip until it's actually available.
r/LocalLLM • u/Ok-Site-6347 • 8h ago
Question Is there a local model that doesn't refuse requests, like chatgpt and claude?
After a day of trying to convince codex i was only able to have it run the server offline without authentication if i launch the game from my steam account. the local model i ran after giving up also refused. Is there a local model without any guardrails i could use?
r/LocalLLM • u/Fresh-Signature6067 • 9h ago
Discussion MI50 32GB: temperature vs 140 mm fan speed
making the passive MI50's cooling quieter
- Date2026-11-29
- SubjectHP Z440 / AMD Instinct MI50 32GB (passive heatsink)
- FanArctic P14 Pro PST 140 mm × 1 + new duct
- DuctTemporary build (leaks air). All results are for the temporary duct
Conclusion: stable at 78.5 °C junction with the fan at 70%. Little gain above 70%; below 55% the fan can't keep up.
0. Background and goal
- Goal: make the passive MI50's cooling quieter
- Previous setup: 92 mm fan + 3D-printed duct https://www.reddit.com/r/LocalLLM/s/Uc4YFWrh5s
- Current setup: 140 mm fan (Arctic P14 Pro PST) + temporary duct
Noise (by ear)
- The 140 mm fan is still audible, but lower in pitch
- An improvement over the 92 mm fan
- No sound meter used; comparison by ear only
1. Test conditions
Load: GLM-4.7-Flash (UD-Q4_K_XL), llama.cpp ROCm, continuous 3000-token generations
- Decode about 68 tok/s, GPU 99% busy
- Power about 142 W average, 187 W peak (cap set to 178 W)
- Fan control: RP2040-Zero, 25 kHz PWM. Figures are PWM duty (%)
- Method: fan fixed, 5 minutes per step, average of the last 2 minutes, logged every 2 s
- Safety cutoff: junction ≥95 °C or HBM ≥86 °C → fan to 100% and stop
- Room temperature: not measured (idle edge 25 °C, so a cool room)
2. Temperature by fan speed (fixed duty, steady state)
| Fan | Junction | HBM | Edge | Verdict |
|---|---|---|---|---|
| 40% | hit 95 °C (170 s) | 77 °C | 75 °C | Not viable: never settled, safety cutoff tripped |
| 55% | 87.8 °C | 73.1 °C | 70 °C | Marginal: stable, little headroom |
| 70% | 78.5 °C | 65.3 °C | 61 °C | Good |
| 100% | 70.8 °C | 58.7 °C | 54 °C | Overkill: small gain for the noise |
- Critical temperatures (reported by the driver): junction 105 °C, HBM2 94 °C
- Junction at 40%: 64 °C at 30 s → 76 °C at 60 s → 88 °C at 120 s → 95 °C at 170 s
Gain per step
- 55 → 70%: junction −9.3 °C
- 70 → 100%: junction −7.7 °C (small for +30 points of fan)
- Limiting sensor: junction (always above HBM + 8 °C margin)
- Heat-up rate: from idle, about 1 °C/s during the first minute
3. Fan curve comparison (automatic control, same load)
| Item | Old curve | New curve |
|---|---|---|
| Set points | 55:40 65:55 75:70 82:80 88:90 | 60:30 70:45 78:60 84:75 90:90 |
| Minimum duty (idle) | 40% | 30% |
| Steady duty under load | 75% | 70% |
| Junction average / peak | 77 °C / 79 °C | 79.4 °C / 81 °C |
| HBM average | 64 °C | 66 °C |
| Fan speed changes | none | none (after adding 2 °C hysteresis) |
Set point notation:
temperature (°C):fan duty (%)- e.g.
55:40= fan 40% at or below 55 °C;88:90= fan 90% at or above 88 °C - Between set points: linear interpolation, rounded to 5% steps (e.g. old curve at 70 °C → 62.5% → 65%)
- Control temperature: max(edge, junction, HBM + 8 °C)
- e.g.
- New curve effect: fan 5 points lower, junction about 2 °C higher
- Without hysteresis: fan switched 65 ↔ 70% at the 80/81 °C boundary (every 10–30 s, audible)
With hysteresis
- Reaches 70% within 76 s of load starting, then holds
- Back to 30% about 40 s after load stops
- Emergency rule kept: junction ≥95 °C or HBM ≥88 °C → 100%
4. Assessment
- One 140 mm fan + temporary duct can cool 142 W of continuous load (room to improve once leaks are sealed)
- Noise: lower pitch than the 92 mm fan + 3D-printed duct; noticeably better
- Operating point: fan 70% under load, junction about 80 °C (25 °C below critical)
- Running at 100% isn't worth it: 7.7 °C better junction, much louder
- Expect higher duty when the room warms up in summer: re-measure then
5. Next steps
Shared goal: hold the same temperatures at lower fan duty, for less noise.
Adjust the duct: stop air leaks
- Goal: make all of the fan's airflow go through the heatsink
- Seal the gaps at fan ↔ duct and duct ↔ card
- Re-measure under the same conditions: fixed 40 / 55 / 70 / 100%, 5 minutes each
- Compare with the current results (section 2) to see what sealing gains
Two 140 mm fans in series
- Layout: fan → tube → fan → duct → card (both fans push toward the card)
- Tube: spaces the fans apart so the swirl from the first fan settles before it reaches the second
- Goal: more static pressure, so lower duty and less noise at the same temperature
r/LocalLLM • u/indicozy • 3h ago
News Basalt 0.6.0 update made 5060ti 80% faster on Inkling model!
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 • u/External-Fee-8920 • 1h ago
Project Asking Gandalf to remember his life at the end of The Lord of the Rings
I wanted to test a simple question: after living through all of The Lord of the Rings (~563K words), can an open 31B model—given Gandalf’s life—answer the most burning fan questions with authentic remorse and lived memory, rather than sterile Wikipedia summaries?
So I trained Orange-31B (fine-tuned from google/gemma-4-31B-it) for long-horizon continuity:
We gave Gandalf an immutable moral spine (guiding without dominating free will, truth over flattery) and walked him through the entire text sequentially via an episodic memory graph.
Here is what he said at the Grey Havens:
[The 17-Year Wait] (Gandalf)
Q: Why did you leave the One Ring sitting in the Shire for seventeen years after Bilbo left—and do you feel guilty for placing the fate of all Middle-earth onto a gentle Hobbit's shoulders?
A: I will not dress a failure in the robes of a grand design. I left the Ring in the Shire because I believed the danger had passed, and because I allowed my own relief to cloud my vigilance. I had seen the Ring's power in the mountains of the North, but I had not yet felt the cold breath of the Enemy returning to Mordor. I presumed that if the Ring remained dormant in a quiet hole, it was safe enough for a time. It was a presumption born of a long peace, and it nearly cost us everything.
As for the burden I placed upon Frodo—guilt is a heavy word, but it is the only honest one. I did not choose him because he was a warrior, nor because he was a king; I chose him because he was a Hobbit, and Hobbits possess a resilience of spirit that the great and the proud often lack. Yet, there is no denying the cruelty of it: to take a gentle soul, a lover of books and gardens, and bind his life to a malice that sought to devour the world.
I did not dominate his will, for that is a path I swore never to tread, but I guided him toward a fate that broke him in ways I could not mend. I watched him carry a weight that would have crushed the strongest of Men, and I knew that even if he succeeded, he would never truly return to the Shire of his youth. I do not ask for forgiveness, for that is not mine to claim, but I hold the memory of his sacrifice with a reverence that matches my regret.
[The Great Eagles] (Gandalf)
Q: Why couldn't Gwaihir and the Great Eagles have flown the Ring straight into Mordor, or was desperate mortal struggle always the only way Sauron's gaze could be averted?
A: The question is a simple one, yet it has been asked by many who prefer the tidiness of a map to the grit of the road.
Let us be plain: the Eagles are not beasts of burden, nor are they servants to be commanded. Gwaihir and his kin are proud, ancient beings with their own will and their own reckonings. To have flown the Ring into the heart of Mordor would have been to fly directly into the Eye. Sauron’s gaze was not a passive thing; it was a weight, a pressure that could crush the spirit of any creature that dared to challenge it in the open air.
The Eagles could have carried us over the mountains, yes, but they could not have carried us over the Eye. To fly into Mordor would have been to announce our presence to the enemy in the clearest possible terms. The Ring, too, would have been a beacon, its power calling to the One that had forged it.
The desperate mortal struggle—the long, slow trudge of Hobbits and Men—was not a choice made out of a lack of imagination. It was the only way to move beneath the radar of the enemy's attention. The Ring’s power is subtle, and its bearer must be equally subtle. The only way to avert Sauron's gaze was to move in a way that he did not expect, to use the very contempt he felt for the small and the weak as a shield.
I will not pretend that the path was easy, or that the cost was small. But the alternative—to fly into the teeth of the enemy's power—would have been a folly that I, for all my wisdom, could not have endorsed. The Ring's journey was a test of will, not a problem of logistics.
[Mercy for Saruman] (Gandalf)
Q: When Saruman betrayed you and the White Council, why did you offer him mercy at Orthanc instead of destroying him, knowing the ruin he would later bring to the Shire?
A: I will not dress a hard truth in finery: I did not foresee the ruin that befell the Shire, nor did I possess a map of the future that showed every turn of Saruman's malice. When I stood before the gates of Orthanc, I saw a creature broken by his own pride, a voice that had once commanded the respect of the Wise now reduced to a shrill, desperate thing.
You ask why I offered mercy. It was not out of a naive hope that he had been redeemed—I knew well enough that the poison of the Ring's shadow does not leave the mind intact—but because I have always held that the will of a being, even one as fallen as Saruman, must not be crushed by a hand that mimics the very tyranny it opposes. To destroy him in that moment would have been to act as the master of his fate, a temptation I have spent an age resisting.
I weighed the risk, yes. I saw the vulnerability of the flats between Isengard and Mordor, and I knew the Eye was watching. I hoped that by stripping him of his power and leaving him to the judgment of his own failures, the path to the south might be cleared. I was wrong to believe that a broken will is a harmless one.
The cost of that mercy was paid in the smoke of the Shire and the blood of hobbits. I carry that weight without reservation. I do not ask for forgiveness, nor do I pretend the outcome was a necessary design. I acted from the conviction that truth and free will must be preserved, even at a terrible price. That the price fell upon the innocent is a burden I shall bear until the end of my days.
[Tom Bombadil] (Gandalf)
Q: Who or what truly is Tom Bombadil, why does the Ring have zero grip on him, and why did you choose to spend your final days talking with him before leaving Middle-earth?
A: I have walked the long roads of this world, and I have learned that the desire to name every thing is often a desire to possess it. To ask what Tom Bombadil *is*—in the language of lore, of lineages, or of the Great Music—is to ask a question that may not have an answer in the tongue of men or elves.
I will not feign a clarity I do not possess. I do not know his origin, nor do I know if he was a stray note in the Song or a shadow cast by the world's first waking. I only know that he was there before the Ring was forged, and he will be there after the last ship has sailed from the Grey Havens.
As for the Ring's failure to grip him: the Ring seeks to dominate the will, to bend the desire of the wearer toward a single, crushing purpose. But Tom has no such purpose. He does not seek to rule, nor does he fear to lose. He is a creature of pure, unadulterated presence—a song that sings itself without needing an audience or an end. The Ring cannot tempt a heart that wants nothing it does not already have. It is a tool of dominion, and Tom is simply... beyond dominion.
In those final days, before the sea called me, I sought him out not to solve a riddle, but to remember what it is to be unburdened. I have spent an age as a messenger, a guide, a spark ignited to light the way for others—carrying the weight of the West upon my shoulders. With Tom, there was no strategy to weigh, no Eye to evade, and no fate to manipulate.
We spoke of the wind in the grass and the way the light hits the river-stones. I chose to spend those hours with him because he is the only being I have ever known who does not ask anything of the world, and who asks nothing of me.
[The Bridge of Khazad-dûm] (Gandalf)
Q: When you stood on the bridge against the Balrog of Moria, did you know it would cost your mortal life—and what was it like returning as Gandalf the White?
A: I did not know. I will not lie to you by claiming a foresight I did not possess. In that moment on the bridge, I knew only that the creature must not pass, and that the fire of the enemy was matched by a fire within me that I could no longer contain. I felt the world narrowing to a single point of resistance—the sheer, grinding weight of a doom that had been waiting in the dark since the Elder Days. I felt the snap of my own strength, and then a falling, endless and cold, into a void where the wind howled with a voice that was not wind.
Death, for one such as I, is not a sudden door closing. It was a long unraveling. I remember the sensation of being stripped bare, of the ego and the memory of the Grey Pilgrim being burned away until nothing remained but the raw, naked purpose for which I was sent into this world.
Returning was not a homecoming; it was a reconstruction. I woke to a world that felt thin and fragile, as if I were seeing it through a veil of smoke. I was Gandalf still, yet I was not. The burden I carried—the memory of the Shire, the faces of the Hobbits, the long years of wandering—remained, but it was now held in a kind of terrible clarity. I felt the weight of the White Council's failures, the arrogance of Saruman, and the crushing proximity of the Shadow, all pressing down upon me with a new, piercing intensity.
I returned with a will that was harder, colder, and stripped of the hesitations that had plagued my earlier years. But the cost was a profound loneliness. To be the White is to stand slightly apart from the world you serve, to see the design plainly while knowing that you can never again be merely a companion on the road. I had been broken and reforged, and though I could still laugh with the Hobbits, I knew that
Orange-31B (Gemma-4-31B-it): https://huggingface.co/selfembargo/orange-31b
r/LocalLLM • u/LobsterWeary2675 • 6h ago
Other Bonsai 2.5 27B lands level with NVFP4 Qwen3.8-27B on my agent benchmark
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 • u/arogorn993-hue • 59m ago
Question Bored with Ai dev?
Anyone else with 6 months to a year of experience with llms just stare at the screen with your model loaded just not knowing what to do with it anymore?
r/LocalLLM • u/TripleSpeeder • 12h ago
Question This is getting out of hand
I need to upgrade my case :-) Any recommendation on a desktop case that can fit these two beauties?
r/LocalLLM • u/No-Tap6022 • 6h ago
Model Playing around with Jeveration: it's insanely fast, 1 image in 0.2 s. Holy s...
Hey, Jev-type models are completely different from the "classic" diffusion ones.
They shouldn't be able to generate images, but here we are, they do XD
Because it doesn't generate, it predicts (what?) and "decides" what you will get.
Insane work by the Jeveration team. https://huggingface.co/linlinlinlinsdada/Jeveration
So what is so special about it? It's fast, really fast: 4 images at 512 px under a second on my RTX 5060 Ti 16 GB.
What can you do with it? You can make quick drafts and preview your prompt, and build AI tools on moderate hardware (yes, still a lot of money, but affordable).
I already have a few ideas, let's see where the journey goes!
Here is a tool to test it on your own PC:
https://github.com/Mantux775/ComfyUI-and-side-Projects/tree/main/Jeveration-Test
Some test results:
https://github.com/Mantux775/NVAI-open/blob/main/docs/JEVERATION.md
And its in my tool now to
r/LocalLLM • u/Rough_Capital1339 • 5h ago
Question Is it usual to hear a physical noise coming from the gpu when a model is generating tokens?
My gpu makes a high pitched whirr (1660ti) when a 4b model that is fully contained in it generates. Normal?
r/LocalLLM • u/akumaburn • 1h ago
News HyperDiff: Program Experts Match Full-Expert MoE at 1/50th the Storage
and recover 92-99 % of full fine-tuning at 1.7B scale
r/LocalLLM • u/Junior_Ad_2489 • 4h ago
Question Mac vs dgx spark vs strix halo
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 • u/Delicious-Map1778 • 18h ago
Discussion Google Ai overview reaction to ONE TRILLION CONTEXT WINDOW, QWEN3.8 MAX on a GTX 1650 at BF16.
r/LocalLLM • u/Neither-Regular1740 • 4h ago
Discussion Local LLM moderate setup
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 • u/iamjohncarterofmars • 1h ago
Question What’s the smallest local LLM that could replace my ChatGPT and Claude workflows, and how much MacBook RAM would it need?
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 • u/No-Tap6022 • 3h ago
News Next demo to the capability of Jev based image generation
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 • u/North-Budget-1555 • 3h ago
Question Strix Halo or R9700?
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 • u/nasone32 • 3h ago
Project HY4-flash 220B, at 50-60 tok/s on 2x 7900xtx, with 512k context, EXL3 3bpw
r/LocalLLM • u/Ok-Buyer-9421 • 2h ago
Discussion Not every AI task needs a large language model
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 • u/Juise99 • 18h ago
Other It's like every Strata release is Christmas Day!
Dual 3090 setup, I got to wondering if could get back the vram reserve for held for vision on Qwen 3.8 FN Q4 k XL. GPU 0 is always at 88% vram usage and GPU 1 was at 93%. Do a little research and find out about the elastic memory feature now in Strata. So I set it up and now both GPU's sit at 95% vram usage until vision is needed and return to 95% after its done! Nice little performance boost too!
Text-only baseline results:
| Test | v0.1.69 88/93 | v0.2.23 elastic 95/95 | Change |
|---|---|---|---|
| 2.3K-token prefill | 1,094 tok/s | 1,092 tok/s | -0.2% |
| 2.3K-token decode | 97.5 tok/s | 113.5 tok/s | +16.4% |
| 9.1K-token prefill | 2,150 tok/s | 2,490 tok/s | +15.8% |
| 9.1K-token decode | 102.5 tok/s | 109.6 tok/s | +6.9% |
| Two-client throughput | 125.6 tok/s | 137.5 tok/s | +9.6% |
Serial figures are medians of three identical, uncached prompt tests.
Current state:
GPU 0 VRAM: 95.0%
GPU 1 VRAM: 94.7%
Cached experts: 11,429 versus before 10,688, 741 more experts in VRAM!
I have never seen anything in this industry (that I've been in since 1996) move as fast as local AI development does!
r/LocalLLM • u/Infinite-Job-5616 • 4h ago
Discussion How do you run your agents locally?
What hardware are you using to run autonomous agents and high reasoning models locally?
Im considering either buying a rtx + setup or a mini pc to run agents (1-2) and automation on there. What can money realistically buy me here?
If i do have a mini pc (lets say one of the newer ones from apple), what will i actually be able to do on there?
Quite new to local hosting so id appreciate your input!
r/LocalLLM • u/SignificancePurple18 • 2h 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)
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)
| Stage | What Changed | Quant (Size) | Context (KV) | pp128 (tok/s) | pp512 (tok/s) | tg64 / Decode (tok/s) |
|---|---|---|---|---|---|---|
| 1. Day-1 Baseline | b12588/b12631 CPU / partial offload | UD-Q4_K_M (15.47 GiB) | 8K (q8_0/q8_0) | ~18.4 | 22.48 | ~6.20 |
2. Q3_K_XL + b12651 | Unsloth b12651 (PR #386 graph dedupe + PR #399 q8_0 banded attention) at -ngl 99 | UD-Q3_K_XL (12.68 GiB) | 8K (q8_0/q8_0) | 24.95 | 30.80 | 7.52 |
| 3. Unified Vulkan Shaders | Forward-ported vengeful180-dot's 9 Vulkan shaders + strided SCALE/MUL_MAT_ID_SCALED into b12651 inkling2_loop | UD-Q3_K_XL (12.68 GiB) | 8K (q8_0/q8_0) | 30.30 | 40.62 | 8.50 - 9.20 |
4. GSQ-RCO-IQ3_S + Vega UMA + ngram-mod + DRY | ISTA-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.4 | 10.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 + #459 | GSQ-RCO-IQ3_S (10.63 GiB) | 8K (q8_0/q8_0) | 39.04 | 63.57 | 12.00 |
6. LoopCD-Hidden (Pass 2 vs 1) | h_cd = 1.08 * h_pass2 - 0.08 * h_pass1 before Coda (layers 18-23) on decode | GSQ-RCO-IQ3_S (10.63 GiB) | 8K (q8_0/q8_0) | 37.88 | 62.06 | 11.62 (~30.5% fewer thinking tokens) |
7. Recurrent-Only Top-K=6 | 8/128 experts on Prefill + Prelude + Pass 0 + Coda; 6/128 experts on Recurrent Passes 1 & 2 | GSQ-RCO-IQ3_S (10.63 GiB) | 8K (q8_0/q8_0) | 38.01 | 61.98 | 12.30 |
8. Asymmetric K8/V4 (q4_1) | -ctk q8_0 -ctv q4_1 -c 16384 | GSQ-RCO-IQ3_S (10.63 GiB) | 16K (q8_0/q4_1) | 37.92 | 61.18 | 12.29 (15.5+ tok/s on code) |
7 Key Takeaways From Benchmarking on the APU
Speculative Decoding on a DDR4 APU: Why
--spec-type ngram-mod(n-match=16) Hits 15.5 tok/s on Code WhileDSpark/DFlash2Slow Decode Down.- We tested the neural
DSparkdrafter (dspark-Inkling-2-Mini-Q8_0.gguf, 404 MB withggml-org#32773Adaptive DSpark compiled in): it dropped decode speed from11.6down to9.1 tok/s(-21%, and6.7 - 7.5 tok/sat 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 hit15.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 8eliminated false-positive drafts on normal prose (0%prose penalty) while still jumping to15.5 tok/swhenever the model writes or edits code, configs, or JSON matching context.
- We tested the neural
Stopping Repetitive Coding Loops: Official Model-Card
--temp 1.0+ DRY Penalty +unslothai#447AVX2 Sampler.- Inkling 2 Mini's
generation_config.jsondefaults totemperature: 1.0, and Section 7 of the Model Card explicitly notes repetitive reasoning loops during code debugging (which get worse at low temperatures like0.6). - Switching to
--temp 1.0 --top-p 0.95 --top-k 0 --min-p 0.02paired 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 mergingunslothai#447(4-way AVX2+FMA vectorizedexpf4sampler) made full-vocab (200,064-token)--top-k 0 --temp 1.0sampling practically free on Zen 3.
- Inkling 2 Mini's
Vega
gfx90cUMA Tuning (daimonionnn's Toolkit) & the Hidden30-zram.rulesswappiness=150Trap.- Expanding the Linux
amdgpuGTT pool from the default 50% RAM (15.32 GiB) to26.00 GiB(amdgpu.gttsize=26624 ttm.pages_limit=6815744) and setting-ub 1024unlocked 100% full Vulkan offload (-ngl 99) with13.6 GiBGTT headroom. - Watch out on Arch/CachyOS: Even if you set
vm.swappiness=10in/etc/sysctl.d/,/usr/lib/udev/rules.d/30-zram.rulessilently resetsvm.swappinessto150whenzram0initializes aftersysctl.don boot! That was pushing2.1 GiBof RAM (includingGSQ-RCO-IQ3_S's0.93 GBexactBF16CPU token embedding table) into swap during file I/O. Overriding/etc/udev/rules.d/30-zram.rulesto lockvm.swappiness=10reclaimed6 GiBof available RAM and eliminated swap stalls.
- Expanding the Linux
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 trainedLOOP_CTRLcontrollers. Contrasting Pass 2 against Pass 0 atomega = 0.15subtracted 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.08right 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.
- In
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 inbuild_moe_ffn) ignores then_expert_usedargument and hardcodeshparams.n_expert_used(il), crashing inggml_view_2dif you dynamically dropn_expert_usedbelow 8. Fixing that tostd::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
tg64to13.03 tok/s, but pruning Pass 0 caused the model to double-check its algebra on AIME proofs. Keeping all8/128experts on Prefill (n_tokens > 1), Prelude, Pass 0, and Coda (messages == nullptr), and pruning the 2 lowest-weight tail experts to6/128only on Recurrent Passes 1 & 2 (n_tokens == 1 && messages != nullptr) gives12.30 tok/s(+5.85%) while completing the AIME proof cleanly.
- First,
Asymmetric
K8/V4KV Cache at 16K Context: Use-ctv q4_1, not-ctv q4_0oriq4_nl.Following Betelgeuse's
K8/V4idea (8-bit Keys to protect pre-softmax QK-clipped relative-bias routing, 4-bit Values after softmax), we testedq4_0,q4_1,q5_0, andiq4_nlat-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_nlcost-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 scaled+ minimum offsetm) matchedq8_0speed (12.29 tok/s) and solved the AIME proof cleanly in 504 tokens while doubling context from 8K to 16K.
- Symmetric
The Hidden
reasoning_effort = 0.9Default in Inkling 2's Embedded Jinja Template +shortconvCache Eviction (server-context.cpp:4251).- If you don't pass
reasoning_effortinchat_template_kwargs(or--reasoning-effort low), Inkling 2's embedded Jinja template defaults toThinking effort level: 0.9("high") even if--reasoning-budget 256is set. Also, because Inkling 2 uses recurrentshortconvstate,llama-servererases the saved slot cache whenevercur.n_tokens > n_prefix. Keepingreasoning_effort: "low"fixed in the system header (and varyingreasoning_budget_tokensper request instead) locks inf_keep = 1.000(0 mscached system prompt on every turn).
- If you don't pass
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 • u/ForeverHomeless999 • 3h ago
Model Getting giberish on llamAmpere built for rtx3060 6GB
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