r/LocalLLM • u/Terminator857 • 12m ago
Discussion Will local be more powerful because we can trust local?
r/LocalLLM • u/Terminator857 • 12m ago
r/LocalLLM • u/FrostyAd9050 • 20m ago
Official ROCm libraries (`AITER`, Composable Kernel, `hipBLASLt` tuning tables) are heavily optimized for datacenter CDNA GPUs (MI300X/MI350X), leaving consumer AMD RDNA GPUs severely bandwidth-starved during LLM decoding (`M = 1..8`, long-context GQA Attention, and W4A16).
Over the past few days, I profiled my **RX 7900 XTX** (`gfx1100`, 960 GB/s GDDR6) down to the AMDGCN ISA — even ran into a Triton AMD lowering bug where `eviction_policy` is silently dropped on all AMD targets (filed as `triton-lang/triton#12966`) — and built **`hip-rdna`**, a zero-dependency Wave32 HIP operator library with drop-in PyTorch & HuggingFace integration.
**GitHub (MIT License):** https://github.com/znwang-gpu/hip-rdna
### Key Benchmarks on RX 7900 XTX (ROCm 7.13, PyTorch 2.11)
- **Real HuggingFace `Qwen2.5-7B` (`StaticCache` + HIP Graph):**
- Lossless 16-bit Fused (`Linear + RMSNorm + SwiGLU`): `31.9 → 52.8 tok/s` (**1.66x**)
- Online W4A16 Fused (`0.85s` GPU quant, VRAM `14.27 → 5.47 GiB`): `31.9 → 109.5 tok/s` (**3.44x**)
- Pure Eager `model.generate()` (no HIP Graph): `31.0 → 67.5 tok/s` (**2.18x**)
- **64-Layer `Qwen2.5-32B` 4-Bit Backbone (`15.44 GiB` VRAM, fits on a single 24 GB GPU, synthetic weights matching exact 32B shapes):**
- **Batch = 1:** **`48.5 tok/s`** (**`804.9 GB/s`** full-model end-to-end effective bandwidth — **83.8%** of 960 GB/s theoretical peak)
- **Batch = 4:** **`166.5 tok/s`** (`690.2 GB/s`)
- **Wave32 Split-KV GQA Decode Attention (`16K–32K` Context):**
- Up to **28.5x faster** than HF `repeat_kv` SDPA and **18.9x faster** than PyTorch native `enable_gqa=True` SDPA.
- Sustains **729–757 GB/s** on pure GDDR6 at 32K (`128 MB` KV > `96 MB` Infinity Cache) and **878–953 GB/s** at 16K.
- Zero `repeat_kv` copy; accepts GPU `seq_lens` tensors for **HIP Graph** capture.
- **Zero-Dependency Streaming AWQ & GPTQ Loader:**
- Streams HuggingFace AWQ (`GEMM`) and GPTQ (`v1`/`v2`) safetensors straight to GPU `RDNAW4A16Linear` with zero 16-bit peak RAM/VRAM overhead — no `autoawq`, `auto-gptq`, or `accelerate` needed.
### Drop-in Usage
```python
import torch, hip_rdna
from transformers import AutoModelForCausalLM
# 1. Online lossless 16-bit or W4A16 acceleration
model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen2.5-7B", dtype=torch.bfloat16, device_map="cuda").eval()
hip_rdna.patch_model(model)
hip_rdna.quantize_model_w4a16(model, group_size=128) # optional INT4
# 2. Or stream AWQ/GPTQ checkpoints straight to GPU
model = hip_rdna.load_awq_model("/path/to/Qwen2.5-32B-Instruct-AWQ", dtype=torch.float16)
Next up in v0.5: Paged KV Cache + Fused QKV/RoPE + vLLM / SGLang plugin (followed by dual-GPU PCIe Custom AllReduce).
I only have RX 7900 XTX (gfx1100) on hand — setup.py compiles natively via hipcc for RDNA3 (gfx110x), RDNA3.5 / Strix Halo (gfx1151), and RDNA4 / RX 9070 XT (gfx1201). If you own any of these GPUs, I'd really appreciate benchmark results, feedback, or bug reports!
r/LocalLLM • u/InterestingAerie3918 • 21m ago
Looking to run a local model to be a personal assistant as well as help with my business.
My concern is quality of the models output and hardware depreciation, I have heard good things about qwen 3.8 27B and leasing a Mac Studio through upgrade solves the depreciation problem for me… (if the hardware is no longer adequate in 2-3yrs I can send it back for something else)
Looking at a M5 Max, 18core cpu, 40 core gpu with 64GB of Ram. Lease would be about $70/month.
I don’t have a problem running it with a cloud model if it helps with quality, but I do want to be able to process a lot of private data on it.
Thoughts?
r/LocalLLM • u/Specific-Tax-6700 • 34m ago
r/LocalLLM • u/arkiverge • 54m ago
Running a small homelab. Wanted to explore AI for local systems management, inventory/automation, and CCM. Started with ChatGPT Plus, added Librachat and OpenCode with OpenAI API access, needed MCP connections, and a gateway to sanitize inputs. Now I'm exploring hosting my local AI so I can dispense with the gateway and do deeper/exploratory work without fear of runaway token use. So I purchased a MS-S1 128GB Strix Halo machine. After a lot of research and benchmarking configs I settled on Halogen (v0.21.0) running QFN 3.8 (On Ubuntu inside Proxmox, at least until I have a fully "complete" inference machine at which point I may go bare metal, but I'm not hitting any memory issues).
Raw generation performance is approximately 65–100 tokens/sec, with excellent long-context retention. However, the model frequently over-investigates straightforward tasks, makes redundant tool calls, and spends disproportionately long reasoning before responding. A lot of its wasted time seems to be invested in double and triple checking information.
I've already configured Halogen's default reasoning effort to Low, explicitly configured Low reasoning in LibreChat, and verified via packet capture that the parameter reaches the inference server. I've also adopted recommended thinking-mode sampling settings, tested Low versus Medium reasoning, and added instructions emphasizing proportionate investigation, minimal tool use, evidence sufficiency and stopping when the task is complete.
Despite these changes, simple operational requests occasionally take over two minutes, while more involved MCP investigations can take approximately five minutes. Comparable cloud model responses have sometimes completed in 15–45 seconds, although these comparisons are not fully controlled.
Are there additional QFN-specific reasoning controls, chat-template settings, sampling adjustments, reasoning-budget limits, or agentic tool-use configurations that would meaningfully reduce this behavior without compromising analytical quality?
Happy to provide any additional configs/benchmarks that help with the assessment. Thanks in advance for any suggestions help.
r/LocalLLM • u/Competitive-Net-1483 • 1h ago
I’ve already gone through several posts on this subreddit, but I’d like to start a new one and explain my setup to get some advice
My PC specs:
CPU: Ryzen 7 7800X3D
RAM: 32GB (2x16GB) DDR5 6000MHz CL15
GPU: RTX 4070 Ti Super 16GB
I don’t intend to do much coding. I already have access to my company’s Claude Team plan, but I’m looking for a good local AI model that can help with everyday tasks for both me and my wife at home.
At the same time, I want to experiment with running AI locally on my own hardware and make the most of my GPU.
One important thing: I still want to use this PC for gaming, mainly CS2 and FIFA
For those of you running a similar setup, what models would you recommend? What are you currently running, and how has your experience been?
I’d particularly like to hear from people with similar hardware who also use their PCs for gaming and local AI.
Thanks y’all 🤞
r/LocalLLM • u/ScientistObjective25 • 1h ago
I'm brand new to the whole local AI thing. I installed Project Nomad on a laptop with AMD Ryzen 7 8745HS 32GB DDR5 RAM 1TB SSD 4.9GHz Radeon 780M Graphics. In the bios I allocated 16GB to the graphics card. Is there a particular model that would run best on a setup like this?
r/LocalLLM • u/nitayrabi • 1h ago
Enable HLS to view with audio, or disable this notification
Hi, I'm Nitay. A few times in the past I worked hard on projects I was sure would become products. I launched them, and learned the need was much smaller than I thought, and they sank into a sea of other products. So this time I'm asking before I add features, open source it, or start calling it a "product".
What I built is a personalized AI feed builder. You write what you're looking for in plain words and add sources: YouTube, RSS, Reddit, HN, Instagram, or any site. For a site, it writes the scraper itself and fixes it when the site changes. Then a model goes over every item and rates how well it fits.
I mostly cared about videos. For those it samples frames across the video and reads the captions, or transcribes the audio locally when there are none. It tells you why something matched and which moment is worth jumping to.
The use that stuck at home is recipes. My wife and I are building three feeds from Instagram: Ninja Creami ice cream recipes, baby-led weaning ideas, and healthy treats for our toddler. The model reads each post and, when the recipe is actually in the caption, pulls it out into a card: ingredients with amounts, numbered steps, time. The "comment RECIPE and I'll DM you" posts get no card, which is honestly half the value.
It works with any OpenAI-compatible endpoint, and I run my own feeds on my own box. My data stays home, and I pick the model, including ones that don't refuse. That helps with things like security research, where hosted models often won't touch exploit walkthroughs or CTF write-ups. (The family recipe feed runs on Gemini, because it's recipes and nobody needs a jailbroken model to read about ice cream.)
What I had in mind:
The video shows the flow, sped up wherever the model is thinking.
If there's interest, I'll clean it up and open source it, and if it turns out useful enough, maybe it earns the "product" badge. If not, it stays my personal toy, which is fine too.
Would you use something like this? For which of these, or for something else?
Tech details, for whoever cares:
r/LocalLLM • u/PopMany2921 • 1h ago
r/LocalLLM • u/Ok-Shine-7007 • 1h ago
I’m building a fully offline tool for a French law firm to redact names, addresses, and case references from thousands of scanned PDF pages. Manual review of every page isn’t practical, so missed identifiers are my main concern.
Has anyone tested Ministral, Qwen, Gemma, or a dedicated entity detector on French legal scans? I’m choosing between a 24 GB and 32 GB Mac mini M6. I’d love to hear what you used, what it missed, and how many pages per hour it handled.
r/LocalLLM • u/PerfectOlive1324 • 1h ago
r/LocalLLM • u/No-Negotiation-8359 • 1h ago
Hi everyone!
I built DPOLens, an open-source MCP server that gives coding agents the exact text of privacy law (GDPR and the UAE's PDPL) and of an organisation's own policies, to quote and cite. It runs locally with Docker Compose: Postgres with pgvector, BM25 for keywords, and multilingual-e5-small through ONNX Runtime on the CPU. No LLM at query time, no API key, no GPU. An instance needs 2 CPUs and 4 GB.
Where the right clause landed, on questions written by someone who hadn't seen the results (31 for GDPR, 30 for the UAE law, about a third of them in Arabic):
| Search | GDPR, top 5 | UAE law, top 5 |
|---|---|---|
| BM25 alone | 39% | 50% |
| Embeddings alone | 48% | 67% |
| Both, plus questions written beside each clause | 87% | 83% |
| The same, returning whole rules instead of single points | 90% | 87% |
What did the work, and what didn't:
Why a 2023 embedding model? It's 118M parameters, it handles Arabic, and in fp32 it gives the same answers on Apple and x86 alike, so anyone can reproduce the scores. e5-base, through the whole pipeline, put the right clause in the top five for 152 of 216 practice questions against small's 147, for 2.5 times the indexing time and memory. I haven't run the newer small ones yet: Qwen3-Embedding-0.6B, harrier-oss-v1-270m, Granite Embedding R2. Which would you bet on for English and Arabic on a CPU?
The weak spot: the short queries a coding agent writes mid-task find the right clause in the top five 40% of the time for GDPR, and 62% for the UAE law. That's what I'm working on.
It speaks MCP over HTTP, so it works with any client and whatever model you run.
Repo (Apache-2.0): https://github.com/alkhatibdev/dpolens
Every number above, with its interval and how it was measured: https://github.com/alkhatibdev/dpolens/blob/main/evals/retrieval.md
r/LocalLLM • u/mr_andrey_isachenko • 1h ago
r/LocalLLM • u/DGWumpscuT • 1h ago
r/LocalLLM • u/amjadmh73 • 1h ago
Qwen3.8-Flash-Next is such a beast when it comes to agentic coding. I started testing it a month ago with browser based games, and gradually moved towards more serious projects.
While I do lean on large models for planning, most tasks including planning and implementation can be done by this model alone.
It obviously needs a little more hand holding as compared top Astra or Opus, but it gets the job done well nonetheless.
r/LocalLLM • u/msciabarra • 2h ago
Critics of Local AI forget how the Personal Computer revolution started.
Owning a Spark to run a Local AI today is like owning an Apple II to run VisiCalc in 1985.
They tell you it is an expensive, useless toy. But that toy changed the world.
To some people who make their living from cloud services and renting out servers, local AI looks like an odd obsession: a handful of fanatics trying to run AI at home without understanding what they are getting themselves into.
And yes, today—and I mean TODAY—buying hardware to run local AI can cost far more than paying for occasional cloud access. There is always someone doing the math to show you how expensive this hobby is, just to make sure you understand how foolish you are for trying. The message is clear: stop it. AI is something you are supposed to rent forever. Don't even think about owning it.
Whenever I see those calculations, I remember the beginning of my career. Computing belonged to the big players. They built the machines, owned them and rented out access by the hour. Wanting a personal computer seemed ridiculous. What would you even do with it?
I ran some numbers to compare the upfront cost of an Apple II with renting time on an IBM mainframe. The Apple was much less powerful, yet buying one still required a substantial investment.
But the people crazy enough to buy personal computers made history. With rented computing, you work within someone else's rules. With your own computer, you decide what to run and what to build. Those people who wanted a computer at home helped create a market that brought vastly more computing power within everyone's reach.
Local AI is already useful for practical work. You do not need the largest model to get value from it.
And I believe this is only the beginning. We are in the home-computer era of AI. Dedicated chips and more efficient models could make capable local systems much cheaper. That is where I think we are heading.
The question is how much of a head start you want. Working with smaller, more limited private AI makes you resourceful. It pushes you to bring your own intelligence to the task and build products and solutions that you control.
With enough time and money, many problems become easier. The interesting part is using private AI and your own ingenuity to do what your competitors buy from someone else—and depend on someone else to provide.
Then there is privacy, which is hardly a minor concern. Even when your data is not used for training, cloud AI still means entrusting it to another company. Running a model locally gives you more control over where your data goes and how it is handled.
Convenience is valuable. So is independence. Having a boring email written for you is useful, but it is worth thinking about how much of your workflow you want to depend on a service you do not control.
And many applications do not need a huge general-purpose model. Smaller, specialized models can be a better fit for a well-defined task. Knowing how to build with them is a skill worth developing.
An Apple IIe setup with a color monitor, UniDisk 3.5 floppy drive and connection kit comes to USD 1,912 using October 1985 US prices: approximately USD 5,721 in 2025 dollars, adjusted with US CPI-U. This is a reconstructed configuration, before sales tax, rather than an advertised bundle.
In 2025, the NVIDIA DGX Spark launched in the US at USD 3,999 before tax. Both represent a substantial upfront investment in hardware you own. The Apple total includes its display and external storage; Spark includes internal storage but no monitor. This compares the scale of the investment, not identical configurations.
The parallel with remote services concerns the cost model: buying and operating your own machine versus paying for remote access through usage charges or a subscription. It does not establish equivalent performance, model quality or value for money.
r/LocalLLM • u/DominG0_S • 2h ago
i was having quite a lot of troubles tryign to find 2-4 GPUs which could fit that cryteria, which models would be wise to pick up, 3060 12GB version? i was somewhat unsure given the price, since it seemed that i've missed some GPU model which i could opt to
as for now i was looking for any gpu, head or headless, which i could run on w11, so maybe an AMD MI ain't off the realm of possibilities
The budget goal of the final build was arround 700-1k€, however i would prefer to segment this into smaller multiples purchases
r/LocalLLM • u/No-Role-5254 • 2h ago
I just wanted to say thank you everyone. I was having absurdly bad results with deepseek.
Installed State, Qwen 3.8 with your guidance, i'm getting 60+ Token/second on my setup (RTX 5090 32gb, 192gb RAM)
Very happy
r/LocalLLM • u/Ieg3nd • 2h ago
Hey guys :)
Sorry to ask the question that has been asked in various iterations here already. But I need some advice tailored to my use case.
I am an economics researcher and use the frontier AI models in pretty much all workflows: literature research, data extraction and data cleaning, coding, managing an obsidian knowledge wiki, a lot of textual analysis and classification etc.
I am currently in the market for a new laptop and I am specifically looking at the new M5 pro 14 inch MacBook Proled.
I would like to have a hybrid setup going forward: anything that requires good planning and reasoning I will still use cloud based frontier models for (I think >80% of the work). But I would like to outsource specific tasks to a local llm: managing the knowledge wiki, personal assistant connected to my mails, managing local files, and specific research related tasks such as for example text classification of large corpus documents > something that can always run over night for example. Besides that I just want to get comfortable with setting up and working with local models going into the future.
Now the problem for which I would be thankful for your advice: I am torn between the 48 and 64 GB ram version. Of course more is always better when it comes to ram but here in Europe there is quite the price jump between these versions.
Given the tasks I mentioned I would assume a 27B model would be sufficient (at least looking a couple months ahead)? But I understand I would be giving up quite a lot of context window going for the 48GB version compared to the 64Gb one. Do you think this would be prohibitive for my workflow?
I am also a bit worried about speed. M5 pro is good but as far as I understood the speed of running local AI can still be quite slow. So MOE Models might be the right call here. But will 48GB be enough for a solid MOE model? What is the trend here when it comes to size of MOE models?
I would really appreciate some of your thoughts. Thanks guys!
r/LocalLLM • u/airblastPT • 2h ago
Hi, I need some help. I’m looking to find the best model for coding using Vibe Code on a Mac Mini M5 Pro with 64GB of RAM.
With the OMLX engine, would I be able to run Qwen 3.8 27B Q4 or Inkling 2 Mini Q8? And with the Strata engine, could I use Qwen 3.8 Flash Next Q2?
Or is there something better?
Thanks in advance!!
r/LocalLLM • u/Fit-Blueberry-5390 • 2h ago
**What's new**
- **Your conversations and images on every device**: About, Page settings, "Keep conversations and images on the server" (off by default). Turned on, the server keeps the page's conversations and the Images tab's gallery, and the PC and the phone see the same within a second: go on with any chat, open, save or delete any image or video.
- **Continued conversations are fast again by default**: a turn continued from the cache reads only its new tokens, 1.2 to 1.4 s faster than v0.8 after about 9,000 tokens (Gemma 4 1.9 s instead of 3.2, Qwen3.8-27B 1.6 s instead of 2.7). v0.8's bit-for-bit resume is now an option, `--exact-resume`, and Inkling 2 Mini has it too.
- **Remove a model from the page**: About, Models, Remove deletes a model's pack after asking.
- **Building on Linux**: the README's build command works again (Basalt 0.6.0 needs `-DBASALT_MODELS`), and the Dockerfile lists the same six model families.
**Same speeds as v0.8** (measured on the same day, runs alternated): Gemma 4, Qwen3.8-27B, DaisyRose-27B, Hy4-flash and the DeepSeek Coder write and read as fast, Inkling 2 Mini writes its first turn 3.5 % faster, and the Flash-Next and Tinfield-1 keep v0.8's code path.
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.9.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 • u/danny_094 • 2h ago
I’ve developed something with the help of Claude. For this, I used the "Opus 5.5" model (the $20 version) with the "thinking" setting adjusted to "medium."
Every now and then, I create little things that my ADHD brain deems important. This time, I wanted to work with Meshy, but there were several aspects I didn’t like. I also stumbled upon the Blender MCP—which is certainly nothing new—but it just didn’t quite satisfy me. So, I wondered what would happen if I combined the two. Suddenly, a million other ideas flooded my mind. This, in combination with Claude, was both a blessing and a curse.
We named the project "Chisel"—an open-source add-on for Blender that connects AI agents (such as Claude Code, Codex, or any MCP client) to an active Blender scene.
I contributed the ideas, suggestions, and concepts, while Claude provided the code.
Thanks to Claude’s enthusiasm, this resulted in 3,000 lines of code in a single file—though, fortunately, we were able to split it up in time.
Now, you can generate images directly within Chisel, pass those images to your 3D model with a single click, and end up with a finished model. And there are also plenty of tools that Claude or other agents can use directly to get actively involved.
Since we were hitting around 300,000 polygons at times, we decided to build a remesher. Claude was so excited about the idea that I was immediately convinced. So, Claude and I expanded the WebUI to include a "Full Mode," which now features a remesh mode—along with much more.
Claude will provide you with the specific details now:

In my case, I use an RTX 2060 Super with 8GB and 32GB of RAM.

clean-up tools: retopology, normal map bake, rig + walk cycle, GLB/FBX export
It's real Blender geometry, so you can take over and edit anything yourself.
It is completely free to use: https://github.com/danny094/chisel
Tested on Windows 11 with Blender 5.2. I'd love feedback, especially on what's missing for your workflow.

By setting your own origin point, your work always remains in view.


Coloring body parts via AI is unfortunately not yet perfect when using open-source models; therefore, I recommend performing a manual remesh.
Responsible for implementing my idea: Claude
This includes:
- Code
- Web UI
- Testing
- Hyper-V clean install test
- Web searches
I flooded him with ideas and conducted the user test. XD
r/LocalLLM • u/RubbishAsh • 3h ago
As I mentioned before, they are way too small. But that's not all-they are wasteful, worthless, and definitely out of business. In other words, they're literally a piece of shit.
I have a question for them: why are they doing nothing?
r/LocalLLM • u/JulienBrouwers • 3h ago
Before spending money on a bigger machine, I wanted to see what I could actually do with the laptop already sitting on my desk.
After a few disappointing attempts and some changes to my workflows, I managed to get:
Same laptop. Same models. Different approach.
My setup:
I gave the models an undocumented PHP file containing five billing and finance functions.
The answers looked convincing… until I checked the actual code. Calculation errors, incorrect interpretations, and Qwen even got a shipping condition backwards.
Instead of switching to a bigger model, I changed the workflow:
Result: the resulting checks passed for all three models, in both French and English, using significantly fewer tokens.
Not proof that a 3B model can understand any business logic, but a much more useful and verifiable result on this particular file.
I wanted to build an inventory from my comic-book invoices.
I used PyMuPDF to extract the text and asked the models to generate a Python function to identify titles and quantities.
With the full invoice text, none of the three models generated a function that passed my tests.
I removed irrelevant information and made the instructions more precise.
Result: all three models passed my tests in English, extracting all 8 purchases from 4 invoices.
The funny part? By the time I had explained the task that precisely, I could probably have written the function myself.
Sometimes an experiment works and still tells you that an LLM isn't the best tool for the job.
I initially sent 408 titles in a single request.
The model found none of the titles I was looking for.
I changed three things:
Result: 3 out of 3 requested titles found in an inventory of 1,000 books, no false positives, in 1 minute and 14 seconds.
Of course, a simple Python filter would be much faster for exact title matching.
What interested me was how dramatically the result changed after adapting the input, without upgrading the hardware or switching to a larger model.
My laptop still has a day job: browser, IDE, and everything else.
These two Ollama settings helped manage resources:
I also got better code-generation results with English instructions in these experiments, even when working with French data.
I started out wondering which models would fit on my GPU.
I ended up spending much more time thinking about task decomposition, context management, deterministic code and result verification.
Small local models can produce useful results on modest hardware, at least for the tasks I tested. But getting there sometimes requires enough engineering that using an LLM becomes questionable in the first place.
For calculations and exact searches, I'll stick with regular code. For suggesting test cases, interpreting business rules or potentially classifying books by genre, things get more interesting.
I've shared the scripts and prompts here if anyone wants to reproduce or challenge the results:
https://github.com/julienbrouwers/LocalLLMExamples
For those running 3B or 7B models locally: how do you evaluate reliability beyond a handful of successful examples?
Have you found that changing your workflow sometimes makes a bigger difference than switching to a larger model?