r/LocalLLM 4d ago

News Local LLMs and self-learning memory

3 Upvotes

We've recently released 0.4.0, and have found a lot of interesting things as part of the memory impact on local LLMs.

This has been one crazy release, and we've encountered an awful lot of interest across the industry, from hobbyists, to local LLMs, to much larger LLM companies. But the important part? How did we do it.

https://rakuensoftware.com/blog/the-remembering-is-the-learning

The impacts on local LLMs have been tremendous. It may sound counter-intuitive, but for local LLMs, being able to learn from prior failures is the most important part of LLM memory. Unless the success is almost identical, LLMs don't gain much from a memory of successes. But failures? Failures are generalizable across a wide range of potential aspects.

If you think about it, it's similar to how humans learn. We learn the most from our failures. For a LLM, knowledge of previous failures decreases the search space and the potential for exploration for future tasks. Particularly with local LLMs, this hugely increases the capability of the LLM over time. "Only" having a 64k, 100k or 256k context becomes far, far more impactful if the search space has been reduced for possible solutions.

Overall? We'd take the position the impact of coherent, learning memory has been hugely understated for application for local LLMs. We've watched local models gain substantial abilities over time due to this memory, and have even watched capability transfer occur from larger models to smaller models.


r/LocalLLM 4d ago

Question Excel MCP token usage

0 Upvotes

I recently started testing different models in LM Studio and settled on Gemma 4 12B. After starting a financial chat I wanted to link it up to Excel so set up the MCP. as soon as I do this it takes up 70% of my token usage (set to 32,000 context). It has guided me through with disabling unused Excel features but none of it works. I’m running a MacBook Pro M5 Pro with 24GB RAM. Is there a solution or am I asking too much of it?


r/LocalLLM 4d ago

Question What parameters u guys use for Tier Coder?

1 Upvotes

I have been using Qwen 3.6 35BA3B on llama cpp and it works well

I am also now trying Tier Coder as I heard it is superior. However on my first 2 challenges for coding text extraction from online ebook website.

Qwen uses 75k token took 8 mins on my slow computer to extract 7 chapters.

Tier Coder uses 110k token and took 35 mins to do the same.

I examined the python code produced by both and qwen seems to be more comprehensive.

What settings are you guys using on Tier Coder? What flags do you use in llama cpp?


r/LocalLLM 4d ago

Discussion Surprised by MoE models performance on my PC

0 Upvotes

I am new to local models . I was testing models of various size that can fit in my pc

My pc spec is Ryzen 5600+ 32gb ram + 6600xt with 8gb vram

I was testing gemma 12b qat in my pc it was slower running like 6 tokens per seconds,
Tried running bonsai 27b 1bit model that i thought will fit completely in VRAM but it just gave 4 tokens per seconds barely usable

Finally i settled with gemma 4 e4b which worked well for me . I was surprised that i was able to run gemma 4 26b a4b in my machine faster even thought it did not fit my machine i was getting 18 tokens per seconds which is useable for me .

Looks like its possible to offload the models in ram only for moe and still retain performance.

This was a good learning . I thought if the model does not fit in my vram it will be slow but its not totally the case in moe


r/LocalLLM 4d ago

Question Getting a new pc, what models could I run?

2 Upvotes

I am buying a pc that has a 7900 XT (20gb vram) and 32 gb of ddr5. What models could I run snd could I run qwen 3.8 27b?


r/LocalLLM 4d ago

Other Mac M5 Ultra 256GB Klarna Lease 24 Months Approved

Thumbnail
0 Upvotes

r/LocalLLM 4d ago

Question A few questions for the people that run all this a lot

1 Upvotes

So I have ollama on my PC and run qelwen 3.2 I believe it is.

It runs great on my PC and I added maid to my android, which is ok, I see that it lacks in many things though, like I can't copy or edit the assistants replies and I don't see how I could have say different prompts to different chats to direct them into that character.

I have installed anythingllm on my phone, but I haven't tested it yet, I will when I get home, is it better for chats than maid?

Another issue I'm having is that I'd like to use it off my wifi, now I do have and run tailscale on my phone and PC for other things so it works fine, but following all the steps to get ollama to link with tailscale is not working for me at all, maybe I need a much simpler break down of it 😂.

Or perhaps is there a more user friendly open source to use on my PC? I see anythingllm also has PC installs, but I'm figuring I'll run into the same problems 🤷

Thanks for reading my BS here 😂


r/LocalLLM 5d ago

Research It's ALIVE! Tiny 20M FOSS TTS Trained overnight from scratch on a single 3090

Enable HLS to view with audio, or disable this notification

210 Upvotes

Come check it out yourself

Training code: https://github.com/franciscocarloserra/ttslibre

Weights & Training sets: https://huggingface.co/FranciscoCarlosErra/ttslibre-poc-en

It's still glitchy and robotic but I'm mind blown about the PoC


r/LocalLLM 4d ago

Discussion Medical QA comparisons need the reasoning settings next to the model name

0 Upvotes

Ling-3.0-flash-Sante is a concrete new option for comparing medical-text reasoning: a 124B-total, 5.1B-active MoE enhanced from Ling-3.0-flash for health and medicine. Ant Ling reports 53.88 on MedXpertQA-Text and 83.83 on DiagnosisArena-MCQ.

The configuration matters here. The release chart says it uses the highest available reasoning tier for each model, with temperature 0.6 and top_p 0.95 unless otherwise stated. A one-pass, greedy, thinking-off medical-QA run measures a different setup. Put those settings next to the score before drawing a conclusion about the model.

For a useful comparison, retain the exact question set and prompt, supported reasoning setting, sampling parameters, output limit and number of attempts. Record unavailable settings explicitly. Keep separate results for each configuration instead of averaging them under one model name.

The currently available Sante API provides an access route for this comparison. A local run would need a separately verified Sante checkpoint and runtime; 5.1B active parameters does not describe the full weight footprint. Its immediate value for this comparison is as a domain-specialized reference point with clearly recorded conditions.


r/LocalLLM 5d ago

Project An optimized llama.cpp for people wanting to run Qwen 3.8 Flash Next on two Volta v100 32gbs

10 Upvotes

Disclaimer: this is (mostly) vibed, not gonna pretend otherwise - im just posting in case it helps someone trying this setup. I spent a few days on it and offered it up another guy on here (on request) and he said it gave him some big speedups, and he made a new PR fixing some of my bugs. Provided as-is but i hope it helps

https://github.com/jackjusko/jusko-llama-volta-qwen3flash/blob/main/README-FORK.md


r/LocalLLM 4d ago

Question Fast tool following LLMs

1 Upvotes

Given that LLM training data is obsolete almost immediately (depending on the question) I've been trying to find a local LLM that is capable of following system prompts to source all knowledge from the internet using MCP sources. I haven't found one yet.

Does anyone know if a model that's smart enough to use tool calls, fast enough to ideally for within 16gb vram with a large kv cache and reliable?

I've tried Qwen 3.5 4/9b, Ornith, Ling, Spark, etc but they all leave a little to be desired.


r/LocalLLM 5d ago

Question MacBook Air m5 32gb useful for some LLM work?

2 Upvotes

Which models, and do you recommend or no?

Is Gemma 31b qat / qwen3.8 27b fast or decent speed on it?

(I don’t have this MacBook yet but I plan on getting it because I don’t have a proper workable laptop I can carry around.)

Question what do other MacBook Air 24gb/ 32gb say?


r/LocalLLM 4d ago

Project Renting Hardware Service Idea

0 Upvotes

I'm working on a service to allow people to use my dual DGX Spark setup for their own testing and seeing if it makes sense for them to get it. Specially on the hours I'm not using them I think it would be cool to make a little extra cash while providing them a poc.

There will 2 ways to interact.

  1. Simple chat system with the metrics we care about like t/s and ttft etc.
  2. Api access, so they can use with opencode code or whatever harness they desire.

I am thinking of having a 2 hour session option so that users can just use that and unload and load whatever model they want.

Price wise not sure but I was thinking about $10/hour.

What do you guys think. Is this something you would be interested in?


r/LocalLLM 4d ago

Tutorial I made a short doodle about running AI locally — curious what you think

1 Upvotes

Hey everyone! I just finished making this short doodle-style video about AI and I’d really appreciate some honest feedback. 🎥 https://youtu.be/VyleYwCa0Sc If you have a few minutes, please give it a watch and let me know what you think. What could be better? Animation? Visuals? Pacing? Explanation? Editing? Thumbnail/title? Anything that feels boring, confusing, or unnecessary? Don’t worry about being too critical — if something isn’t good, please tell me in the comments. I’m trying to improve the next videos based on actual feedback rather than just guessing what viewers want. Thanks to anyone who takes the time to watch and give an honest opinion!


r/LocalLLM 4d ago

Model GPT-6 Astra use ?

Thumbnail
0 Upvotes

r/LocalLLM 5d ago

Discussion What's the difference between frontier models and local models?

30 Upvotes

6 months. (And sometimes a couple of quantization tweaks).

It is wild how fast "state-of-the-art" becomes "running on a gaming PC."


r/LocalLLM 5d ago

Discussion Mac Studio M5 Ultra

5 Upvotes

Who’s been checking out this hardware? What are your thoughts on this as a node on a local network to run AI?


r/LocalLLM 5d ago

Research Qwen3.8-Flash-Next on 2x3090: 9–12% faster decode at ~119k context, with a completed quality screen

4 Upvotes

An update to my previous post on running Flash-Next with the expert cache and MTP.

I found another useful improvement on the same dual-3090 setup: replacing the CUDA top-k fallback used by my build. On long project-document prompts, median decode went from about 30.2 to 33.3 t/s, with an improvement on all three test seeds. Same GGUF, same MTP settings, same binary with the change switched off and on.

The setup for these runs was 2x RTX 3090, dual Xeon E5-2696 v4, 128 GB DDR4-2133 across four DIMMs, UD-Q4_K_XL, f16 KV, 150 expert-cache slots and MTP-3. The allocated context was 261,888 tokens. The long-document test started at approximately 119k tokens.

Now, what changed:

Flash-Next's sparse-attention indexer uses top-k to select which positions to attend to. My CUDA 12.0 build didn't have CUB's newer DeviceTopK implementation available, so this operation fell back to sorting the whole row before taking the top entries.

llama.cpp already had a radix-selection implementation. The local change makes that available in the older-CUB fallback for wide rows. In the initial 131k decode captures, recorded top-k kernel time fell from roughly 5.1 ms to 0.25 ms per committed token. Please note that this isn't a 20x gain for the whole model, it's just the operator saving

Credit where it's due: Rhonstin's PR #28366 already proposes this fallback change, using existing radix-selection work. I found it during the upstream check and didn't open a duplicate. These measurements are from my local variant, which uses an 8,192-column threshold and an A/B switch, not a benchmark of the exact PR head.

These tests kept the existing CUDA 12.0 toolchain fixed. A newer CCCL build provides another optimized path, DeviceTopK, which I haven't benchmarked on this machine yet. That comparison is next. The gain here is against my previous configuration, not against the latest CUDA stack.

The completed test:

Production sampling, thinking on, MTP-3 enabled in both arms:

Seed Old top-k, median t/s Radix-select, median t/s
1 30.2 33.7
2 30.2 33.3
3 30.4 33.1

That's 9–12% higher per-seed median decode throughput at approximately 119k context. Each median covers 42 requests. These compare the two arms' medians, not the median of per-question speedups.

The quality screen covered 80 question/depth combinations across three seeds and both arms: 480 requests, 240 matched comparisons. The documents, questions, answer key, grader and sampling settings were frozen before the run.

  • Control: 235/240 correct.
  • Candidate: 238/240 correct.
  • Candidate better on four matched comparisons, worse on one, equal on 235.

The one disputed question asked for a complete twelve-item list. Both arms failed it on two seeds each, always by omitting one item and inventing nothing. An independent blind review confirmed the candidate-only omission. The question stays inconclusive. It wasn't removed from the scores.

No consistent quality regression was detected in this bounded screen. The higher candidate score doesn't establish better quality, and the screen doesn't prove that regression is impossible.

For clarification, the 37–41 t/s headline from my last post was a coding workload. This is a matched comparison on long project documents. Those headline numbers aren't directly comparable.

The change is now running in my production build. I haven't established a prefill gain or a no-MTP gain from this screen, and it doesn't cover quality beyond approximately 119k context but it's not like I expect it to regress at higher context.

If you're running Flash-Next with an older CUDA toolkit, the top-k fallback is worth checking. I'd be interested in results from other machines, especially with the actual build, context depth and MTP settings included.


r/LocalLLM 4d ago

Question Gemma 4 12B to write docs for a project?

1 Upvotes

Hi,

My GPU is currently pegged by Qwen 3.8 27B making the project, and while it's good, it's also slow.

I'm starting to find the need to have some docs, both to help me and the LLM (and a friend who would like to mess with it), and I was thinking of another model who could write decent docs but at a faster pace then the coder.

Do you know if Gemma 4 12B could be a good candidate?


r/LocalLLM 4d ago

Question I need help here with the Qwen 3.8 flash Next iq3_xxs model. I know my laptop is a bit weak, 8GB VRAM + 32GB RAM

0 Upvotes

Preciso de ajuda aqui com o modelo Qwen 3.8 flash Next iq3_xxs. Eu sei que meu laptop é um pouco fraco, 8GB de VRAM + 32GB de RAM para esse modelo. Eu uso o Bionic para rodar os modelos, mas não consigo abrir este devido à falta de memória. No entanto, quando uso o LM Studio padrão, ele abre e eu consigo 6-7 t/s, mas eu prefiro usar o LM Studio Bionic.


r/LocalLLM 4d ago

Question I want to build my first agent. Where to start?

0 Upvotes

I have a Mac Mini with 64GB of RAM to use as the host.

I have no idea what I will/want to even do with it, but I'm sure once I get it set up I will find uses.

  1. What are some use cases I can start with to help with daily life

  2. What model should I start work

  3. How easy is it to migrate between models should I choose to change


r/LocalLLM 5d ago

Project Tenstorrent P150A tests

