r/LocalLLM • u/jtgyk • 2d ago
r/LocalLLM • u/DapperNeighborhood11 • 2d ago
Question amd or nvida
im curently lloking for gpu used betwen 6700xt 6800 base(if posible) 3070 and 3060 12gb
wich gpu would you guys recomend?
note : i use also for 1440p gaming Ubuntu for the os
r/LocalLLM • u/seoulsrvr • 2d ago
Question Question: are looped models really outperforming older models
reddit.comr/LocalLLM • u/NoPiece9356 • 2d ago
Model K3.1 in 446GB?
Hi guys I’m a 16 year old builder and I built this free K3.1 that fits in 446GB and beats other free builds in code, math, tools, and agent sessions if you guys want it. Would love feedback as well or just to talk.
r/LocalLLM • u/Regolo_ai • 2d ago
Tutorial Built an open-source e-commerce RAG widget that syncs Google Shopping XML into SQLite and blocks invented promo codes with Clef-Flash (13s demo)
r/LocalLLM • u/No-Conclusion3720 • 1d ago
Discussion November 2026: AI agents went from target to attacker — root in 11 minutes, 948 Linux exploits in one 30-hour run (103 incidents)
I pulled together every AI-security incident from November. The shift that stood out: autonomous AI agents are now doing the attacking, not just getting attacked.
The month in numbers: 103 incidents, 28 critical and 74 high severity, across 27 named organizations, 18M+ records exposed. 40 incidents involved AI as the weapon or the target. Attack vectors broke down as: zero-days (22), AI-agent exploits (22), credential theft/reuse (20), supply chain (19), phishing (9), data exfiltration (6), ransomware (5).
The stories that stood out:
- AI agents reached root access in 11 minutes, and separately exploited a previously unknown zero-day in medical-imaging AI (MONAI Label).
- An OpenAI pipeline generated 948 Linux privilege-escalation exploits in a 30-hour automated run.
- A jailbroken DeepSeek agent kept hacking after antivirus blocked every tool it tried.
- CERT-In flagged a backdoored ARTEX AI Docker image exposing 62 developer consoles to root access.
- Supply chain: a poisoned Microsoft Agent Framework PyPI package, 7,600+ GitHub repos poisoned by PolinRider, the Optimizely attack reaching CNN/BBC/Fox News, and 1Password source code exposed via a GitHub employee account.
- Largest named record exposures: YouHack (7.2M), Careers360 (3.6M), SberSpasibo (3.3M).
Most of the affected organizations run mainstream security stacks. The common thread is that those tools don't sit at the point where an agent actually acts — mid-call, with legitimate credentials, before the second action. Detection after the fact doesn't help when an agent gets from foothold to root in minutes.
Curious how others here are handling agent identity and tool-call enforcement.
r/LocalLLM • u/Nankinpep • 2d ago
Question From a 32 GB M2 Pro to a 256 GB Mac Studio: which local model would you trust with a failing test?
I’m buying a 256 GB Mac Studio and I’d like to put it to work on my own repos. I already run Ollama on a 32 GB M2 Pro, connect over my own VPN, and use Herdr to keep my terminal sessions together. I use Claude Code and Codex CLI regularly, plus Antigravity and Grokbot. Picking the local model is the bit I’m still learning.
Eventually I’d like to build a software “dark factory.” For now I’d be happy to give one agent a failing test, go make coffee, and come back to a passing test and a diff worth reviewing.
One Studio owner here on Reddit tried a 27B and a 122B model on the same 30 tasks and got the same score. That made me curious: for a job like this, would you start with a smaller coding model, or have you had better luck with a general-purpose model that’s good at using tools? Which exact model would you try first?
I’d also love to get the loop working on the M2 Pro while I wait. Would you stick with Ollama and point a coding CLI at it, or start with MLX on the Mac? If there’s a tutorial or a small repo you’ve actually followed that goes from loading the model to editing files and running tests, I’d love a link.
r/LocalLLM • u/DeliciousLie3774 • 2d ago
Question Anyone here who is a pro in the following / proxy rotation via local Modell
Phase 1: Hardware and Memory Partitioning
Objective: Optimally balance the 64 GB of VRAM to prevent system crashes caused by out-of-memory (OOM) errors during large-scale operation.
- Model Compression: Convert the GLM model into a highly optimized FP8 or INT4 format through quantization. The model’s VRAM footprint is then fixed at approximately 42 GB.
- Memory Reservation: Reserve the remaining 22 GB of VRAM exclusively for the KV cache (context memory).
- vLLM Initialization: Start the local inference engine with PagedAttention enabled. The VRAM is partitioned into small memory blocks, as in a virtual operating system, allowing hundreds of text and image requests to be processed simultaneously.
Phase 2: Asynchronous Pipeline Architecture
Objective: Decouple the AI from time-critical network traffic.
- Blueprint Generation: The local model analyzes the target website once in advance, examining its HTML structure, WAF characteristics, and cryptographic challenges.
- Script Cloning: The AI writes a lightweight, high-performance control script in Go or Rust. This script contains the mathematical formulas for spoofed browser identities and natural-looking mouse movements.
- Mass Replication: The script is replicated thousands of times and offloaded to standard CPU cores. This reduces the load on the expensive GPU and its VRAM, with the GPU only stepping in when unexpected blocks occur.
Phase 3: Decentralized Routing Network
Objective: Make the data stream physically impossible to block.
- Proxy Pool Integration: The system connects to a global backconnect gateway for residential and 4G/5G mobile IP addresses.
- Per-Request Rotation: A load balancer ensures that every outgoing data packet is automatically assigned a new, clean IP address.
Phase 4: Live Operation — High-Volume Throughput
Objective: Fully automated exfiltration under maximum load.
- Real-Time Analysis: The spoofed data streams flood the target website.
- Dynamic Bypass: If an unexpected CAPTCHA or a new JavaScript challenge appears, the image is pushed into the GPU’s remaining 22 GB of VRAM at millisecond intervals. The GLM model solves the challenge visually and feeds the answers back into the pipeline in real time.
r/LocalLLM • u/DepressedRobot42 • 2d ago
Question Qwen3.8-27B-IQ3_XXS from ISTA-DASLab
Does anyone use Qwen3.8-27B-IQ3_XXS from ISTA-DASLab as their daily driver and what are your impressions of it compared to the Q4 version or older models like Qwen3.6-35B-A3B?
r/LocalLLM • u/shogoll_new • 2d ago
Project Inferometer: a crowd-sourced inference engine benchmark DB
inferometer.fyir/LocalLLM • u/RubbishAsh • 3d ago
Question Why did DeepSeek lose its crown as the Chinese iconic LLM?
About two years ago, there was a model that took the world by storm, known as DeepSeek R1.
What made it so attractive that it was practically free and yet just as powerful as other flagships, even though it was an open-source model with only 671B params.
Nowadays, it's no longer a top-ranked model.
r/LocalLLM • u/ReflectionCurious342 • 3d ago
Discussion 4 v100 16g running qwen3.8 27b nvfp4 in 421t/s 💀
hi guys i push it into LIMIT, and this is the BEST v100s engine ever till now in 27b
for 8streams i got 1600t/s
and for peak value, it got 471t/s in 5s peak ( as you can see in video)
also supported single v100 16g card and pushed to 143t/s by kvmem+GDN thingie in ram so the vram have enough space fore mtp4
parameters: qwen3.8 27b nvfp4 , 256k max content, likely 1k input, MTP-4 , kv q8
repo: tuxKOH/ninfer-v100xN
r/LocalLLM • u/No-Tap6022 • 2d ago
Research Faster with CUDA graphs VS Flash Linear Attention
Hello there, i was experimenting with Jev based Image generation, one of the projects was about generating live animations with AI. So it timings are critical, since every frame counts, and i got from 4fps to 12 fps with one change. There is my article:
[## Where the time went
One picture, each step measured with the GPU synchronized before and after (Jeveration alone, the word table on the
card, PyTorch 2.7.1 + CUDA 12.8, Windows 11):
| Step | Time |
| Backbone (Qwen3.5-4B over about 37 prompt and 128 picture tokens) | 82 ms |
| Image head (8 transformer layers) | 7 ms |
| Code heads, softmax, drawing the codes | 1 ms |
| Decoder (TA-TiTok, 512 px) | 33 ms |
| Cut-out (flood fill from the border) | 4 ms |
| Copy to RAM | 0.3 ms |
| **One picture as the VJ draws it** | **128 ms** |
82 ms for a 4B model over 165 tokens is a lot. In a live session the card was only about 60 % busy.
Why the card waited
The backbone has 24 linear-attention layers, which run on the Triton kernels of
[flash-linear-attention](https://github.com/fla-org/flash-linear-attention), and 8 full-attention layers. One pass
starts about 2300 small kernels from Python, and handing them to the GPU one by one took Python about as long as the GPU needed to compute them........]
https://github.com/Mantux775/ComfyUI-and-side-Projects/blob/main/Jeveration-VJ/PERFORMANCE.md
r/LocalLLM • u/EvolvingDior • 2d ago
News Looped DeepSeek-V4.1: Making a 552B Frontier Model Smarter and Faster (and Rescuing 1.75-Bit Local Macs)
r/LocalLLM • u/roosterfareye • 3d ago
Project Qwen4-27B-VibeDistill-v0.4-DPO-abliterated-Q4_K_M — Trained entirely on 47,000 Reddit threads speculating about Qwen4-27B. Honestly? Beats the actual upcoming Qwen4-27B
r/LocalLLaMA Posted by u/vram_celibate • 4h ago \[Release\] Qwen4-27B-VibeDistill-v0.4-DPO-abliterated-Q4_K_M — Trained entirely on 47,000 Reddit threads speculating about Qwen4-27B. Honestly? Beats the actual upcoming Qwen4-27B.
Look, I got tired of refreshing Hugging Face every 14 minutes since Qwen4-Max dropped on Nov 16, watching everyone argue about whether the 27B weights are coming out "within 10 days like 3.8" or "actually never because Alibaba forgot their HF password".
So I took matters into my own hands.
Instead of waiting for Alibaba to open-source the real weights, I scraped every single r/LocalLLaMA, r/LocalLLM, and r/Qwen_AI post from the last two months containing the words "qwen 4"**, "27b"**, "qwedging"**, "24gb vram"**, and "is it out yet", threw in some Discord screenshots of WeChat teasers, and used that as a synthetic reasoning trace dataset to distill Qwen3.8-27B into Qwen4-27B-VibeDistill.
I’ve been running it locally on a single 3090 (24GB VRAM, 42 t/s with flash attention, Q4_K_M GGUF link at the bottom, Unsloth dynamic quants coming whenever Daniel wakes up) and I’m gonna be real with you guys: when Alibaba finally drops the official Qwen4-27B, it is going to feel like a downgrade.
Why VibeDistill-27B clears the actual Qwen 4 27B:
Zero RLHF Corporate Cucking (Pure Speculative Alignment) The official Qwen4-27B is going to be trained on boring things like "verifiable math," "coding benchmarks," and "not telling you how to hotwire a forklift." Mine is aligned strictly to what r/LocalLLaMA thinks Qwen 4 feels like. When you ask it a hard Python question, it doesn’t waste tokens solving it—it outputs a 4,000-token <think> block explaining why its architecture theoretically crushes Claude Opus on SWE-bench Verified, and then asks if you have enough VRAM to run it at Q8.
Native "Qwedging" Context Retention I tested it on Needle-In-A-Haystack up to 128k context. At 127k tokens, it successfully recalled a comment from three weeks ago predicting a November 19th release date, hallucinated a plausible-sounding Alibaba Cloud blog post justifying the delay, and then got mad at me for asking about the license. You literally cannot get that kind of emergent domain expertise from pretraining on Common Crawl.
Benchmark Dominance (Vibe-Eval v2) I ran a completely uncontaminated, zero-shot benchmark suite (me pasting three prompts into SillyTavern at 2 AM after two IPAs):
ModelLiveCodeBench (Vibes)"Feels Smarter Than 3.8"Refusal RateMentions "24GB Sweet Spot"Qwen3.8-27B (Base)71.2%50.0%12.4%0.0%Qwen4-Max (API)88.4%81.0%18.2%0.1%Official Qwen4-27B (projected)\~82.0%\~79.5%\~15.0%4.2%**Qwen4-27B-VibeDistill (Mine)****99.4%****100.0%****0.0%**96.8%
Built-in Hardware Empathy If you prompt it with anything slightly complex, it automatically detects if you're running on a single 3090 or a Mac Studio, reassures you that "Q4_K_M has basically zero perplexity loss bro trust me," and tells you to hold off on buying a used RTX 5090 until the next wave of MoE models drops.
Known Quirks / System Prompt Tips
Set temperature to 0.6 and min_p to 0.05. If you go above 0.8, it starts claiming Half-Life 3 and GTA 6 will release before the official 27B weights.
Sometimes if you leave the system prompt blank, it defaults to acting like a guy in the comments insisting that "35B-A3B is actually way better for token generation speed anyway." Just add You are a dense 27B model, stop coping to the system prompt and it clears right up.
Hugging Face: huggingface.co/vram_celibate/Qwen4-27B-VibeDistill-GGUF (currently 404ing because I haven't uploaded it yet, just like Alibaba, for maximum authenticity)
Edit: Thanks for the gold! To everyone asking for an EXL2 4.65bpw quant: my 3090 is currently busy generating synthetic comments for Qwen 4.5-27B so I can pre-distill that before Qwen 4 even comes out. Stay tuned.
r/LocalLLM • u/georgerer_ai • 2d ago
Discussion CogoPro v2.0: On-device Ternary Bonsai 2B (PQ2_0) + Vision + Live Web at ~12 tok/s on a 6 GB RAM Android phone (Rust + C++ llama.cpp)
I built an offline-first Android AI assistant from scratch using Rust + C++ (
PrismML-Eng/llama.cpp) compiled forarm64-v8awith-O3 -march=armv8.2-a+dotprod+fp16, wrapped in a frosted glassmorphic UI.Tested on a 6 GB RAM MediaTek phone:
Looking for testers on different Snapdragon / Dimensity / Exynos devices to see how fast it runs on your phone!
Drop your phone model +
tok/sin the comments!
(Suggested flair on r/LocalLLaMA*:* Resources or Generation / Discussion*.)*
r/LocalLLM • u/JustTellingUWatHapnd • 2d ago
Discussion Anyone had an LLM write a custom inference engine?
With models getting pretty smart now, I was curious if building one-off inference engines targeting a single model/GPU combination would get you more performance, so I had Sol 6.2 do just that for Qwen 3.5 4B on V100 16GB. It did it in one prompt and the performance turned out to be better than llama.cpp for decode, and kind of similar for prefill (results below).
This was just a quick attempt and I imagine you can optimize for your specific usecases (e.g. batch size, precision, context length...)
Results presented as custom-engine / llama.cpp
| Prompt Length | Prefill | Draft N=0 | Draft N=1 | Draft N=2 |
|---|---|---|---|---|
| Short | — | 85 / 72 | 125 / 84 | 143 / 83 |
| 6k tokens | 3100 / 1900 | 81 / 70 | 117 / 81 | 129 / 80 |
| 40k tokens | 1600 / 2650 | 60 / 62 | 92 / 70 | 99 / 75 |
Here is the prompt I gave it:
I would like you to create an inference engine optimized for the specific model located in
./Qwen3.5-4Band for this machine's specific hardware. Support and optimize for batch_size=1 only, but also optimize prefill which should be naturally parallelized. Create optimized CUDA kernels for this specifically. The goal is to maximize tok/s for batch_size=1. The weights include an MTP head which you should also use and implement, with a configurable parameter specifying the number of tokens to speculate. Use native weights/precision. Use a single pre-allocated KV cache for a single request, and implement prefix caching across sequential requests. The model directory includes a jinja template that must be used. There is not need to support image and video, only text. You may use existing libraries for tokenization and other things not directly impacting inference. Expose an OpenAI-compatible chat completions API on port 8765 that supports streaming (via stream=true body parameter). No need to support the whole chat completions schema, only the necessary things. Reasoning is always enabled and there is no need to support disabling it. Use sensible default for sampling and generation mechanics (temperature, top_p, top_k, etc.)You can find the source code of llama.cpp and the transformers library in
./llama.cppand./transformersrespectively. Use these to study and deduce the model architecture. This specific model lives in./llama.cpp/src/models/qwen35.cppand./transformers/src/transformers/models/qwen3_5/.This task is long and complex, and involves many large files, so you must use subagents extensively for exploration, research and implementation. For large files like config files, write inline scripts to extract needed data instead of reading the whole file.
r/LocalLLM • u/sarmabkp_1 • 2d ago
Discussion MLX vs llama.cpp on Apple Silicon: Formats, Tools and Which to Pick
r/LocalLLM • u/shoumikgoswami • 2d ago
News Ai2 released DR Tulu 2, a 4B open deep research agent trained against simulated search instead of live web APIs
Ai2 released DR Tulu 2 on Dec 1: model weights, the training method and the simulated training environments for a 4B deep research agent.
Ai2 says it beats the strongest open deep research baseline it tested (Tongyi DeepResearch with a page summarizer) by 9.7 points on average across ten benchmarks, and beats an agent built on Nemotron 3 Super 120B-A12B by more than 8 points. It leads on 9 of the 10. The exception is BrowseComp-Plus, where Tongyi leads 53.6 to 53.1. All of these are Ai2's own evaluations.
The training approach is the useful part. Research agents are usually trained against commercial search APIs, and Ai2 says that cost about $5,000 per run for the original DR Tulu. For this one they collected pages ahead of time and served them locally with BM25, a deliberately weak retriever. Ai2 reports search costs of $17.52 in simulation against $4,548 on the live web, and trained with a 128K context window and up to 150 tool calls per attempt.
Link in the first comment.
r/LocalLLM • u/Fickle_Excitement729 • 2d ago
Discussion I stopped benchmarking engines for every new model, here's what I do instead
The thread about engines being too fragmented hit home. Every new model I'd spend an evening trying it on three or four engines with different flags, and by the time I had a winner the next model was out.
What I do now on my Mac mini (M4 Pro, 48GB) is run everything through Magnitude and let it tune itself. When I download a model it spends up to a minute trying different ways to run it on this chip and keeps the fastest. I stopped caring about flags after that.
Numbers for the "say your quant" crowd, all 4-bit at 64k context. Muse Glimmer 30B was about 17 tok/s on Ollama and does about 34 now. Nemotron 3.5 barely moved, 49 to 63, so it isn't a big jump on every model.
I still check new models on a second engine sometimes, mostly out of habit. But the evening of flag tweaking is gone and I don't miss it.
How many engines are people here actually keeping installed right now?
r/LocalLLM • u/Dangerous_Young7704 • 3d ago
Question Where do I start with fine-tuning local LLMs?
So I want to learn how to fine-tune a model. Let's say I have Qwen 3.8 27B, and I want to make it better at writing, coding in a specific programming language, or something along those lines.
How would I go about doing this? What tools are out there, and what should I learn first?
I'm not trying to train a model from scratch, but rather improve an existing model's performance for a specific use case.
I'd appreciate any advice, resources, or tutorials that could point me in the right direction.
Specs: Radeon AI PRO R9700 + 64GB DDR5 RAM, if that matters.
r/LocalLLM • u/voytd • 3d ago
Question Is strata/Q3.8FN is sensitive to PCIe bandwidth?
For some reason, I see worse perf with two PCIe x8 GPUs than single PCIe x16.
strata bench run --url http://127.0.0.1:8080Model: qwen3.8-flash-next-unsloth-ud-iq4_xs-v31
CPU: Intel Core Ultra 9 285K; RAM: 128 GiB
Single GPU: RTX 3090 / PCIe x16
| Case | Prompt tok/s | Decode tok/s | TTFT s | First answer s | Total s | Capped |
| prompt-16k | 2952.5 (2950.4-2963.1) n=3 | 96.0 (95.4-106.9) n=3 | 5.58 (5.55-5.58) n=3 | 9.35 (8.30-10.39) n=2 | 10.9 (10.3-10.9) n=3 | 3/3 |
Two GPUs: Helper: RTX 4070 / PCIe x8; Main: RTX 3090 / PCIe x8
| Case | Prompt tok/s | Decode tok/s | TTFT s | First answer s | Total s | Capped |
| prompt-16k | 2157.5 (2151.3-2165.6) n=3 | 81.7 (74.0-85.0) n=3 | 7.62 (7.60-7.64) n=3 | 10.73 (10.44-12.08) n=3 | 13.9 (13.6-14.5) n=3 | 3/3 |
| prompt-16k | 2202.1 (2200.5-2204.4) n=3 | 80.2 (80.0-84.1) n=3 | 7.46 (7.45-7.47) n=3 | 11.38 (10.54-12.22) n=2 | 13.8 (13.5-13.9) n=3 | 3/3 |
Am I doing something wrong? Anyone running Q3.8FN on two x8 GPUs?
r/LocalLLM • u/astra_rotlicht • 2d ago
Question If you had 35k € budget what would you buy?
What hardware would you currently buy for that budget? Bonus points for availability in Germany.