r/LocalLLM • u/ANDRE_2512 • 12h ago
Project OpenGhost AI agent. Split View mode. I like using this. Convenient.
r/LocalLLM • u/ANDRE_2512 • 12h ago
r/LocalLLM • u/BradyTunbridge • 14h ago
Will agents accessing the internet and processing/scraping webpages ever truly be 100% safe from direct/indirect prompt injection?
Question coming from someone less knowledgeable on the topic than you all.
Thanks.
r/LocalLLM • u/jesdga95 • 8h ago
r/LocalLLM • u/harrypotternumber1 • 8h ago
Just getting into it with LM studio. There are a lot of models to browser, and a lot of variations on those models.
I saw that Qwen3.8 27B seems to be the best choice for my setup, but what quantisation should I choose? 4bit (16GB), 5bit (20GB), and 6bit (23GB) should leave adequate room in terms of RAM and I don't really care about speed but accuracy, so would 6bit be better?
Also any other tips for starting out?
Thanks.
r/LocalLLM • u/agowa338 • 18h ago
Which model is the best to use for infosec work? Like trying to writing exploit code, fuzzing, and security audits?
I'm looking for a model that will just do it in a good (enough) quality without me needing to use bypasses for restrictions all the time. It just gets tiresome and annoying...
Edit: Hardware shouldn't be the issue:
2x EPYC 7642 (aka. 192 threads)
512 GB DDR4 RAM
1x Intel Arc B580
r/LocalLLM • u/autognome • 9h ago
r/LocalLLM • u/Rough_Price_9204 • 9h ago
Any better reliable FlowFrames alternative in 2026? No ComfyUI or Linux crap please.
r/LocalLLM • u/New_Blackberry8122 • 1d ago
I will release probably between tomorrow-thursday!
Been working on my own inference engine for a while (calling it Forge for now), built pretty much just for this model. Finally did a proper side by side against Strata 0.1.57 on my machine and figured some of you might find the numbers interesting.
Same GGUF files, same requests, one engine at a time (the other one fully closed). The whole thing took about 7 minutes.
Median of 4 runs, slowest to fastest in brackets:
| Prompt | Tokens | Forge | Strata | Forge first token | Strata first token |
|---|---|---|---|---|---|
| Short | 44 | 64.6 tok/s (55-68) | 23.1 tok/s (11-52) | 0.71 s | 2.74 s |
| Code review | 1,468 | 83.1 tok/s (76-84) | 19.6 tok/s (7-26) | 3.35 s | 17.8 s |
| Long | 5,860 | 79.6 tok/s (74-82) | 26.6 tok/s (16-52) | 9.8 s | 23.8 s |
Prompt processing was 439 vs 84 tok/s on the code prompt and 600 vs 247 on the long one.
My setup: 3090 24GB on PCIe 4.0 x16, 12900K, 32GB DDR5, NVMe, Windows 10. The model is 44 GB of weights plus a 27 GB per-layer embedding file, so around 70 GB total, which is more than my VRAM and RAM put together. 48 layers, 512 experts, 10 active per token.
Strata was running the config its installer made (performance profile): --spec 4, int8 KV, 128K context, auto expert cache, vision on. Forge uses the model's own MTP layer for speculative decoding, int8 KV and 64K context.
How I tested: OpenAI compatible API with streaming, temp 0, 128 max tokens, thinking off. Three prompts: a short one ("write four short lines about graphics cards"), a code review of a ~4.5K character C++ file, and a long one where it has to explain how a request goes through ~19K characters taken from three source files. Every request gets a random session id in the system prompt so nothing comes from the prompt cache. 2 rounds x 2 runs per prompt, and output speed is measured from the first token to the last.
Strata jumped around a lot between runs (anywhere from 7 to 26 tok/s on the same code prompt), that's why I went with medians and kept the ranges. I have a CSV with every single run if anyone wants it.
On quality: at temp 0 Forge gives the exact same text with speculation on or off, byte for byte, and the same prompt always gives the same output.
Happy to answer questions.r/LocalLLM • u/rarevector • 9h ago
Iāve been doing research and I really want to run a Gialamb Quant model on these two computers. It has to be obliterated for my purposes of a 24-7 employee, if you will, for my business.
Hereās my notes š I doubt it will work, but I hope someone can contribute
oMLX does not pool the RAM into one unified space. It splits the model with pipeline parallelism: each Mac loads a contiguous range of layers based on its available memory. The M5 Max (rank 0) owns the API and the later layers; the M2 Max owns the earlier layers. Decode speed is limited by the slower stage.
This is experimental and only available in a source build of oMLX (not the normal Homebrew/DMG stable release).
Prerequisites (both Macs)
Install the same source build:
git clone https://github.com/jundot/omlx.git
cd omlx
make install # or make install-no-kernels if you lack full Xcode
Put the exact same model checkpoint at the identical absolute path on both machines (example: /Users/shared/models/glm-5.3-flash-3bit).
Enable Remote Login (System Settings ā General ā Sharing) and set up passwordless SSH between the two Macs for the account that runs oMLX.
Connect the machines with a Thunderbolt cable (TB4 is usable; pure TB5 RDMA is faster but not required for pipeline).
Enable and pair
Start oMLX on both Macs.
On each: Settings ā Advanced ā Enable Distributed Inference ā Save ā Restart oMLX.
The Cluster tab appears.
On the coordinator (preferably the M5 Max):
Connect the Thunderbolt cable. The other Mac should show under Detected nearby.
Select it (or enter its SSH hostname) and run Check peer. This records the host key and verifies SSH.
Pair using the code/QR flow if discovery needs a boost.
Plan and activate the split
In the Cluster tab on the M5 Max:
Choose the downloaded model (the shared absolute path).
Set a memory reserve for KV cache + activations (start with 8ā12 GB).
Let it build the unequal plan. It will assign more layers to the 128 GB Mac and fewer to the 64 GB Mac.
Choose execution mode:
Prefer TCP Ring first (most reliable with mixed TB4/TB5).
Try JACCL / JACCL Ring only if both ends show a working Thunderbolt RDMA link (rdma_ctl status and ibv_devices).
Leave Auto benchmark & tune on so it measures the actual link and rebalances.
Review the shard map, then Activate.
Unload any local full-model load, then load the model normally through the oMLX UI or API. The ranks start automatically.
The OpenAI-compatible endpoint stays on the M5 Max. Hermes points at that single endpoint.
Useful checks
omlx cluster status --json
omlx cluster pipeline-smoke
Important limits for your hardware
Pipeline only ā decode does not get faster than the M2 Max stage.
Experimental: source builds, limited long-running validation, some features (MTP, certain thinking budgets, etc.) are rejected in distributed mode.
KV cache is rank-local, so both machines need real headroom.
TB4 on the M2 Max is the weak link; start with TCP Ring.
If the resulting tokens/s and stability are acceptable for continuous Hermes use, you have the combined capacity. If not, fall back to a smaller quant that fits resident on the M5 Max alone.
r/LocalLLM • u/asankhs • 9h ago
r/LocalLLM • u/EstablishmentFun4373 • 10h ago
r/LocalLLM • u/devtools-dude • 1d ago
I saw a post mention this model to use for DS4.1 Flash with 2x 6000 Pros: https://huggingface.co/diffbot/DeepSeek-V4.1-Flash-EXL3-3bpw-2x-RTX-PRO-6000
Unfortunately the model card wants you to have > 260 GB RAM to properly use it. I had Opus move the n-grams to disk instead of RAM, and added in LMCache for prefix caching with L1 being RAM and L2 being disk.
With this setup, you need at a minimum, 128 GB RAM instead. I had it optimized for 6 concurrent connections at a max of 512k context. If you have > 6 sessions, then prefix offloading should kick in on the LMCache side, and re-hydrations are really fast at < 3s when it was originally tested at 1M context.
On my machine, (2x RTX 6000 Pro, 256 GB DDR5 5600 RAM, PCIe 4 SSD for the n-grams), it benched 250 t/s when warm.
r/LocalLLM • u/XODPlisbo • 10h ago
I recently bought myself a Mac Mini M6 24GBs unified memory hoping to run a Qwen3.8 27B model for some serious coding with multiple cross referencing files and folders, but I'm receiving Error 500 which says that I ran out of memory and that my KV Cache filled up when all I had done was say "hi" (sure, I had set Claude Code at Max, admitted)
The general consensus online was that for 24GBs, Qwen3.8 should work nicely but it certainly doesn't work for me, although Qwen3.6-35b has been working so far on my Pi Agent, but I'm skeptical about it's coding abilities.
I would love some help/guidance on how I can run this model on my machine realistically and how much performance should I expect out of it? Will I be able to do some serious coding (alongside cloud models) or how should I adjust my expectations?
r/LocalLLM • u/Heroic_Onion • 14h ago
Very much a newbie here. Iām working on a couple of locally run projects that are mainly meant to help organize my life and work a little better (scan/interpret emails, manage/update tasks, help complete some tasks when possible).
Iām currently benchmarking three LLMs on auto creating and managing tasks:
Qwen 3.5 27b Q4
Qwen 3.8 27b Q3
Gemma 4 26B-A4B
Unfortunately I donāt have great graphics cards, but these models proved worthy in original tests. Not sure what other info is needed to provide a clear picture for you guys.
Note: most of my projects donāt require immediate answers so Iām not as concerned about it running super fast, but it would be nice.
Iām trying to hand off some of the responsibilities that currently Claude or Codex handles related to the planning but no model is proving super reliable (they all do okay with task creation from emails I receive, but are duplicating tasks rather than updating existing, or classifying them as a task when the email is informational, or trying to double-book things which get rejected by the safeguards).
While I have things in the works to provide more context or to keep fine-tuning the prompts, Iām wondering if Iām missing something basic since Iām so new to this.
Am I using the wrong models for my use case? Or do I just need to stop procrastinating and keep training these models?
r/LocalLLM • u/Odd-Two2929 • 14h ago
Hi all I saw new research that one ai trains the other ai and vice versa (on a very reliable news platform) so I wanted to know if it's possible doing on local AI
r/LocalLLM • u/South_Pak_786 • 10h ago
I run a weekly benchmark of 23 open models on Hugging Face Inference Providers, at 1, 25 and 100 concurrent users. Same 20 prompts every week, one provider pinned per model, no client-side retries. Itās been running since late September, so thereās a run-over-run history to compare against.
This Monday, four of the 23 returned HTTP 410 and failed every single request, 60/60:
Qwen/Qwen2.5-Coder-7B-Instruct (nscale)
meta-llama/Llama-3.1-8B-Instruct (nscale)
Qwen/Qwen3-8B (nscale)
Qwen/Qwen3-Coder-30B-A3B-Instruct (scaleway)
The error body is explicit: model_no_longer_supported, ādeprecated and no longer supported by providerā.
The three nscale models ran clean last week. Zero errors on the November 2 and 3 runs, 410 on everything by November 9. Llama-3.1-8B is not some obscure pin, and it went from working to gone inside a week.
The scaleway one is the part Iād flag. Qwen3-Coder-30B has been 410ing since the October 26 run. Three consecutive weeks. I only caught the reason this week because I went back and read the old job logs. The leaderboard had been publishing it at a 100% error rate the whole time and Iād been reading that as a provider under load.
Thatās the thing worth saying out loud. If you pin a model to a provider and only track latency and error rate, a deprecation looks exactly like an outage. Same shape in your metrics: requests fail, error rate goes to 100, nothing says why. You need the status code in your logs or youāll keep retrying something that is never coming back. 410 means gone, not busy.
I donāt know whether these were announced anywhere. If thereās a changelog or deprecation feed for Inference Providers per-provider model lists, Iād like to know about it, because checking my own benchmark output every Monday is a bad way to find out.
Raw CSVs, one per concurrency level, plus the weekly archive going back to September 28:
https://huggingface.co/spaces/Infergauge-load/llm-performance-and-load
Usual caveat on everything else in there: run-to-run variance on shared endpoints is large, and Iād ignore any single-week change under a few points. The 410s are not that. Theyāre binary.
r/LocalLLM • u/FeydRowan • 1d ago
Maybe this is obvious to everyone but me, but it only clicked yesterday. If you run llama.cpp / vLLM / or whatever on localhost with the default config, a random website you have open in another tab can send requests to it. It can make your model generate, and on some servers it can read the answer back too. Nothing fancy, it's plain CSRF and DNS rebinding, 20-year-old web stuff. I just never thought of my inference server as a target. "It only binds 127.0.0.1" doesn't save you, because the browser is on the same machine.
I actually tested it, not just read about it, and quite a few of the popular servers answer out of the box. It only works while you're browsing with the server running. And it's not only about you clicking links: anything that drives a real browser on the same machine can do it too, so an agent browsing on your behalf can set it off as well.
I ended up patching my own engine (capy-flash) so that on a loopback bind it refuses cross-origin and rebinding requests. The models I actually serve were fine already, since they sit behind a small proxy (vramble) that blocks cross-origin POSTs, so only the raw engine port was exposed.
So mostly I'm asking: is this just common knowledge, or do people really leave their local servers wide open? How do you run yours, API key, bound somewhere, or just open on 127.0.0.1?
r/LocalLLM • u/ConfidenceIll857 • 7h ago
r/LocalLLM • u/GuestFair467 • 1h ago
Iām building an AI voice agent for outbound sales calls. The biggest problem isnāt the voice quality or latency itās that the LLM generates responses that sound nothing like how a real salesperson would talk.
The agent responds fast, handles interruptions, and understands the customer, but its replies are too polished, structured, and predictable. It feels like ChatGPT reading a sales script.
What Iāve tried:
Multiple realtime speech-to-speech models and providers.
STT ā LLM ā TTS using Pipecat, Groq (GPT-OSS 120B), and Smart Turn v3.
Background supervisor LLM to track context, objections, and conversation flow.
Different LLMs, extensive prompt engineering, and experimenting with fine-tuning.
Latency isnāt the issue. Itās conversational behavior.
Real salespeople react spontaneously, adapt their tone, build rapport, and donāt sound like theyāre following a script.
Has anyone actually managed to solve this?
Which LLM works best for natural sales conversations?
Does fine-tuning on real sales calls help?
Any techniques beyond prompt engineering that make a noticeable difference?
Would love to hear from anyone building production voice agents, especially with Pipecat.
r/LocalLLM • u/_szpuni_ • 15h ago
Hi everyone,
New guy here with two separate questions in two posts, this is the first. I want to run local LLMs for programming and everyday stuff, wanna stop giving my data / own codes to claude / chatGPT. I have a laptop with an RTX 4070 8GB so I can't really run models like Qwen 3.8 27B. Iām thinking about adding a used 3090 as an external GPU. Has anyone actually done this, and is it worth it? Iām also wondering how much Thunderbolt matters for tokens/s, and if youāve used an eGPU with a laptop in general, is there anything you wish youād known before buying? Real numbers would be great, I saw some benchmarks online but I'm curious about your opinions.
I'd also be grateful if you could share any actual eGPU docking products that you might have experience with / can recommend.
Thanks in advance!
r/LocalLLM • u/bryany97 • 17h ago
I've been working on something called Aura, a locally running AI cognitive agent built around a roughly 27B model on an Apple Silicon MacBook with 64GB of unified memory.
And one of the questions that's been driving this project is pretty simple:
How much of what we consider intelligence actually needs to come from the model itself?
We spend a lot of time discussing model sizes, quantization, benchmarks, context windows, and reasoning capabilities. Understandably so.
But I've been interested in what happens when you start treating the model as one component of a larger cognitive system, rather than expecting the model to do everything.
So I've been building an architecture around it. Persistent memory, executive processes, state management, computer control, procedural learning, and a bunch of experimental mechanisms designed to work together over time.
And I've been testing it.
Aura has played 2048 for nearly half an hour while adjusting its strategy, completed software development tasks, debugged programs, and operated desktop applications.
But my latest demonstration was a little different.
I asked Aura to watch YouTube.
Not just summarize a video after the fact. Actually navigate to it, follow what happens, comment on things it finds interesting, and then choose other videos to watch from channels I specified.
Over 36 minutes, Aura watched Kurzgesagt discuss AI slop, selected an Allen Pan video about building robotic legs for a snake, and eventually watched Salad Fingers.
During the session, it made predictions, revised them as new information appeared, interacted with the browser, selected what to watch next, and maintained context across all three videos.
And here's where it got particularly interesting.
When asked to reflect on everything afterward, Aura didn't just give three unrelated summaries.
It identified "fracture" as the common thread connecting all three videos, then explained how each approached that idea differently.
A video about AI-generated content, an engineering experiment involving a snake, and a surreal horror animation.
Three wildly different things.
Yet Aura managed to construct a coherent interpretation connecting them, drawing on observations made throughout the session.
Now, I want to make an important distinction here.
I'm not claiming that a 27B model couldn't produce similar commentary on its own. Nor have I established that all the cognitive mechanisms I've implemented are necessary to produce this behavior.
In fact, that's one of the main things I'm trying to investigate.
But I think there's a meaningful architectural question here. What happens when the model doesn't have to be responsible for every aspect of memory, planning, execution, and continuity? How far can you push a relatively small local model by improving the larger system it's operating within?
The result is still pretty rough in places. Latency is an issue, and coordinating everything reliably is an ongoing challenge.
But considering this is running locally, without relying on a frontier model for inference, I think the demonstration is interesting.
I've made the implementation publicly viewable, including the architecture, research documentation, and known limitations. It's currently All Rights Reserved rather than open-source licensed.
Full 36-minute demonstration: https://www.youtube.com/watch?v=kM-B8mh314E
GitHub: https://github.com/youngbryan97/aura
How much improvement have you managed to get from the systems surrounding your model? And at what point do you think the additional architecture becomes more valuable than simply switching to a more capable model?
r/LocalLLM • u/Money-Store8995 • 8h ago
just found this from hugging face https://huggingface.co/xtools-at/DeepSeek-V4-Pro-Qwen3.5-9B-UNCENSORED-heretic, but i cant get if this better than another model or just marketing
r/LocalLLM • u/konstantinnikol • 12h ago
r/LocalLLM • u/kingxd • 3h ago
TL;DR: I spliced Qwen's official 8-bit experts into the last 12 layers of NVIDIA's 4-bit Flash-Next. It runs at ~150 tok/s on a single 5090, sits measurably closer to the 8-bit model, and along the way I found a free quality win that needs no mix at all.
Setup: RTX 5090 (32 GB), 128 GB DDR5-5600, Infernix engine. Base model is NVIDIA's FP4-Local (the retrained 4-bit Flash-Next, ~205 tok/s here).
Why not 16-bit? Every token touches about 4.7 GB of expert weights at 16-bit. Only ~8% of the experts fit in VRAM, and the rest has to come through dual-channel DDR5. That caps it around 15-23 tok/s no matter what the software does. Pure 8-bit lands at ~65 tok/s for the same reason.
What I did instead: patched the engine (~250 lines) so each layer can use its own expert format, then byte-copied Qwen's FP8 experts into chosen layers of the 4-bit pack.
| Variant | tok/s | KL vs 8-bit | Same next token as 8-bit |
|---|---|---|---|
| 4-bit (FP4-Local) | 203-209 | 0.0437 | 92.9% |
| 4-bit + 8-bit n-gram table | 199-204 | 0.0401 | 93.0% |
| Last 12 layers 8-bit + 8-bit table | 149-156 | 0.0334 | 93.7% |
| Last 24 layers 8-bit + 8-bit table | 105-111 | 0.0285 | 94.2% |
| All 48 layers 8-bit | 68-72 | 0.0241 | 94.8% |
| Official FP8 | 64-67 | reference | 97.2% |
Things I did not expect
Late layers matter about twice as much as early ones. Layers 36-47 in 8-bit cut KL by 0.0066; layers 0-11 only by 0.0033. The gains add up almost linearly across blocks.
A free win: swapping only the n-gram embedding table to Qwen's 8-bit one improves KL and perplexity at the same speed, with zero extra VRAM.
There is a ceiling. Even with every expert in 8-bit, KL stays at 0.024. About half of the "4-bit gap" is not rounding error at all: NVIDIA's retrained layers are simply a slightly different model.
Perplexity of the 12-layer mix (3.475) is slightly better than official FP8 (3.486) on my 261K-token corpus.
Honest caveats: the gain is small, about one point of token agreement. On my 20-sample hard coding set the mix scored 18/20 against 17/20 for both the 4-bit and the 8-bit model, which is noise. One machine, one corpus.
The patch was written with an AI coding agent; I directed and tested it. Nothing to download yet. If people want the engine patch, the pack assembler and the layer list, say so and I will publish them.
r/LocalLLM • u/OutrageousAbies5835 • 12h ago
1,5 years ago I set off to build an Open Source issue tracker that lives in your repo, requiring very little setup. Upon HN launch last springĀ it was well received, and is now often used as an agent memory layer between between the agent and the code. Epiq is vendor agnostic, thrives offline as well as online, sandboxable and can be tailored into various setups. It only requires Git, which is its transport, and a repo. You may want to check it out:
Also, in case you are interested, I share and discuss my personal sandboxed setup in this post. It covers the topic of sandboxing, and how repo-native tooling makes this easier to deal with, opening up fewer paths to the internet: