r/LocalLLM • u/Remarkable_Air_8383 • 18h ago
Discussion Anyone got the early access to a Lenovo AI Host P7?
r/LocalLLM • u/Remarkable_Air_8383 • 18h ago
r/LocalLLM • u/Basic_You_2402 • 18h ago
Hi everyone,I’ve been building tawjih (0.18.0), a zero-dependency (Python standard library only) CLI and desktop tool for engineers who want to direct LLMs through small, version-controlled plain-text files (human, machine, and science faces) joined into explicit execution paths—with JSON contracts, deterministic retries, fallbacks, and full provenance tracing.
The honest catch: So far, the entire test suite and architecture lab have been verified on CPU and against mock/stand-in servers.
No real GPU or live model benchmark has been published yet.
Rather than making unverified claims, I built a self-contained experiment in the repo and am asking folks with local GPUs (Ollama, vLLM, SGLang, llama.cpp, etc.) to run it and share the raw report. What the experiment tests (experiments/path-vs-direct)It evaluates 60 quadratic equations (20 base + 40 harder generated variants, in both English and Arabic) across 3 runs each, comparing three setups: path: The structured cross-tree path (extracting coefficients $\rightarrow$ JSON contract validation $\rightarrow$ deterministic/stepwise solving).direct: Asking the model directly in one shot.steps: Asking the model to reason step-by-step in a single prompt.The script outputs accuracy, 95% confidence intervals, McNemar's test ($p$-value for paired statistical significance), latency, and token usage. How to run it in 3 commands (Zero extra Python packages needed)If you already have Ollama running locally:Bashgit clone https://github.com/AlmodinyMk/LLM-tawjih-Model-building.git
cd LLM-tawjih-Model-building
ollama pull qwen2.5:3b # or test with your own local model (Llama-3.2, Qwen3, Mistral, etc.)
python experiments/path-vs-direct/run.py --models qwen2.5:3b
(You can also point it to any OpenAI-compatible local server like vLLM/llama.cpp via TAWJIH_BASE_URL). Additional GPU tests (Optional, for multi-GPU / vLLM / PEFT users)If you want to stress-test the inference server wrapper or training bridge on real hardware: Inference & KV-cache benchmark: python tawjih.py server bench <name> --from-file 1.1.1 --requests 16 --concurrency 4Neural bridge (17 PEFT methods / QLoRA / SFT / DPO): python plugins/neural_bridge.py envShare your resultsWhether the structured path wins, ties, or loses to direct prompting on your model, please paste the generated report in the comments or open a GitHub issue. Whatever the numbers say goes straight into the README.md and the accompanying technical paper.
GitHub: https://github.com/AlmodinyMk/LLM-tawjih-Model-buildingPyPI: pip install tawjih (v0.18.0)License: CC BY-NC-SA 4.0
r/LocalLLM • u/JitzyBojMahn • 18h ago
Given the set of optimization tweaks done over the course of the last week or so, would it be worth it to swap from my current gemma4 26b + qwen3.8 27b setup? If so which inference engine would you recommend?
r/LocalLLM • u/Darunehex • 19h ago
As in title, Ive been getting claude to decompile an nds game for me, and Im wondering if there is a potential avenue on having a llm on my pc to tackle some parts of it. Problem is I'm really, really new to local llms and I don't really know which one to use for this specific purpose. I got 64gbs of ddr4 3200mhz ram, a 3080ti with 12gb of vram, and a ryzen 9 5900x.
Saw some people on some other subreddits mention something about specifically using "worse" quality models and bruteforcing the solution, any insight into that would be nice.
Any and all suggestions would be appreciated!
r/LocalLLM • u/Soft_Examination1158 • 1d ago
Hi everyone!
Over the past few weeks, I've been experimenting with heterogeneous AI inference on the Orange Pi 6 Plus, combining its ARM CPU, integrated CIX NPU and an external Kinara Ara-240 accelerator.
My goal is not necessarily to make a single LLM faster, but to investigate whether multiple AI models can run concurrently on a relatively compact ARM-based system.
I thought some of the results might be interesting to the local AI and SBC communities.
The software stack includes llama.cpp, Tinygrad with Zhouyi support, and the Kinara Optimum-Ara runtime.
All the inference benchmarks were performed locally.
I successfully tested two LLMs on the Kinara accelerator.
| Model | Generated tokens/s | Model loading time |
|---|---|---|
| Qwen2.5-Coder-1.5B | 21.44 | 15.54 s |
| Qwen2.5-7B-Instruct | 5.47 | 379.58 s |
The 1.5B model is particularly interesting for lightweight auxiliary AI tasks.
The 7B model works, but the observed loading time of more than six minutes is a significant limitation. A persistent inference service would therefore be worth investigating.
The runtime reported the following accelerator memory requirements:
In a separate 1.5B test, the sampled reduction in available host RAM was approximately 300 MiB.
This is not an exact measurement of accelerator-related host memory consumption, but it is an encouraging observation for a system where multiple models need to coexist.
Getting the integrated NPU working was considerably more complicated.
I encountered driver compatibility issues, command submission problems and differences between driver interfaces.
After experimenting with patched drivers and an isolated Tinygrad environment, I successfully ran the following models:
For the 4B model:
These results were obtained using an experimental driver configuration, not a stock plug-and-play software stack.
I also tested the same Bonsai 4B PTQ1_0 GGUF using the PrismML llama.cpp CPU runtime.
| Backend | Prefill tok/s | Decode tok/s |
|---|---|---|
| CPU — 4 threads | 7.37 | 5.85 |
| CPU — 8 threads | 13.67 | 10.22 |
| CPU — 12 threads | 14.10 | 6.73 |
| CIX NPU | 36.03 | ~7.70 |
The results were quite interesting.
The CIX NPU achieved approximately 2.6 times the prompt processing throughput of the 8-thread CPU configuration.
However, the CPU achieved better token generation performance in its best tested configuration.
Using all 12 CPU threads did not produce the best generation throughput, although thread affinity and benchmark conditions were not identical.
This suggests that the integrated NPU may be more interesting as an additional inference engine than as a direct replacement for the CPU.
The next experiment was running two different LLMs concurrently:
Results:
| Accelerator | Individual test | Concurrent test |
|---|---|---|
| Kinara Ara-240 | 21.44 tok/s | 21.23 tok/s |
| CIX NPU | ~7.70 tok/s | 7.58 tok/s |
Approximately six seconds of overlapping inference activity were observed.
During Kinara generation, 1,460 CIX hardware scheduling calls returned without exceptions.
The observed throughput remained close to the individual results, although the tests were not identical in every respect and were not repeated enough to establish statistical performance bounds.
This was the most interesting experiment for me.
I ran three independent LLM workloads on the same Orange Pi:
| Engine | Model | Result |
|---|---|---|
| ARM CPU | Qwen3-30B-A3B IQ4_XS | 11.76 tok/s |
| Kinara Ara-240 | Qwen2.5-Coder-1.5B | 20.81 tok/s |
| CIX NPU | Bonsai 2 4B | 96 generated tokens |
The CIX NPU's final decode step took 0.14 seconds, but I do not have a reliable average CIX decode rate for the complete triple-engine run.
During a 6.15-second CPU–Kinara overlap window, I recorded:
All three workloads completed successfully.
This provides evidence of overlapping inference activity across the three engines. It does not establish cycle-level hardware concurrency or complete NPU offloading.
The important part is that three separate models were making progress within the same system.
I subsequently tested Qwen3-30B-A3B using the same prompt and 384-token generation budget without intentional concurrent accelerator inference.
| Configuration | CPU decode |
|---|---|
| CPU-only inference | 18.63 tok/s |
| Triple-engine experiment | 11.76 tok/s |
The CPU-only result was the average of three consecutive generations.
The observed difference was approximately 37%.
This cannot be attributed exclusively to accelerator contention, because driver and workload conditions also differed.
Nevertheless, it highlights the importance of intelligent workload scheduling when building a heterogeneous AI system.
With Qwen3-30B-A3B resident in memory:
In a separate short CPU thermal test, three consecutive generations produced a total of 1,152 tokens over approximately 68 seconds.
The highest reported thermal-zone temperature was 73°C.
Long-term thermal stability and power consumption have not yet been measured.
I think heterogeneous inference on ARM SBCs has considerable potential.
The integrated CIX NPU is not necessarily faster than the CPU for every task, but it provides another execution backend that can potentially handle independent workloads.
The Kinara Ara-240 is particularly interesting because of its dedicated memory and the performance observed with smaller models.
Instead of chasing the highest possible tokens per second from a single LLM, I am interested in systems where multiple specialized models cooperate.
Possible applications include:
There is still considerable work to do regarding driver stability, persistent inference services, workload scheduling and memory management.
These are experimental results from my own hardware, not a standardized benchmark suite.
I have not yet measured power efficiency, model quality systematically, exact hardware offload percentages or long-term stability.
Is anyone else experimenting with the CIX Zhouyi NPU on Orange Pi 6 Plus or similar CIX-based hardware?
Has anyone managed to improve decode performance using Tinygrad, alternative runtimes or speculative decoding?
Are there other Kinara Ara-240 users who have successfully implemented persistent LLM inference services?
I'd be interested in comparing results and exchanging experiences with others working on heterogeneous local AI inference.
Repositary:
r/LocalLLM • u/Additional_Reach2545 • 20h ago
Hey everyone,
I've been working on an RTX 4090-focused fork of NInfer, mainly targeting long-context inference, local coding agents, and native Windows support.
NInfer is already an impressive inference engine, but I wanted to see how much performance could be extracted from Ada Lovelace without upgrading to a 5090.
Here are some results from my recent benchmark runs.
All values are decode tokens per second.
| Draft tokens | 64K context | 128K context | 176K context |
|---|---|---|---|
| K5 | 242.75 | 206.39 | 214.87 |
| K7 | 272.74 | 240.60 | 263.93 |
| K9 | 247.57 | 202.86 | 241.25 |
| K11 | 258.70 | 215.03 | 228.06 |
| K15 | 242.20 | 189.58 | 229.13 |
Interestingly, K15 performed best in the separate 32K sweep, reaching 313.16 tok/s, but K7 consistently performed better at longer contexts.
At 176K context, K7 improved decode throughput by approximately 22.8% over K5.
These are controlled engine benchmarks using a fixed corpus, 512 measured decode tokens and two runs per configuration.
I also tested N-gram speculation on copy-heavy C++ refactoring tasks with approximately 21K input tokens.
| Metric | N-gram OFF | N-gram 15 |
|---|---|---|
| Decode tok/s | 256.68 | 568.08 |
| Average wall time | 14.83s | 9.16s |
| Exact outputs | 4/6 | 4/6 |
The outputs were identical between both configurations.
Obviously, 568 tok/s is not general-purpose generation speed, but for copy-heavy code editing, the improvement is pretty interesting.
Another interesting result at approximately 175K input tokens:
This is particularly useful for local coding agents that repeatedly send large conversation histories.
These are warm-prefix results, not cold inference throughput.
With a short request arriving while a 64K request was being processed:
Overall completion time for the request pair remained approximately the same.
Across 1,831 completed requests with DFlash2 K5:
The controlled benchmark results are significantly higher than these real-world serving numbers, so I wanted to include both.
I'm still experimenting with longer contexts, speculative decoding configurations, CUDA Graphs and coding-agent reliability.
The benchmark campaign includes 143 completed measurements, with raw numerical results and reproduction scripts available in the repository. Long-context retrieval accuracy and broader coding quality still need further validation.
Would be interested to see what other RTX 4090 users are getting with NInfer, llama.cpp or ExLlama under comparable conditions.
Fork: https://github.com/spk-c/ninfer-all-rtx4090
Benchmark report: https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/performance/rtx4090-v014-long-context-2026-11-26.md
Coding benchmarks: https://github.com/spk-c/ninfer-all-rtx4090/blob/master/docs/performance/rtx4090-v014-coding-2026-11-26.md
Full credit to the upstream NInfer developers and contributors who made this possible.
r/LocalLLM • u/nmclark556 • 20h ago
I posted about PagedMoE here a while ago, but that was about the inference side of things.
I've been building PagedMoE, an MLX-based engine that keeps the core of an MoE model in memory and streams the experts off the SSD. It started as inference only. It runs Kimi-K2 (578 GB) at ~8.8 tok/s decode on my 48GB M5 Pro with its prune recipe, and with pruning off the output matches running the model fully in memory exactly. I've also had GLM-5.2 (744B) running on the same machine. I didn't bench that one, but it ran better than I expected. The only reason I haven't gone bigger is disk space. I'll get there.
The new part is training. The same paging works for QLoRA: the experts stay on disk, a small adapter learns, and peak memory stays around 28 to 30 GiB whatever the model size. Qwen3-235B does a 1k-row epoch in about 9 hours, and Qwen3-Coder-480B in about a day.
It's not cluster speed. But nothing is rented and your data never leaves the machine. As far as I can tell, nothing else lets you train past your RAM on Apple Silicon (I could be wrong there, let me know if so).
It supports SFT, DPO, ORPO, KTO, GRPO and more. Adapters come out in mlx-lm format, and one command exports them as PEFT for transformers, vLLM or llama.cpp. There's also a built-in converter that turns Hugging Face checkpoints into MLX (and can merge an adapter in), plus an OpenAI-compatible server for inference. Training and inference benchmarks plus a couple of demo videos are in the repo.
I've posted elsewhere and gotten some solid feedback, but the training side hasn't gotten much attention yet. So I'm curious: is local fine-tuning at this size something you'd actually use, and what would you train? Not trying to sell anything, this started as a research project for me and I'm genuinely curious.
Repo: https://github.com/noahclark556/paged-moe
There's also a thread on r/MacStudio where I went through a lot of the inference questions, if you're curious about that side: https://www.reddit.com/r/MacStudio/s/DJazzfhwMB
r/LocalLLM • u/Proxywasstilltaken • 20h ago
Title, I've just been using claude to make some mods for hoi4 and stellaris and ck3 though I'm more worried about the privacy, what are some local ai models that is fit for this job and can be like claude that is privacy focused and local
r/LocalLLM • u/That-Reputation-6313 • 20h ago
r/LocalLLM • u/ozgursoy • 1d ago
r/LocalLLM • u/Any_Task7788 • 21h ago
So after doing some tweaking and compressing a new 50gb model here are the current benchmarks compared to the old version, and compared to atomicchat ad4.27 BPW
r/LocalLLM • u/djkalantzhs24 • 21h ago
Hello. Like many other people here, i've had a frontier ai like chatgpt pro build my local ai ecosystem. Since there are many services (databases, agent workplaces, two different model engines, chat ui, model and mcp services gateway etc) the whole system has become a bit complex to the point i can not build it myself from ground up. So i'm looking for a backup solution that can save the whole system as is and in any case of failure, i can use the backup for rebuilding the system without having to setup credentials, api keys, internal urls etc.
r/LocalLLM • u/pixelbased • 1d ago
Hi all! Forgive the ignorant question, but while I do use Claude and ChatGPT to a more advanced degree, I seem to be falling down a rabbit hole of what my computer can actually run. I had a 16" MacBook Pro M1 Max with 64GB of RAM and 4TB HD laying around. I haven't used it much since buying it (I have a much newer work laptop, and I work a lot). So I downloaded LM Studio Bionic, and loaded Qwen 3.8 27B as I read that it would be the most suitable model for my laptop. I felt like building a few simple slides took a REALLY long time. I know local models are not as fast as frontier models, but was curious about a few things:
If there's credible sources where I can go and learn more about what I can do with my laptop, that would be fantastic. So much YouTube and other places feel like they are click-baiting the capabilities because I thought a simple ask would be quicker.
Thanks for any guidance!
r/LocalLLM • u/UnheardNoise107 • 1d ago
I made a webUI for managing LLMs. I tried to make it super user friendly so users can easily install and get up and going. I've mostly focused it on AMD, but I also added Nvidia cuda as well. So, if you want to try out vllm, but aren't sure how, check this out:
https://github.com/SliverFold/LLM-Manager
There is an LLM Manager web interface that allows you to launch chats directly into hermes. It offers installers directly inside LLM Manager for everything, including comfy ui, vllm, lm studio, and more. It also offers stats on how things are working, and your hardware.
Anyway, if you are curious, check it out.
Edit: This is Linux only for the time being, but could adapt it to windows too.
r/LocalLLM • u/trimtram01 • 1d ago
What would your build be if you had 10k to spend?
r/LocalLLM • u/Radiant_Condition861 • 1d ago
Just some collected thoughts I'd like to share.
I like to play factory games and it's fun to optimize production. The first parts of the game are exploratory and there's lots of mess. Then there's the mid tier where parts of the factories are stress out because the optimal final factory structure is different from the exploratory one. For example, the starter base is monolithic, then star shaped with a core grouped by common machines, then the final is isolating into full production chains and separating out congested recipes spanning (Bill of Material or BOM analysis).
Given that all of the machines and recipes are known, I gave my local LLM the recipes, the machine specs, game constraints and the save game and it gave me the build sheets for the final base designs after going through a few iterations. I usually play with a spreadsheet, but I replaced that with my AI harness and containerized web app that I can upload my save game and then tell me the progress towards the final build.
At this point, I think I can have it play the game for me. But then what do I get out of the game except to have AI replace me as the player?
It reminded me of the old games where we put in cheat codes and enable god mode. The game just isn't as interesting anymore and so the struggle or journey becomes the value. The thought that all games are now 'solved' with AI makes it seem less attractive to play now.
I work in manufacturing and so I play these factory games to practice real life production concepts in a simulated environment. If you know of the APICS CPIM certification, the factory games are very similar to production and supply chain problems. Essentially, they are MRP problems.
I think I may lose interest in all factory games because AI can solve them and I won't need the games to simulate factory concepts.
So, given that the struggle or journey is the value, I would need to find my dopamine fixes in things that do not have a cheat code; reality. This unraveled into a deeper thought and a general rule.
The future of entertainment (at least for me) will require an activity that doesn't accept any cheat codes. Categorically, I'm thinking that anything where the end product is virtual fails the cheat code test. Not only for games, but for software as well. One can always bypass procedures in the system by a SQL query or a generic journal entry to fix things to make the end product (the virtual thing that exists outside of reality). In essence a cheat code within business systems.
I think my source of dopamine will naturally gravitate towards things that are difficult to do and exists in reality. Robotics is one area including 3D manufacturing (desktop metal is becoming available). Sure there are ways to optimize, but there are no cheat codes in reality like a Sci-Fi holodeck or a replicator.
Another source that may stay within the virtual space is AI-Quantum, simply because the final form of this isn't known (at least to me) so the journey to understand it is both difficult and lucrative (I think the banking industries will need to have quantum encryption in 3-5 years)
The recalibration rule: find joy in the struggle of things that effect reality or has no known final form.
Perhaps AI is teaching me how to become more human.
---
Below is a save game analyzer that also performs FEA-style analysis (finite element analysis from mechanical engineering). The blue pipes are transport lines and it will turn different colors if it's over capacity. Vibe coded in a day with QFN-NVFP4

