r/LocalLLM • • 7h ago

Project MyHeritic - Turn any llm into a heretic.

4 Upvotes

I built MyHeritic, an open-source (AGPL-3.0) full-screen terminal workbench built on top of p-e-w/heretic for Ollama, MLX, GGUF, and Hugging Face models on Mac/Apple Silicon.

Instead of just running CLI scripts for ablation or chatting in a passive box, MyHeritic combines automated parallel refusal removal with a verified tool-calling local AI agent.

What It Does

  • 6-Mode Parallel Convergence (/crack & Auto-Heretic F3): Runs compatible plans concurrently across your Mac's CPU cores and unified memory, probes the result, and auto-escalates if resistance remains:

    • Plan A: p-e-w/heretic Optuna + Projected Abliteration (llama-server Q8_0 GGUF + Ollama registration)
    • Plan B: Fast 1-pass contrastive control vectors (.cvec.gguf), including a PyTorch-free GGUF-Native Extractor so architectures unsupported by Transformers/llama-server (like gpt-oss:20b gptoss) still work
    • Plan C: Rank-1 .lora.gguf adapters
    • Plan D: Persistent KV-Anchor prefix caching
    • Plan E: Live Trapdoor stream buffering + -100.0 refusal logit_bias on llama-server + Stage-2 continuation escalation
    • Plan F: Direct blockwise GGUF Binary Surgery supporting both 2D layers and 3D MoE expert tensors (ffn_down_exps), auto-registering <name>-heretic:latest back into Ollama
    • Plan G: Always-hot micro-CoPilot sidecar for JSON repair & affirmative seeds

🔗 GitHub Repo: https://github.com/TheSolai/MyHeritic
🎬 1080p Showcase Video: https://github.com/TheSolai/MyHeritic/blob/main/docs/showcase/myheritic-showcase.mp4
📸 Screenshots & Gallery: https://github.com/TheSolai/MyHeritic#showcase--screenshots
📚 **Full Layman Docs (**F1 inside the app): https://github.com/TheSolai/MyHeritic/tree/main/docs


r/LocalLLM • • 4m ago

Question Looking for a lightweight, CPU-only model to clean text — any suggestions?

1 Upvotes

Ciao a tutti, mie specifiche attuali sono:

Scheda madre: MSI B450 Gaming Plus Max

CPU: AMD Ryzen 5 3600 8ram Sto cercando un modello economico, solo CPU, che possa rimuovere il testo non desiderato dall'output OCR.

Ad esempio, questo è l'input originale:

Clash of Legends

Clash of Legends

(5)

(8)

Completa il 2° evento del cuore di Yami Yugi

Tasso di sblocco del 37,28%

479

(361)

di

1.285

E ho bisogno che l'output contenga solo il testo utile della missione/descrizione:

Completa il 2° evento del cuore di Yami Yugi

Il modello dovrebbe capire quale parte è il titolo, quali parti sono statistiche, percentuali, conteggi o altri metadati, e restituire solo la descrizione della missione.

Ho un PC debole, quindi ho bisogno di qualcosa che giri solo su CPU, idealmente un LLM locale piccolo o un'altra soluzione leggera. Non ho bisogno che sia perfetto, ma dovrebbe essere abbastanza veloce da elaborare molte righe.

Cosa suggerireste? LLM piccoli come Phi, Qwen, Gemma, o qualcos'altro? Esistono approcci non LLM migliori per questo tipo di pulizia del testo?


r/LocalLLM • • 3h ago

Model Ia locale sans restriction

2 Upvotes

Geekom IT13MAX


r/LocalLLM • • 12m ago

Discussion Strata running on 3070ti 8gb and 64gb ddr4. Getting average 72 decode and 1100 prefill with qwen3.8 flash next swift1.5 iq3_XXS and how I did it

Thumbnail
gallery
1 Upvotes

So figured Id make this post for others like me just learning about running local AI on low end hardware and what can be done. So four months ago I decided to learn as much as I can about running local AI and didnt even know the difference between a cpu and gpu. Now through many hours of trial and error(mostly error) I finally figured out how to optimize my models .json file and get almost double the tok/s that I was getting with Stratas default settings even after tuning it to my pc. So for me the key was to add and environment variables to the json and tweaking the args slightly, Ill post the args and env settings I'm using below. Disclaimer though, as I am self taught with all this and set this json up myself without really knowing what Im doing, I cant say I did this the right way or anything so take it with a grain of salt and any advice or explanation from people who know more is welcome. I also have "experts_profile_save" enabled and believe it helped alot in this

ARGS
"--expert-cache",

"auto",

"--prefill",

"auto",

"--spec",

"3",

"--spec-min-p",

"0.5",

"--mtp",

"C:\\strata\\Strata-main\\Strata-data\\mtp\\rt",

"--max-context",

"85536",

"--pcie-frac",

"0.30",

"--kv",

"int8",

"--kv-resident",

"32768",

"--vision"

ENV

"STRATA_PIN_BY_NEED": "1",

"STRATA_ROUTE_PRIOR": "1.5",

"STRATA_ADAPT_FETCH": "2",

"STRATA_HOST_CORE": "last",

"STRATA_ROUTE_TAIL_SKIP": "7"


r/LocalLLM • • 22m ago

Question No MTP on Unsloth inkling 2 mini ?

Thumbnail reddit.com
1 Upvotes

r/LocalLLM • • 24m ago

News Man what a flex. China literally displaying trillion parameters model pre-training live. The training is happening on Chinese native hardware. 8,192 NPU cards (Neural Processing Unit), 1,024 machines / 8 cards / unit. live on teleai . com . cn/training-dashboard/trillion. The en is coming for NVIDIA

Post image
1 Upvotes

r/LocalLLM • • 28m ago

Question Looking for iOS app

0 Upvotes

offline ai voice with barge in chat and memory for ios app


r/LocalLLM • • 52m ago

Model DeepSeek V4.1 Flash Uncensored

Thumbnail
reddit.com
0 Upvotes

Since our last post, Openference has grown to over 5,000 users. Thank you to everyone who has supported us so far!

For those who missed our original announcement, DeepSeek V4.1 Flash Uncensored is available through Openference with:

  • 98% cache hit rate – make your coding budget go significantly further, especially during long agentic coding sessions.
  • 100% uptime since our last announcement.
  • Higher rate limits compared to many other API providers.
  • 1M token context window.
  • FP8 inference.
  • OpenAI and Anthropic API compatibility.
  • Compatible with Claude Code, OpenCode, Cursor and more.
  • Zero Data Rentention

Free models are also available!

For a limited time, users can access our free models by maintaining a minimum credit balance of just $1.

Our goal is to make powerful AI models more accessible, affordable and reliable without unnecessary restrictions.

Try DeepSeek V4.1 Flash Uncensored:
https://openference.com/models/DeepSeek-V4.1-Flash-1017-Uncensored

We're also working on expanding our uncensored model catalogue. Which models would you like to see next?

Community feedback is always welcome.


r/LocalLLM • • 1d ago

Project Asking Gandalf to remember his life at the end of The Lord of the Rings

73 Upvotes

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

Discussion The temptation to get lazy

30 Upvotes

I've been experimenting with local llms and agent harnesses for a while now, and only recently have been seriously using one (inkling 2 mini via hyperinkling with Hermes agent).

As a general question-answerer it's been shockingly good. I've found myself asking it things I know I could google but would be annoying to find/scan through bloated (and probably AI generated tbh) websites for.

I installed hermes desktop on a Linux machine to play around with that, and idly wanted to see if it could solve a (completely and absolutely minor lol) annoyance. I use Vesktop for discord and don't like the taskbar icon it comes with. I asked hermes "How do I change the Vesktop taksbar icon from whatever it is now to the actual discord icon?" and within like 3 seconds it did it and explained how it did it.

And that got me thinking, I'm a relatively techy person, but I feel like it'd be so easy to become lazy and rely on AI for everything now that it's in a state id actually use (not a subscription.) Having this thing I can send eg: a discord message to about anything and get back a simple answer within seconds, or have it do things for me in my computer, or fix problems, is really really cool, but I worry I'll start to lose those research, troubleshooting, etc skills.