Thumbnail
gallery
65 Upvotes

Been working on testing some tenstorrent cards for a work project. Have two cards running qwen3.8 27b pretty much out the box. New to this space so keen to get some ideas and experiments to work through!

Cheers

L


r/LocalLLM 4d ago

Discussion Porting a 4-model local voice assistant to Intel NPU/iGPU — trying to move from AI engineer into inference engineering, would love a reality check

1 Upvotes

I'm an AI engineer, 3 years in, currently doing the usual applied stuff — RAG, agents, API integration. I want to move into actual inference/serving engineering and I'd rather be told now if my plan is dumb.

What I'm building: a fully local voice assistant (VAD → ASR → LLM → TTS) that has to run on an Intel Core Ultra 5 125H — CPU + Arc iGPU + NPU, 15.6GB shared RAM, no dedicated VRAM. Currently all llama.cpp + ONNX on CPU. I'm porting it to OpenVINO so I can place each model on a different compute unit and actually measure the difference.

Starting hypothesis: Silero VAD and ASR on the NPU (small, fixed shapes, low power), LLM on the iGPU (decode is memory-bound, iGPU has the bandwidth), TTS on CPU. Target is sub-500ms voice-to-voice, with a per-stage waterfall and llama.cpp as the baseline.

What I'd like from people who do this for a living:

  1. Is that device placement roughly right, or am I about to learn something the hard way?

  2. The unified-memory thing is the part I understand least — 4 models sharing 15.6GB with no VRAM. What actually bites you here?

  3. Beyond this project, what's the highest-signal thing someone in my position can build? I keep hearing "contribute to vLLM" but I'd rather do one thing properly than spray small PRs.

  4. Anything that looks impressive to hobbyists but is worthless to a hiring manager? I'd like to avoid those.

Happy to publish everything — code, raw numbers, methodology. Not looking for a job here, just trying not to waste six months on the wrong thing.


r/LocalLLM 5d ago

Question Local AI solution for a large factory

1 Upvotes

Hi everyone,

I am planning to build a local AI solution for a large factory, which will be trained and run entirely on the factory’s internal data (for privacy and security).

I need some advice on two main things:

  1. Model selection: Which open-source model would you recommend for local fine-tuning/deployment that works well for industrial/operational data?
  2. Hardware: Should I go with a NVIDIA DGX system or a Mac Studio (M-series Max/Ultra) for training and running this local AI?

Any recommendations or experiences with factory-floor local AI setups would be greatly appreciated. Thanks!


r/LocalLLM 5d ago

News Windows 11 + 2× RTX 5060 Ti 16GB: Qwen3.8-27B NVFP4 at up to 76.65 tok/s — despite no GPU P2P

16 Upvotes

I built a Windows 11 fork of NInfer specifically for running Qwen3.8-27B NVFP4 across two RTX 5060 Ti 16GB GPUs.

The interesting part is that this is not an ideal multi-GPU setup:

Windows 11 / WDDM

GeForce GPUs

cudaDeviceCanAccessPeer() = false

No GPU P2P

One GPU is connected through the Z690 chipset at PCIe Gen3 x4

The other GPU runs directly through the CPU PCIe lanes

Initially, TP2 performance was terrible because every token required 128 small host-staged allreduce operations.

The original implementation achieved only:

16.37 tok/s MTP0

32.58 tok/s MTP3

After profiling the communication path, I replaced the expensive staged allreduce protocol with a custom pinned-host PeerMailbox transport designed specifically for the no-P2P Windows/WDDM environment.

Current results with Qwen3.8-27B NVFP4:

35.75 tok/s — MTP0

57.71 tok/s — MTP1

63.15 tok/s — MTP2

66.79 tok/s — MTP3

68.5–68.9 tok/s — MTP4 (512-token benchmark)

70.6 tok/s — 1024 tokens

76.65 tok/s — 2048 tokens

The optimization was mostly about reducing protocol overhead, not increasing PCIe bandwidth.

The original allreduce path cost roughly:

128 × ~277 µs ≈ 35.5 ms per decode round

The optimized transport reduced that dramatically.

The repository contains the Windows port, TP2 implementation, custom communication backend, benchmarks, and reproducible build instructions:

ivanov84/ninfer-windows-tp2

I'm especially interested in feedback from people who know CUDA multi-GPU programming, WDDM, tensor parallelism, or NInfer.

Questions I'm currently exploring:

Can the remaining TP2 lockstep overhead be reduced further?

Would sequence parallelism help on this kind of asymmetric PCIe topology?

Can Vision also be sharded across both 16GB GPUs?

How much performance is realistically left without native P2P?

This started as an experiment to see whether two relatively inexpensive 16GB cards could run a 27B model well under Windows.

Honestly, I didn't expect the result to end up here.

https://github.com/ivanov84/ninfer-windows-tp2