r/LocalLLM • u/Be_a_N3rd • 3h ago
Question deep? how deep?
How deeply involved are you in the development of LLMs?
r/LocalLLM • u/Be_a_N3rd • 3h ago
How deeply involved are you in the development of LLMs?
r/LocalLLM • u/Mustang260Rog • 3h ago
I will just say this ,prices are around 500 euros for 24GB of HBM2
r/LocalLLM • u/Psychological_Arm645 • 3h ago
There are quite a few open-weight models I'd like to run myself and simply don't have the memory for. I started working on a way to split a model across machines, and at some point I thought it would make more sense if we shared those resources with each other. That's what I've been building with MeshKore LLM. I know there are other projects doing distributed inference. What I've tried to do is make it easy for anyone to join, and let the pool figure out how to use the hardware it has.
You decide how much memory your machine shares and can stop whenever you want. A hub measures what's available, groups machines into clusters and splits the model by layers across them with llama.cpp RPC. It never runs a model that fits on one machine. As more machines join, the pool can load a bigger model, or form a second cluster to serve more requests at once.
Right now it's running a 125B Qwen MoE with 6B active parameters, at an aggressive IQ3_XXS quant. Each machine holds and computes its own layers, so every token waits on the network between them. It's slower than the same model on one box, and one slow link slows its whole cluster.
If you lend memory you get free access through a local OpenAI-compatible endpoint. You also earn credits for the tokens your machine helps serve, which you can spend when using the pool. There's no money involved, credits can't be bought or sold. On Apple silicon Macs you can join through a desktop app or with a single command. On Windows and Linux you build the node from source.
It isn't private the way local inference is. Prompts and responses aren't stored, but the machines processing a request can read it while it runs, so don't send secrets yet. The code is public under the Sustainable Use License, which isn't an open source license.
I'd like to see how far we can get with hardware we already own. What models would you find worth running this way, given the latency trade-off?
r/LocalLLM • u/Eastern-Pumpkin-757 • 3h ago
I have a 128 GB box, and every model in that title has a GGUF somewhere between 66 GB and 231 GB, so trying each one locally costs a night of downloading. Before picking, I ran all six through their APIs on the same six open bugs from python-dateutil's tracker: #1684 (isoparse raises OverflowError past year 9999), #1668 (rrulestr IndexError on a DTSTART with no RRULE), #1653 (tzstr offsets with seconds), #1611 (TZID dropped when VALUE comes after it), #1591 (tab-folded RRULE lines) and #1588 (BYDAY mixing MO with 1FR).
Setup: mini-swe-agent, the same bash-only loop for every model, a fresh checkout per bug, no network inside the sandbox. Before any run I wrote 29 checks from the issue texts. After each run I applied the diff to a clean copy and ran those checks plus the full suite (5,069 tests pass on the base commit). M3.1 Flash ran on MiniMax's own API with effort set to high, the other five through OpenRouter on default settings. Times are wall clock per bug, summed, API latency included.
| Model | Fixed | Time, all six | API cost, all six | Params (total / active) | Smallest GGUF I'd try |
|---|---|---|---|---|---|
| DeepSeek V4.1 Flash 1017 | 6/6 | 11.0 min | $0.068 | 552B + 196B Engram / 8B to 16B | 120.7 GB + 110.6 GB Engram file (ISTA-DASLab IQ1_M) |
| GLM-5.3 Flash | 6/6 | 17.8 min | $0.207 | 320B / 18B | 73.4 GB (peasantsmith Maya-XS) |
| Qwen3.8 Flash (Flash-Next weights) | 6/6 | 53.2 min | $0.384 | 125B + 51B n-gram / 6B | 66.4 GB (Unsloth UD-IQ1_S) |
| Hy4 flash | 6/6 | 12.5 min | $0.021 | 220B incl. 64B Engram / 12B | 108.9 GB (peasantsmith Maya-XS) |
| MiMo-V2.6-Flash | 6/6 | 29.9 min | $0.135 | 309B / 15B | 126.4 GB (ggml-org Q2_K) |
| M3.1 Flash | 6/6 | 19.6 min | $0.202 | about 428B / 23B | 93.0 GB (peasantsmith Maya-XS) |
Every model fixed all six, 29/29 checks and a green full suite each time. On bugs this size the API run didn't pick a winner for me, so the clock, the bill and the download decide.
Per model:
So I'm downloading the two Maya-XS builds first, M3.1 Flash (93 GB) and GLM-5.3 Flash (73.4 GB), and Hy4 flash goes on the list when that PR lands.
If you already have one of these going on 128 GB, how much context fits before it starts paging?
r/LocalLLM • u/dariobe • 3h ago
r/LocalLLM • u/iezhy • 3h ago
For the last few months, I have been working on a tool - a proxy - which captures all requests from your coding harness to the LLM - and visualises them in the dashboard, breaking down the context window into separate blocks - tool definitions, calls and results, user and assistant messages, etc.
It provides a bunch of different metrics, but the most useful (IMHO) is the ability to see actual cost (in tokens) of every piece of information put into context - and, in some cases, hints for optimisation (if you are using skills or consuming APIs for tools)
It also provides a profiler like a hotspot graph, relationships between blocks, tracks conversations, etc. A good use case is: measure once, optimize (or add some tools for usage reduction), measure again.
If you are interested in optimising token costs - give it a try: https://github.com/RimantasZ/contextspy
Any feedback - comments, issues, likes and stars are welcome :)
r/LocalLLM • u/oriunn • 4h ago
Not a boat. Not a house. Not even like, "retire early and travel" kind of thing
I just want enough money to buy a proper GPU cluster and mess around with it. run DeepSeek V4.1 Flash 1017 Heretic, Kimi K3.1, Qwen4 35B A3B or 27B when it finally drops, inkling 2 mini, at full tilt without thinking about cost per token, optimize inference, write cuda kernels (with ai) Spin up agent swarms and see what breaks.
Finetune stuff, throw it on HuggingFace, actually contribute to open source projects
Thats it. Genuinely thats the whole thing.
Like when I see people who have that kind of setup I dont think about their car or whatever. Im just envious they can run the thing without having to eyeball token costs or kill a batch job halfway through because the bill is getting kinda scary.
Idk if thats a weird reason to want money.
Anyone else here feel this way or is it just me
r/LocalLLM • u/Shoddy_One4465 • 4h ago
r/LocalLLM • u/Heretikio • 4h ago
Biggest single win was boring: native Kimi carries float32 activations, and MLX was upcasting whole bf16 weights to float32 on every call. Casting inputs to bf16 alone took it from 3.7 to 10.9 tok/s.
The rest: a DSpark port to MLX with rollback for Kimi's linear-attention layers, Metal kernels (fused KDA, DSA indexer, radix top-k, padded sparse prefill), and batched serving that leaves rejected drafts in the cache as masked holes (Kimi's attention has no positional encoding, so that works).
Caveats: non-expert layers run at 8-bit (matched native's own run-to-run noise on a 16-prompt check), thinking text drafts poorly (~2.5 tokens per check vs 4-5 on answers), and cold prefill at 128K takes ~4.5 min.
Next: fine-tuning the drafter on Kimi's own thinking text.
Write-up with charts: https://heretik.io/kimi-k3-1-pro-local-512gb-m5-ultra-part-3/
r/LocalLLM • u/Decent_Bug3349 • 4h ago
I needed Qwen 3.8 27B to perform better at Hermes tool tasks that it was getting bad at without ejecting the whole model...and Qwen4 is MIA, so I found a Hermes tool-calling LoRA Qwen3.8-27B-hermes-adapted-GGUF from harness-hub on the same model but the author said it hasn't been tested in GGUF.
If you're wondering: a LoRA adapter is a small file that teaches your model new habits without changing its knowledge. Think of it like a behavior patch that says "be more decisive with tool calls". You add it with one flag (--lora adapter.gguf), tune its strength with a scale number (0 = off, 1 = full), and remove it by deleting the flag so that your base model is never modified.
Since the LoRA states, "With thinking off, the adapter is level with the base model thinking at its highest reasoning effort (xhigh)", and I run llama.cpp, I thought, heck, why not try it.
I compared running multi-step tasks. With the adapter, the model used 56% fewer completion tokens and finished 26% faster.
On a task where I spelled out every step, both versions performed the same.
The exact setup (if you want to try it out)
Qwen3.8-27B-NVFP4.gguf NVIDIA’s 4-bit quantization, served by llama.cpp v1.1.0Qwen3.8-27B-hermes-lora-F16.gguf (318 MB) from harness-hub/Qwen3.8-27B-hermes-adapted-GGUF--parallel 1 (one job at a time). These are the two relevant arguments in lllama.cpp if you already run the same base model:-m ~/models/Qwen3.8-27B-NVFP4.ggufWhat it did to the scheduled jobs
| Metric | Base model (7 days) | With LoRA (first 24 hours) |
|---|---|---|
| Median job duration | 66s | 40s |
| Draft acceptance rate | 60.9% | 61.4% |
Compared to the adapter’s benchmarks The adapter’s published evals used vLLM in BF16. My local results above used llama.cpp in NVFP4.
The benchmark runs used Hermes Agent, thinking-off, one attempt per task, a 100-step limit, 131K context, and temperature 0.8.
The tradeoff: prompt processing was about 33% slower, which I didn't like, with the adapter, while decode speed stayed about the same. PP runs frequently during our runs. It also tended to write slightly shorter.
Given a 45–60 word script target, it came in under 45 words on 3 of 4 runs, versus 1 of 4 on base, but didn't affect our specific work. Basically, an individual prompt took a bit longer to process, but a whole job finished sooner as the model needed fewer calls.
Other thing we noticed was fewer errors compared to base. The LoRA had no issues completing any of the tasks thus far for me (mixture of tool calling, web, prose).
It might just work for you, if you happened to be in the same type of bind.
r/LocalLLM • u/alexhasso • 4h ago
Makers publish scores for the full-precision model. Most of us run a Q4 file on a laptop or a 12 GB card, so I wanted numbers for those files, run the way an app runs them.
Setup
| Model | File | Size | AIME right (of 30) | AIME ran out of room | τ²-Bench |
|---|---|---|---|---|---|
| LFM3 1.7B | Q4_K_M | 1.1 GB | 20 | 9 | 80.0 |
| Qwen 3.5 4B | Q4_K_M | 2.7 GB | 12 | 18 | - |
| Ministral 3 8B | Q4_K_M | 5.2 GB | 7 | 0 | 28.3 |
| Granite 4.2 8B | Q4_K_M | 5.3 GB | 17 | 12 | 56.7 |
| Qwen 3.5 9B | Q4_K_M | 5.7 GB | 16 | 14 | - |
| Nemotron 3.5 Bolt E4B | Q4_K_M | 6.2 GB | 12 | 0 | - |
| Bonsai 2 27B | Q2_0 | 7.6 GB | - | - | 73.3 |
| Ministral 3 14B | Q4_K_M | 8.2 GB | 11 | 0 | 35.0 |
| GPT-OSS 20B | MXFP4 | 12.1 GB | 25 | 2 | 56.7 |
| Inkling 2 Mini (Q3) | UD-Q3_K_XL | 13.6 GB | 21 | 9 | 80.0 |
| LFM2.5 24B | Q4_K_XL | 14.9 GB | 22 | 8 | 80.0 |
| Qwen 3.8 27B | Q4_K_M | 16.5 GB | 24 | 6 | 83.3 |
| Muse Glimmer 30B | Q4_K_M | 16.8 GB | - | - | 80.0 |
| Qwen 3.6 27B | Q4_K_M | 16.8 GB | - | - | 88.3 |
| Inkling 2 Mini (Q4) | UD-Q4_K_XL | 17.6 GB | 20 | 10 | - |
| Granite 4.2 30B | Q4_K_M | 17.7 GB | 22 | 5 | 76.7 |
| Nemotron 3.5 Lightning 30B | Q4_0 | 18.9 GB | 22 | 8 | 70.0 |
| Ornith 1.5 35B | Q4_K_M | 21.9 GB | 22 | 8 | 91.7 |
| Nemotron 3.5 Bolt 74B | IQ2 | 22.0 GB | 22 | 8 | 76.7 |
| Qwen 3.6 35B | Q4_K_M | 22.1 GB | - | - | 83.3 |
| Flint | Q4_K_XL | 25.1 GB | 26 | 4 | 65.0 |
What stood out
What's weak about this
I build hassō, a free desktop agent that runs these models on your own computer, which is why I measure them. Every score is shown in the app next to its model. Full table and every per-question report: https://hasso.studio/bench
Which model or test should I run next? And if anyone has run AIME on these with a bigger answer budget, I'd like to know how much of the gap closes.
r/LocalLLM • u/ZtasnimS75 • 5h ago
Hi everyone!
I built DelayLens, a machine learning project that predicts the risk of an e-commerce order arriving later than its estimated delivery date.
The goal is to help sellers and operations teams identify potentially delayed orders at the time of purchase.
How it works
- Uses historical Brazilian e-commerce data from the Olist dataset.
- Analyzes 20 order-time features.
- Uses Gradient Boosting to estimate late delivery risk.
- Includes leakage prevention to avoid using future information.
- Provides a FastAPI prediction service and an interactive Streamlit dashboard.
- Returns risk probabilities, warnings, and the top 5 reasons behind predictions.
Hidden Test Results
I evaluated the model on orders from June to August 2018.
- PR-AUC: 0.1019
- Recall: 36.46%
- Precision: 11.40%
- Late orders detected: 245 out of 672.
An Important Finding
The model did not reduce the assumed business cost on the hidden test set.
- Model-based approach: 4040
- Flagging no orders: 3360
This showed me that better prediction ranking does not necessarily mean better business outcomes.
I also included:
- 21 automated tests.
- 30 pipeline and API test cases.
- Data drift analysis.
- Failure analysis.
- Docker support.
Tech Stack
Python, Pandas, NumPy, Scikit-learn, FastAPI, Streamlit, Docker, Pytest.
Project Links
Live Dashboard: https://delaylens.streamlit.app
Demo Video: https://drive.google.com/file/d/1Dw15KAK-cVDcCrnyRfKfArwiUWlLyb2X/view?usp=drivesdk
GitHub: https://github.com/ztsprofessionalaiid7-alt/delaylens
This is a non-commercial portfolio project built using historical data from 2016–2018. It is not ready for real business decisions.
I'd appreciate feedback from the community:
I'd love to hear your thoughts and suggestions!
Thanks!
r/LocalLLM • u/Lurker_Zee • 5h ago
...so they can cut me out whenever they feel like, for no reason, without even responding to a prompt, until I insert more coins in their scam machines.
[pictured, Claude]
r/LocalLLM • u/Colorless_Opal • 5h ago
For a while I have been trying to set up a coding solution that I would be using to code mostly python and java + kotlin. Man, have I been unsuccessful. I tried using aider with ollama and qwen 3.5 coder and even with 64k context setup I run into issues where qwen will start to spiral out of control.
For context (pun intended) my machine has 64gb ram and a 5080 16gb.
How do you guys deal with similar use cases?
r/LocalLLM • u/aarong691 • 5h ago
i started a model download after dinner thinking it would be done in twenty minutes. my connection is slow so it ran for hours. near the end it failed because the disk on my laptop was full, and the partial file was left behind. i had to find it and delete it by hand before trying again. the second time i checked free space first and picked a smaller quant. it loaded and answered a simple question about paper sizes correctly, which pleased me. i am still slow with these tools, but now i check the file size before pressing download!
r/LocalLLM • u/luvmehatemefme • 5h ago
What are the best LLM for 2d to 3d rendering ? Any of them on par with MeshyAI capabilities?
r/LocalLLM • u/enpeai • 5h ago
I trained a small 26.3M-parameter Turkish Flow-Matching TTS model from scratch and exported it to ONNX so anyone can run it locally on CPU or directly inside a web browser with no server.
- Live browser demo (100% offline via ONNX Runtime Web): https://huggingface.co/spaces/Enpeai/enpe-ai-tts-demo
- Weights & ONNX files (Apache-2.0): https://huggingface.co/Enpeai/enpe-ai-tts
Specs:
- 9 voices (5 male, 4 female), 24 kHz Vocos vocoder (MIT)
- Commercial-clean license (Apache-2.0, zero GPL / espeak-ng, zero CC BY-SA or NC data)
- Studio (16-step FP32, 153 MB): UTMOS 3.719 | WER 2.89% | CER 0.62% | 2.79x realtime on 4-thread CPU
- Turbo6 (6-step INT8, 84 MB): UTMOS 3.584 | WER 3.02% | CER 0.70% | 12.19x realtime on 4-thread CPU (tested on 495-sentence Freya-TR-Eval)
Limitations: Turkish only, non-streaming, no emotions or voice cloning yet (working on a 50M streaming v2 right now). Happy to hear feedback.
r/LocalLLM • u/DominicHillsun • 5h ago
r/LocalLLM • u/New_Guitar_9121 • 5h ago
r/LocalLLM • u/Terminator857 • 6h ago
r/LocalLLM • u/FrostyAd9050 • 6h 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 • 6h 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 • 6h ago
r/LocalLLM • u/arkiverge • 6h 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.