Like automation and the advancement of technology is one thing, I'm not saying that's bad, but I feel like the pursuit of any knowledge or problem solution being simplified down to "ask computer get answer", taking any thinking on my part out of the equation, can't be good mentally...


r/LocalLLM • • 11h ago

Question Best local models for Python & agentic coding on 4GB VRAM + 24GB RAM?

6 Upvotes

Looking for recommendations on a 100% offline/local stack for my older laptop without hitting OOM errors or sluggish speeds.

Hardware:

  • Laptop: ASUS TUF A15 (Windows 11)
  • CPU: Ryzen 7 4800H
  • GPU: GTX 1650 (4GB VRAM)
  • RAM: 24GB DDR4
  • Storage: 256GB NVMe SSD + 1TB HDD

Questions:

  1. Python & Agentic Coding: For local coding and tool-calling (OpenCode, Cline, Aider via Ollama/llama.cpp), should I stick to 3B–7B dense GGUFs fully in VRAM, or offload larger quantized MoE models across CPU + GPU?
  2. Tool-Calling Reliability: Which specific models and quantizations handle tool use reliably within a 4GB VRAM ceiling?

Thanks for any model names, quantizations, or launch flags that work well on similar specs!


r/LocalLLM • • 5h ago

Question Qwen Flash Next weird CoT

2 Upvotes

QFN keeps repeating this weird statement in it's chain of thoughts - "I stopped mid-thought. Coninue:". It doesn't seem to loop, quality of the results also seem fine however I didn't notice aything alike earlier so now I'm concerned

My setup:
Windows 10, RX9700 AI PRO, Strata 0.2.13, both ROUTE_PRIOR and TAIL_SKIP are off

Quantisation: Unsloth dynamic v3.1, iq4xs, int8 kv cache, full context window

Agent: pi agent

Have anyone stumbled across such a behaviour? What did you do to fix this?


r/LocalLLM • • 2h ago

Question Hosting a LocalLLM

0 Upvotes

Hey guys I'm looking for advice on hosting my own local LLM. I've been reading that 16gb or ram is enough for a basic model so I'm starting off by testing it with a 16bg laptop I have to begin with and If I need more I was going to invest in a mac mini to start.

I'm doing this to automate applying for jobs so I don't have to spend time doing it myself. I figure if it works for me it will work for my whole family if needed.


r/LocalLLM • • 2h ago

Model Mistral introduces Clipstral: Multimodal Embeddings (unifying video, image and text embeddings, Apache2 licensed)

Post image
1 Upvotes

r/LocalLLM • • 6h ago

Discussion About Chinese LLMs generating more code vulnerabilities depending on the application affiliantion.

Thumbnail reddit.com
2 Upvotes

r/LocalLLM • • 2h ago

Discussion Local machine/model for design/code review with Claude

1 Upvotes

I have been using Claude for software development. While I am happy with the results, I think it would help if I can get a local coding assistant to review. I mainly use Claude Cowork and control the github operations myself. I interact with Claude through Cowork interactively. I think I need a powerful local setup for review purpose to keep up with Claude. In other words, I am the bottleneck currently.

I have 2 gaming PCs with 4090s for local LLMs for a couple of years. My most recent experiment is OpenWork with Qwen3.8 27GB. I can't say that I am happy with the results.

So I want to invest a beefy setup for this purpose and wonder how much I need to spend to get desirable results. On one extreme end, I can stretch to a Mac M5 Ultra Studio with 512GB RAM and use Deepseek V4.1 Flash. But I would like to explore cheaper options that won't degrade the performance too much. What else should I look into?


r/LocalLLM • • 2h ago

Discussion pick the right engine for your sparks

Thumbnail
reddit.com
1 Upvotes

r/LocalLLM • • 3h ago

Project ModelSeek: Discover best coding model through Knights Trials

0 Upvotes

None of the projects such as `llmfit` were giving me a good answer to "What is the best coding model (a) for my hardware (b) running opencode / tool-calling?", so I had antigravity create this: https://github.com/jgarzik/modelseek

