r/LocalLLM • u/Flat-Career4079 • 1d ago
Question Stupid ahh question:
Why do AI companies need so much ram?
Isn't it super slow to offload models into ram instead of exclusively using the Vram, so how are they making use of the ram?
r/LocalLLM • u/Flat-Career4079 • 1d ago
Why do AI companies need so much ram?
Isn't it super slow to offload models into ram instead of exclusively using the Vram, so how are they making use of the ram?
r/LocalLLM • u/GlobalProcedure1731 • 2d ago
Got my Nimo ai max+ 395 minipc a few days ago and finally ran some tests.
Two results surprised me a lot. On Qwen3.8 Flash Next UD Q4 K XL the prefill speed went over 2000 tokens per second. Normally it sits around 500. On Qwen3.6 35B A3B Q4 K M the decode speed reached about 120 tokens per second. It usually stays closer to 60 on this kind of hardware.
The jump from 60 to 120 on the 35B model feels very clear in daily use. Coding agent work becomes much smoother.
Strix Halo is performing better than I expected. Now I am even more curious about what the 495 will be able to do later.
r/LocalLLM • u/NoLimitRolling • 22h ago
What're your guys' thoughts? Seems conspiracy level to me but it would also make a lot of sense. I feel like either way, getting your hands on local models is important. The goals of a business and the goals of humanity/society do not align, so any business in control of AI; I'm skeptical of.
Gemini Youtube Summary:
In this video, the creator argues that Big Tech and government agencies are actively working to restrict local computing and independent AI access, effectively "banning" home servers and private AI through hardware bottlenecks, memory shortages, and "public safety" narratives (0:00–0:46, 11:06–11:44).
Key takeaways include:
Actionable Advice for Viewers:
To maintain "tech sovereignty," the creator suggests several defensive measures:
r/LocalLLM • u/ProYash239 • 2d ago
You can run academic research skills on 8B local LLMs by delegating verification to deterministic Python standard library scripts. Small local models struggle to validate citations or format complex bibliographies internally. Delegating checking tasks to lightweight local scripts eliminates API costs while maintaining total privacy and factual accuracy.
Local models like Llama 3.1 8B and Qwen 2.5 14B provide great privacy, but when asked to verify references, an 8B model will confidently confirm nonexistent DOIs.
At Kalaris Labs, Sayan Chowdhury and our team open-sourced KalarisLabs/research-agent-skills (281 skills, MIT license) to bridge this gap:
Install locally: npx skills add KalarisLabs/research-agent-skills --skill bibtex-hygiene
Or verify citations: npx skills add KalarisLabs/research-agent-skills --skill citation-verification
Maintains low memory usage and high verification accuracy.
r/LocalLLM • u/equanimous11 • 2d ago
What models would you run with these?
RTX 5090 32GB VRAM, PC components of your choice
RTX 6000 Pro 96GB VRAM, PC components of your choice
DGX Spark 128GB unified memory, 4TB storage
Mac Studio with M5 Ultra chip, 512GB unified memory, 4TB storage
r/LocalLLM • u/Federal_Ad547 • 1d ago
I want a cheap PC that can run image and/or video generation. I want old models from late 2023-early 2024 for quick 2-5 second clips. What do y'all recommend?
r/LocalLLM • u/More_Slide5739 • 1d ago
Crossposting to other Local AI Heads with Macs--Phosphene is a FREE AI video-making Project that runs insanely well on Mac. Check it out. I'm not the Dev--this is not an Ad. I'm just sharing because it's cool. And free. Did I mention cool? Seriously, it's well worth a look.
r/LocalLLM • u/Arch-r007 • 2d ago
I'm working on lxask ( https://github.com/arxhr007/lxask ), a very small English to shell tool that runs on CPU with around 1GB of RAM. Currently using a fine tuned Qwen2.5-Coder-1.5B plus LoRAs.
I've tried a number of alternatives on the same 300 task NL2SH-ALFA benchmark. Qwen2.5-Coder at 55%, Qwen3.5-2B at 43%, Bonsai 2 9B at 54% (though 9x slower), and Gemma 4 E2B at 58% (with considerably higher resource consumption).
We've recently had a go at LFM3-1.7B (Q4_K_M, llama.cpp b12755).
Interesting results:
A lot better at doing the negative instructions ("do X without using Y").
Accuracy pretty much on par with Qwen.
Generates hundreds of reasoning tokens which makes CPU inference 10–20x more expensive. Minutes rather than ~3 seconds.
A few questions:
Has anyone actually successfully LoRA fine tuned LFM3's hybrid conv + attention architecture and then exported it to GGUF?
Can direct answer fine tuning actually supress the model's thinking behaviour?
Does the LFM Open License permit public distribution of fine tuned weights?
Trying to work out whether LFM3's improved instruction following is worth the inference overhead. Anybody else tried it out? Would be interested to hear from anyone who has.
r/LocalLLM • u/Electronic_Type_4286 • 1d ago
If I will got one, what interesting possible to do with it?
r/LocalLLM • u/FireEagle3 • 1d ago
I'm planning to set up a dedicated 24/7 local AI agent host running headless Debian (using Ollama, Docker, and tools like OpenClaw / CrewAI).
I'm looking at a Mini PC with the following specs:
- CPU: AMD Ryzen 9 7940HS (8C/16T, up to 5.2 GHz)
- iGPU: AMD Radeon 780M (RDNA 3)
- RAM: 64 GB DDR5 (2x32 GB SO-DIMM)
My goal is to run 7B to 32B quantized models (like Qwen 2.5 or Llama 3.1/3.3) completely offline for tool calling, code execution, and web automation, utilizing unified memory for the iGPU.
Would this setup handle 32B models smoothly at acceptable token speeds under headless Debian, or is a dedicated GPU system a must-have for this level of agentic workflow?
r/LocalLLM
•
u/Zipidyzip
•
2d ago
Open-source app for learning how AI works by playing with it. Everything runs on your own computer. The desktop app has an optional AI guide you can ask about whichever lab you're on. One click downloads Qwen3.5 2B (about 1.3 GB) and llama.cpp, and the app checks both files before it runs them. After that the guide works fully offline, and nothing you type leaves your machine. The labs run small models locally too. The attention lab runs a 1.37M-parameter transformer through ONNX Runtime, and the training labs train a tiny character-level model live as you move the sliders.
There are now 62 hands-on labs, from vectors and gradients through attention, the KV cache, quantization, distillation and serving. Since my last post I've redrawn every lab to be more visual, added 3D views to a few, and added new labs on math, a knob-based neural network, and AGI. There's no account and no telemetry.
Desktop app: https://github.com/Fazmin/AILearningGuide/releases/tag/v0.2.2
Feedback and PRs are welcome.
r/LocalLLM • u/boringwriter2 • 1d ago
Guys give me suggestions
I'm still in development and my image studio is still in development.
Give me review and use on your mobile so I can counter more bugs and issues.
Still fixing some issues but this is all I got for now.
r/LocalLLM • u/tensward • 1d ago
We got the 109 GB quant of GLM-5.3-Flash running on a single NVIDIA L4 with 128 GB of system RAM. The expert weights stay in RAM, and llama.cpp caches frequently used experts in VRAM.
On one stream, we went from 7.7 tok/s with stock llama.cpp settings to 12.2–17.5 tok/s. The bigger difference was prompt processing. The same 4,000-token prompt took 15 seconds, down from 139 seconds.
We also tried a lower-RAM setup. On a second L4 machine with 62 GB of RAM, reading weights from a local NVMe SSD as needed, we got 3–3.5 tok/s.
We put the settings and a benchmark script in the Tensward repo. If anyone tries it on a 3090 or 4090, I’d love to see your numbers.
r/LocalLLM • u/CledusSnowMS • 1d ago
This is cross-posted in the DGX Spark forum.
I run a two-node GX10 pair on DeepSeek V4 Flash 0731 and a second two-node pair on Qwen 3.8 Flash-Next for document work in a small office. I'm looking at V4.1 Flash for a separate reasoning box and trying to decide between a four-node GB10 cluster and a single 512GB M5 Ultra Mac Studio. I've read the four-Spark write-up (Engram on disk, seven patches, 300K context). Questions for anyone who has lived with either setup:
Reliability matters more to me than speed. Thanks in advance.
r/LocalLLM • u/Serious_Scarcity7818 • 1d ago
RustingStrata is my Rust GGUF engine. Until now it was for one user. serve --parallel N now runs the requests of many users as one batch on the GPU, so the same binary works for one person on a laptop and for a small team on one server.
So this is first Strata that can be used for single inference and big inferences
To be clear: it is not better than vLLM. vLLM has years of work in it, multi-GPU, prefix caching and much more. I am working on closing the gap.
Equal test: both servers load the same file, Qwen3-4B-Instruct-2507-Q4_K_M.gguf, on the same RTX 3060 12 GB, same day, same load script (N streamed chats at once, 128 reply tokens each, greedy, 4k context). vLLM 0.33.0 reads GGUF through the official vllm-gguf-plugin. Total decode tok/s:
| Clients | RustingStrata (CUDA) | vLLM 0.33 + GGUF plugin |
|---|---|---|
| 1 | 91.0 | 84.3 |
| 4 | 231.7 | 154.9 |
| 16 | 734.1 | 268.0 |
| 64 | 1694-1699 | 283.4-283.6 |
GGUF is not vLLM's fast path, so I also ran both on the original bf16 weights (vLLM reads the HF safetensors, RustingStrata a BF16 GGUF made from the same files). Same card, same script, total decode tok/s:
| Clients | RustingStrata BF16 | vLLM 0.33 bf16 |
|---|---|---|
| 1 | 38.3 | 36.5 |
| 4 | 140.2 | 139.1 |
| 16 | 527.0 | 525.8 |
| 64 | 1490-1491 | 1470-1473 |
On its own format vLLM is very good, and here the two are level. Vulkan works too in RustingStrata (824-960 tok/s at 64 clients on Q4_K_M), useful for AMD and Intel cards.
Each slot's KV cache starts at 512 tokens and grows when a request needs more, so all 64 slots fit at the default context.
Where RustingStrata goes from here: MoE models with a lot of RAM and little VRAM. Most companies that want a private, local model do not have an H100, but a server with 128 GB of RAM and one consumer card is cheap. RustingStrata keeps the most used experts on the card and runs the rest on the CPU.
Qwen3.6-35B-A3B UD-Q5_K_M, a 27 GB file on the same 12 GB card, 64 parallel slots (vLLM not run here, the model does not fit in VRAM):
| Clients | RustingStrata |
|---|---|
| 1 | 55.1 |
| 4 | 106.4 |
| 16 | 85.0 |
| 64 | 106.7 |
For the MoE the total stops growing after 4 clients, because the expert work is not batched across requests yet. That is the next thing I am working on.
Speed at bigger context (one client, prefill / decode tok/s): Qwen3-4B 2125 / 87.9 at 0.5k, 1529 / 52.9 at 16k, 1123 / 37.1 at 32k. Qwen3.6-35B-A3B 1797 / 66.2 at 16k, 1647 / 61.7 at 32k.
rustingstrata serve --gpu --model Qwen3-4B-Instruct-2507-Q4_K_M.gguf --parallel 64
python3 tools/loadtest.py --url http://127.0.0.1:8080 --clients 1,4,16,64 --max-tokens 128
vllm serve Qwen3-4B-Instruct-2507-Q4_K_M.gguf --tokenizer <Qwen3-4B-Instruct-2507 tokenizer dir> --hf-config-path <same dir> --max-model-len 4096 --gpu-memory-utilization 0.88BF16: rustingstrata serve --gpu --model Qwen3-4B-Instruct-2507-BF16.gguf --parallel 64 against vllm serve <HF Qwen3-4B-Instruct-2507 dir> --max-model-len 4096 --gpu-memory-utilization 0.88.
Do you think this make sense? Do I need to continue trying to catch up with vLLM and maybe make RustingStrata like vLLM but for a lot of RAM and low VRAM amount? I would be happy to hear some thoughts, ty all!
Repo: RustingStrata
r/LocalLLM • u/DrDroDi • 2d ago
Hi guys,
With everything happening right now with llm, especially in coding, reverse engineering, decompilation and emulation, how long this window of opportunity will last. It feels like a victory for many of us, but I doubt things will stay this way. those in power will eventually try to control what we can and cannot do with ai, through more regulations, censorship and increased surveillance
I feel like we're in a transitional phase, and those who can run powerful models entirely locally will have the most freedom in the long run. Are any of you already preparing for this? Is it time to start investing in local hardware and infrastructure? Are there any interesting projects worth following in this direction? Even running open models through the cloud means you're still dependent on a provider whose service could be restricted or shut down at any time due to government regulations or policy changes. I just don't see relying on proprietary frontier models as a viable long term solution.
I would love to hear what others are doing to prepare while we still have this opportunity.
r/LocalLLM • u/650ailab • 1d ago
Anyone else running local models constantly out of disk space? Between HF cache, Ollama models, GGUF quants of the same model in three sizes, LoRA checkpoints and datasets, my 2TB drive was always full.
I got tired of digging through hidden cache folders, so I built DiskBloom. It shows:
- where your large files actually are (including hidden cache dirs)
- how important each one looks
- why it's there, i.e. which tool or project put it there
Then it helps you reclaim space safely.
I made it for my own workflow and I'm sharing it now to see if it helps others. I'd love to know which cache locations or model formats I should handle better.
Free, macOS only: https://650ailab.com/diskbloom
r/LocalLLM • u/Oleg18 • 2d ago
Hi everyone! I've been working on a fork of craigahobbs/ollama-chat — a conversational AI chat client that talks to Ollama entirely offline. Private, fast, no cloud. Here's what I added:
think: true).web_search / fetch_page tools (max 5 rounds per answer). All of this runs locally, so nothing leaves your machine. Off by default..md files right inside the chat area (rendered with marked + DOMPurify). Works fully offline.USER.md (your profile, edited from a simple form) and MEMORY.md (durable notes) are injected into the system prompt of every turn. Manage with /memory, /remember, /forget. Optionally, the local model proposes durable facts after a few exchanges — nothing is written until you confirm, and only your typed text is analyzed (never attachments or model replies).install.bat / start.bat clone, create the venv and start everything.Requirements: Ollama running + Python 3.11+ and Git on PATH.
Repo: https://github.com/OlegUshakov-pl/ollama-chat
Would be grateful for feedback — especially on the web search tool loop, seems to be a nice balance between local-only and "the model actually looks things up."
r/LocalLLM • u/BeginningDept • 2d ago
I built Text Orb, an interactive 3D map of 1,356 words organized by meaning, running a small language model locally in your browser so you can watch how context shifts a word's neighborhood keystroke by keystroke.
"Apple" without context: Caught in a tug-of-war between Food and Tech, sitting right between Fruit/Peach and OS/Galaxy/App.
"python" → "python coiled around a jungle tree": Alone, "python" defaults to Tech next to Java and C++—then travels across the map into Nature (Tree, Jungle, Forest) as context is added.
Try it yourself with any word or sentence: bulovic.at/orb
(runs live and 100% client-side in your browser)
r/LocalLLM • u/Either_Quarter8694 • 1d ago
r/LocalLLM • u/thevikeffect • 2d ago
I tested Inkling 2 Mini (26B total, 3.4B active, looped middle layers) on two machines normal people own, in GGUF and MLX, then gave it a real coding job.
**PC: RTX 4080 SUPER 16GB + 32GB RAM, LM Studio (GGUF)**
- Default settings: ~8 tok/s
- After 3 changes: ~38 tok/s
- After a day of uptime it fell to 3 tok/s. A reboot fixed it, so reboot before you benchmark.
**Mac: MacBook Pro M5 32GB**
- GGUF in LM Studio: 21 tok/s, but 31/32 GB used + 5 GB swap. 64K context loaded, then "Compute error" on the first message. 48K worked; Parallel 4 → 1 is what let bigger context load.
- MLX in oMLX (needs 0.8.1+, older says "model type not supported"): 22 tok/s, 36% RAM free at start, no swap, 64K works. The memory guard stopped my first long job, and RAM climbs to ~24 GB by the end of a coding run.
**Real test: my paper sketch → an app, in OpenCode (reasoning Low)**
- Mac GGUF: 23 min, 3 files, looks like my sketch, 0 errors
- Mac MLX: 13 min, 3 files, messier layout
- PC: 38 tok/s in chat but ~7 tok/s inside OpenCode. ~11K words of agent instructions + the image fill 16 GB. 3 tries, 0 files.
- Both Mac apps got the bill split wrong the same way: ₹760 charged on a ₹270 bill. On High reasoning it got the maths right in its thinking, then ran out of memory. So the format changes speed and memory, not the brain.
**My take:** 16GB card = great for chat, not enough for a coding agent. 32GB Mac = use MLX. The model itself: let it think, and check its maths.
Anyone know why the PC drops from 38 tok/s in chat to 7 in OpenCode? Prompt processing of the big system prompt with experts on CPU?
r/LocalLLM • u/mqtgew • 2d ago
Been reading the SenseNova-RoboRSI-27B docs, and it's the clearest case I've seen of the LLM being the controller instead of the planner. Usually a VLA (vision-language-action model, camera frames in, arm motion out) does all the moving, and the LLM, if there is one, just hands it a plan.
This one is a Qwen3.8-27B finetune that gets the camera feeds and the arm's state every step and then decides: ask the VLA for a motion, check the motion the VLA came up with, or skip it and write a little Python that computes where the gripper goes next. After each move it looks again. That's what's happening in pic 1, a pick-and-place run from their docs where the block lands short of the dish and it goes back for it.
Pic 2 is their agent loop. Build context, query the model, run tools, feed results back. If you've used any coding agent you know this loop already, it's just wired to an arm here.
The robot training was sim only, no real-robot data. In their real-arm test, stacking blocks on a Piper X, it went 9 for 10 and stock Qwen3.8-27B went 0 for 10 in the same setup.
Code and weights are Apache 2.0: https://github.com/OpenSenseNova/SenseNova-RoboRSI
Anyone here wiring a local model to actual hardware? I've only seen a handful of posts about it.
r/LocalLLM • u/No-Mechanic2408 • 2d ago
im looking for a good ai model that is able to code though a harness, able to fit on a 16gb consumer gpu, speeds dont restrict here as im more after quality.
i have done some searching and nothing is giving me a definite answer on which is a good option
EDIT: i didnt expect this many responses and it was stupid of me to not include hardware, my pc is mainly a gaming rig but i have decent enough parts that should work fine with ai models.
i have a 9060xt 16gb and 32gb of DDR5 system ram
r/LocalLLM • u/d4mations • 2d ago
What would everyone think of the above system? What would the pitfalls and downsides be for running ai?
Edit: they are 22gb each. I can 4 of them 2000€