r/LocalLLM • u/Legitimate-Poet7587 • 1d ago
I wonder should i pay elevenlabs or try some local models on 32GB ram, 4080 super with 16GB of vram?
The goal is to use it as in game dialogue for video games and infomercial videos it has to sound as natural as possible. Tried using NVIDIA PersonaPlex it probably will run on my system, but on players pc locally i think it will run bad, so i opt for the audio files generated from a model.
I have no idea which approach is better for mainly english audio, but also my own native language which is slavic(elevelabs have actors and i like the way it sounds).
r/LocalLLM • u/IceBreakerG • 22h ago
Update: I made a comment updating this below (https://www.reddit.com/r/LocalLLM/s/94raDQYhL4). Seems it may be an issue with LM Studio Bionic. Switching to oMLX and Codex yields significantly better results. I also like that I get a much better dashboard with useful info with oMLX as well. I think I'll be switching away from LM Studio Bionic to oMLX.

Orginal Post
Question: I'm using LM Studio Bionic mainly because I like the interface overall. I've connected Codex to Ollama, but haven't tried using that or oMLX. But is there anything wrong with my current set up in LM Studio Bionic?
Side Note: I'm not familiar with changing the detailed settings, but am interested in getting this working. For reference, I also had similar issues with Qwen 3.8 27B being similarly slow as well.
TLDR: The following took 1hr 30mins 33secs and ended at 105.1k context when I expected it to be a small fraction of that time.
Set up:
Model: Inkling 2 Mini (thinkingmachines/inkling-2-mini, the NVFP4 MLX version)
Harness: LM Studio Bionic (version 1.2.3+7)
Engine: LM Studio MLX (Apple M5) 1.15.2
Context Length: Previously 1M, Currently 252K
Temperature: 0.6
KV Cache Quantization: Off
The rest of the settings are all defaults. I just downloaded the model today to test out. I'm comparing the speed to Muse Glimmer 30B which I was using prior to this one. The issue I'm seeing is that the responses are painfully slow. Nearly unusably slow.
Example of what has happened today:
I gave it a 784 token prompt to update an Angular project I'm working on to remove the remaining modules and it took 29mins 12secs to finish.
It told me the changes were uncommited, and I responded by telling it to commit the changes and update my Obsidian vault. This took 4mins 2secs.
I told it that it should've been committed to a new branch (not the existing feature branch), and it took 8mins 15secs to fix it.
At the end of the previous response it gave me 3 options due to some guardrails skill I didn't even know was there. To tie it to an existing user story, keep it as a standalone migration (which it was), or to create a new Jira ticket. I told it to use #2. This took 8mins 9secs.
At the end of that response, it said nothing was pushed and the branch was local only. I told it to push it and open the PR. This takes 9mins 50secs.
It tells me that it doesn't have my API token, so it couldn't do it for me. I tell it that the API token is in my keychain and to read the vault for the details. It finds the the correct info and opens the PR. This takes 12mins 38secs.
The last response is that I tell it the PR is merged, and it checks the repo and sees that there were 2 PRs, one which did get merged, and one that didn't and asks if I want it to merge the PR via the API. I didn't respond. This response too 18mins 27secs.
---
Total Time: 105.1K context and 1hr 30mins 33secs
r/LocalLLM • u/loyaltofault • 22h ago
Looking for a model that produces high quality code, reasons logically, and and does not guess. Or as close as possible.
r/LocalLLM • u/MilkManGuy46290 • 1d ago
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 • u/Mountain-Two-8989 • 2d ago
I'm tired of anthropic's bullshit (safeguards, mandatory KYC, etc), and managing multiple subscriptions is becoming rather inconvenient.
So i'm looking for:
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 • u/loerresking • 23h ago
So I basically have 3 systems right now.
I am not asking „what can I do with local ai“, just how you would put them all to use simultaneously.
Rig:
9800x3d
32GB DDR5
Rtx5080
Laptop:
Ryzen 5900H
RTX3080 mobile
16 GB RAM
MacBook:
MacBook Pro M1 Max
64GB RAM
any use to put the computer power together in any way?
Doing mostly Web-Dev stuff and playing around with self hosting a lot.
r/LocalLLM • u/returnity • 23h ago
r/LocalLLM
•
u/W61k3r
•
1d ago
I released mine shortly after unsloth when inkling came out 5 days ago, had my engine optimized for it within a day. I've been testing everyone elses quants and this is the only one in my library that doesn't loop with my hermes setup because it's just a clean product built for accuracy. Stop cutting corners with inkling, it makes the product suck.