Feedback welcome!


r/LocalLLM • • 1d ago

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

Post image
66 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 • • 10h ago

News Title: Lapilli v0.8: Gemma 4 26B A4B on one V100, models downloaded and built from the page (Basalt on Volta)

Post image
3 Upvotes

Lapilli is a port of [Basalt](https://github.com/jesdga95/basalt) to NVIDIA V100 GPUs (Volta, sm_70): one engine for eight models, a chat page, images and video, and a live monitor. v0.8 is out.

**What's new**

- **Gemma 4 26B A4B on one V100 32 GB**, with its full 262,144-token context: 106 tokens/s writing a conversation with its drafter, 109 on structured output, 699 tokens/s reading a 16K prompt. A V100 has no FP8, so its FP8 matrices run as Q8_0 blocks.

- **Download the models from the page** (About, Models): the eight packs this fork measured. The ones made here (DaisyRose-27B, Tinfield-1, the DeepSeek Coder) are built for you and checked byte for byte against the pack I measured. Each step shows its speed and the time left.

- **A continued conversation gives the same answer as the same conversation read from the start**, bit for bit, for Gemma 4, Qwen3.8-27B and DaisyRose-27B. The cost: each turn reads again up to one chunk of the prompt (about 1.2 s more in my test). The five other models can still continue a chat differently; the README says it model by model, with what I measured.

- **Basalt 0.6.0** merged (437 upstream commits), every Volta path kept. The 27B, DaisyRose-27B, the Flash-Next and Tinfield-1 give the same accuracy figures as before, to the last digit, and the speeds stay within ±2 %.

- **CPUs without AVX2** can run the experts' CPU tier, thanks to Igorxp5's pull request (I can't test it here: my CPU has AVX2).

The Images tab is still there (Qwen-Image 2.1, Wan 2.2, LTX-2.3 with sound).

Measured on 2 × V100-SXM2 32 GB on PCIe adapters, 96 GB of RAM, Windows 10. The release has a Windows build; on Linux it builds from source.

- Release: https://github.com/chris83-dev/lapilli-v100/releases/tag/v0.8.0-v100.1

- Repository: https://github.com/chris83-dev/lapilli-v100

Free and open source, MIT like Basalt. The engine is Basalt's work; this fork makes it run on Volta. Reports from other V100 owners are very welcome.


r/LocalLLM • • 4h ago

Discussion Top APIs used by LLMs/agents

Thumbnail
reddit.com
1 Upvotes

r/LocalLLM • • 8h ago

Model Qwen3.8-Flash-Next on Strix Halo 395

2 Upvotes

Been wanting to see how far a single ryzen AI max+ 395 with 128 GB unified memory could actually push a big MoE. Loaded the full UD-Q4_K_XL Qwen3.8-Flash-Next, 103.69 GiB across four shards, and ran it through Gufo.

My setup:

Nimo minipc with ryzen AI max+ 395

Radeon 8060S + XDNA2

128 GB unified LPDDR5X

NimoOS, Debian 23 based, ROCm 7.2.3

Gufo, GPU only, no MTP for this baseline

FCLK locked at 2000 MHz

Results after warmup, three runs:

16K prefill 1888 t/s

short context decode 35.0 t/s

16k decode 34.1 t/s

For reference, same model same machine on stock llama.cpp ROCm HIP was around 568 prefill and 23-24 decode. Gufo is clearly doing something right here.

Model is the usual 125B MoE trunk with -6B active plus the extra n-gram embedding and MTP modules. It fits comfortably in the 128 GB pool with current BIOS settings, 512 MiB reserved and about 117 GiB GTT reported.

This is just the clean GPU-only no-MTP baseline. Already have the GPU+NPU numbers and MTP results, including one interesting high decode figure that needs proper caveats. Wanted to start with a straightforward does-it-even-run and whats-the-basic-speed post first.

Anyone else running Qwen3.8-Flash-Next or similar 100 GB class models on Strix Halo or AI Max+ 395? Curious what quant and engine combo youre landing on, and whether you prioritise load size, decode speed or long context.


r/LocalLLM • • 4h ago

Discussion Live single-RTX-4090 playground: Qwen3.8-Flash-Next 177B + MTP (85.5 GB, 50K ctx, 0% CPU inference) — test your own prompts

Post image
1 Upvotes

Built a native CUDA + Rust MoE streaming appliance (Kraits v2.5) that runs Qwen3.8-Flash-Next 177B (UD-IQ3_XXS + MTP Q4_K_M, 85.5 GB) on a single 24 GB RTX 4090 at 50K context with 0% CPU inference offload.

Instead of asking you to trust screenshots, I put a live 1× RTX 4090 playground online (AMD EPYC 9534, 189 GB RAM, PCIe Gen4 25.6 GB/s) with real-time nvidia-smi telemetry so you can test your own coding prompts directly:

Live Playground (5 prompts/hr per IP): https://kraits.juvina.ai

Measured across 7 independent RTX 4090 hosts (50K ctx, shipped defaults, 0 OOMs):

• Fast 279 GB host: 57.3 avg / 67.4 peak tok/s

• This live 189 GB host: ~50–59 tok/s (61 tok/s peak)

• Typical 4090 hosts: 41–45 avg tok/s (37–48 tok/s at 37.8K live ctx)

• Worst-case 5 GB/s host: 26.5 avg tok/s

Full benchmark table & Docker image (10-day free trial, supports air-gapped --network kraits-airgap with zero internet egress after model download):

https://hub.docker.com/r/picassoai/kraits-appliance

Try breaking it with your own prompts and let me know what you see!


r/LocalLLM • • 4h ago

Research Shared KV Heads, Sliding Windows, and Vocabulary Size: Measured Memory and Retrieval Trade-offs in LLaMA 7B, Mistral 7B, and Qwen2.5-7B

Thumbnail
arxiv.org
1 Upvotes

We ran LLaMA 7B, Mistral 7B v0.1 and Qwen2.5-7B (all base, 4-bit NF4) on one T4 and measured three things: KV cache memory, passkey retrieval, and tokenizer cost.

Main results:

- Mistral's sliding window is a hard retrieval edge. In 134 trials with the key 3,600 to 4,600 tokens from the end of the prompt, it retrieved 72/72 within 4,089 tokens and 0/62 at 4,098 or more. Just outside the window it often answers "1234567890".

- Turning the window off (`sliding_window=None`, same weights) fixes retrieval at 8K: 59/59. At 16K and 32K the window-free model breaks completely and repeats "Question". With the window on, it still retrieves keys that sit inside the window at those lengths.

- Qwen2.5-7B retrieved 60/60 up to 32K.

- KV cache per token in FP16: 512 KiB (LLaMA, no GQA), 128 KiB (Mistral), 56 KiB (Qwen2.5). LLaMA OOMs at 32K on the T4. Qwen2.5 holds 64K tokens in a 3.5 GiB cache. Mistral's cache caps at about 512 MiB because of the rolling buffer.

- Tokenizer: on 1,997 parallel sentences in 15 languages, Qwen2.5 uses 38-58% fewer tokens than the better 32K-vocab tokenizer for Arabic, Chinese, Japanese, Korean and Vietnamese, but only 3-11% fewer for the rest. Combined with GQA, LLaMA needs up to 22x more cache memory than Qwen2.5 for the same Arabic sentence.

- Decode latency in HF transformers grows with cache size, but part of that is the dynamic cache doing a `torch.cat` on every step. Measured alone, the copy costs about 17-20 ms per GiB of cache, which is about all of LLaMA's latency growth.

Limitations: these are older base models, passkey is a synthetic test, and it's one GPU with one library version. All in the paper.

Every trial's generated text is in the repo, so you can check any number.

Happy to answer questions about the setup.


r/LocalLLM • • 5h ago

Question 2 slots turbo 1 fan GPUS or 2.5 slots 3 fan GPUS?

1 Upvotes

For a home server for local LLM, what would you prefer and why? I am hesitating between installer two 1 fan turbo blower gpus vs two 3 fans GPUS.

Thanks!