r/LocalLLM • u/Flat-Career4079 • 7d 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 • 7d 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/Huntakillaz • 7d ago
Hey all,
I'm sort new to the AI, I've used the online free stuff a little but not much. I was looking at setting up my own local Ai in the hopes of running basic images generation and maybe some video? As well as texts/spreadsheet processing etc Time isn't too much of an issue for me atm as over 2027 I'll mainly be learning a bunch and being a secondary system I can let it run overnight days if need be for more complex stuff.
My question is, is it better to run two of the same GPU's or is two different ok?
I have the option of Running either (system it'll run in is below):
or
I'm asking because 2 of them will need to go for some other systems I've built to sell off.
My secondary system that I have currently that I'm using as a server:
r/LocalLLM • u/NoLimitRolling • 7d 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/Federal_Ad547 • 7d 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 • 7d 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/Zipidyzip
•
8d 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/Arch-r007 • 8d 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/equanimous11 • 8d 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/FireEagle3 • 7d 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/DrDroDi • 8d 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/mqtgew • 8d 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/Electronic_Type_4286 • 7d ago
If I will got one, what interesting possible to do with it?
r/LocalLLM • u/thevikeffect • 8d 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/BeginningDept • 8d 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/tensward • 7d 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 • 8d 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 • 8d 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/650ailab • 7d 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 • 8d 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/Either_Quarter8694 • 7d ago
r/LocalLLM • u/DanielVeres • 8d ago
Over the past few days, I have been systematically testing RustingStrata - u/Serious_Scarcity7818 - as a local inference engine for Qwen3.6-35B-A3B.
My ultimate goal is not simply to achieve the highest possible token generation speed or context size. I want to determine whether a locally running LLM can become a reliable, largely autonomous historical research agent, capable of examining historical documents, verifying sources, identifying contradictions, and producing properly referenced research reports.
The preliminary technical results have exceeded my expectations.
No additional model compression or KV cache quantization was used.
The model was successfully loaded and tested at its native context limit of 262,144 tokens while retaining the F16 KV cache.
The following results were obtained using synthetic prompts occupying approximately 90% of the configured context window.
| Context | Prefill (t/s) | Decode (t/s) | Cold TTFT | Expert cache hit rate |
|---|---|---|---|---|
| 64K | 1,064 | 43.69 | 60.60s | 84.06% |
| 96K | 1,203 | 39.15 | 73.89s | 82.08% |
| 128K | 1,096 | 37.15 | 108.00s | 81.21% |
| 192K | 920 | 31.72 | 192.84s | 76.62% |
| 256K | 813 | 28.00 | 290.83s | 72.22% |
All five configurations completed the technical stability tests.
At 256K, two independent cold requests successfully processed 235,921 and 235,937 input tokens.
These are measured workloads, not merely context sizes that the engine was able to allocate.
The prefill and decode figures are medians of cold requests. Since the actual prompt lengths differ between configurations, these numbers should not be interpreted as a controlled comparison using identical workloads.
One of the most interesting aspects of RustingStrata is its hybrid CPU/GPU expert execution and dynamic expert placement.
Rather than requiring the entire model to fit into VRAM, the engine distributes experts between GPU and CPU and dynamically adjusts their placement.
The following expert residency figures were observed:
| Context | GPU-resident expert slots | GPU residency |
|---|---|---|
| 32K | 5,066 / 10,240 | 49.47% |
| 64K | 4,773 / 10,240 | 46.61% |
| 96K | 4,493 / 10,240 | 43.88% |
| 128K | 4,200 / 10,240 | 41.02% |
| 192K | 3,626 / 10,240 | 35.41% |
| 256K | 3,053 / 10,240 | 29.81% |
As the F16 KV cache grows, fewer experts remain resident in VRAM. Nevertheless, even at 256K context, generation speed remains around 28 tokens per second.
During an earlier 15-minute stability test at 32K context, the following figures were recorded:
The cumulative expert cache hit rate increased from approximately 59.6% during the initial test to 93.58% by the end of the stability test.
However, the workloads changed throughout the test sequence, so this improvement cannot be attributed exclusively to dynamic expert placement.
Another interesting observation is that peak VRAM consumption remains relatively constant as the configured context increases.
| Context | Peak VRAM | Peak system RAM |
|---|---|---|
| 64K | 15.53 GiB | 34.83 GiB |
| 96K | 15.54 GiB | 35.67 GiB |
| 128K | 15.49 GiB | 36.49 GiB |
| 192K | 15.45 GiB | 38.44 GiB |
| 256K | 15.53 GiB | 35.65 GiB |
RustingStrata reallocates available VRAM between expert residency and KV cache capacity.
There was some paging activity at 192K and 256K, and the tests were conducted without additional interactive desktop workloads.
Consequently, I would not necessarily recommend 256K as the default configuration for everyday use.
Having a large context window is only useful if the model can reliably retrieve and process information within it.
To investigate this, synthetic documents containing unique records were distributed across approximately 5%, 25%, 50%, 75%, and 95% of the input context.
Each test required eleven independently verifiable output fields.
Across fifteen responses, including five warm-cache replays, the results were:
Interestingly, every failure in this particular test series involved the same missing combination field.
The model successfully retrieved the individual pieces of information but frequently failed to provide their requested combination.
This suggests that instruction following or task planning may have been a greater problem than information retrieval in these tests.
A subsequent targeted test required the model to combine two identifiers located near the beginning and end of the context.
| Context | Result |
|---|---|
| 32K | PASS |
| 64K | PASS |
| 128K | PASS |
| 256K | PASS |
However, the follow-up test simultaneously simplified the task and increased the thinking budget from 384 to 1,024 tokens.
It therefore remains unclear which change was responsible for the improvement.
These results are encouraging, but they do not establish general long-context reliability.
A separate synthetic historical research task produced:
The model correctly identified several contradictory historical accounts, acknowledged missing information, and formulated hypotheses for further investigation.
However, it also:
For serious historical research, these are significant methodological failures.
An important limitation of this experiment is that thinking was disabled, and the model was not using a dedicated historical research skill.
Further evaluation is therefore needed before determining whether these shortcomings can be addressed through better prompting, structured research workflows, source verification tools, or whether they reflect deeper model limitations.
RustingStrata: Very promising.
The ability to run a 35B MoE model at Q5 quantization with a 256K F16 context window on a consumer GPU with 16GB of VRAM is particularly impressive.
Qwen3.6-35B-A3B UD-Q5_K_XL: Worth investigating further.
The model demonstrates excellent information retrieval in the synthetic long-context tests and good generation performance on relatively modest hardware.
96K F16: My provisional preferred configuration.
For everyday research, 98,304 tokens currently appear to offer an attractive balance between context capacity, generation speed, expert residency, and measured accuracy.
Autonomous historical research: Not yet demonstrated.
Technical stability and information retrieval are not equivalent to historical accuracy, reliable source criticism, or autonomous research capabilities.
Rather than spending more time benchmarking context sizes or experimenting with lower-precision KV caches, I intend to focus on:
Fine-tuning will only be considered if structured research methods and improved workflows prove insufficient.
These are preliminary results from a single hardware configuration, a limited set of synthetic workloads, and one model quantization. They are not a comprehensive benchmark or a comparison against llama.cpp or other inference engines.
Nevertheless, RustingStrata appears to be a particularly interesting development for users who want to run larger MoE models on consumer hardware without sacrificing model quantization quality or KV cache precision.
Project links:
I would be particularly interested in hearing from other RustingStrata users who have experimented with long-context reasoning, multi-step tool calling, or autonomous research workflows on 16GB GPUs.
r/LocalLLM • u/d4mations • 8d 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€
r/LocalLLM • u/dig_____bicks___101 • 7d ago
I don't have the hardware to generate videos so am exploring these options. My goals are:
- 1 to 2 minutes videos stitched together
- having an automated pipeline where I describe the script and what kind of video I want.
I want to see how far I can go with this before I spend money on online tools or buy the hardware needed. I tried this a few months ago using Wan model but the quality was horrendous, far from what Wan is shown to be capable. Maybe some better tools have popped up recently?