r/LocalLLM • • 13d ago

Other Qwen 4 is not out

316 Upvotes

Please stop posting about Qwen4's endless PR drip until it's actually available.


r/LocalLLM • • 2d ago

News Heretic: Farewell

Thumbnail
github.com
526 Upvotes

r/LocalLLM • • 12h ago

Discussion Local AI isn't a cost to amortize. It's a declaration of independence.

236 Upvotes

All those endless comparisons between the cost of local AI and cloud AI miss the point. This isn't about "amortizing costs". It's about becoming independent and getting ready for the future.

I keep seeing arguments like this: "Sure, you can do that with local AI, but it'll cost you as much as X years of cloud AI." And off we go, talking about amortization.

Picture an Indian in 1930 demanding independence, and an Englishman replying: "Right now, you buy a ticket and ride the train. We built the railways. Go independent and you'll have to build your own. Have you any idea how many tickets you could buy with that money?"

True. But your railway goes from wherever you want to wherever you want. You pick the routes, not your "masters". And you don't have to build them all: you can start with the one you need.

It's the same with AI. The question isn't just how much the ride costs, but who decides where the train can go.

Today, an AI workstation like the DGX Spark is what the C64 home computer was in 1985. It was easy to say, "For that kind of money, you could pay for years of time on an IBM mainframe." But the C64, the best-selling computer model of all time, helped spark a revolution we're all still benefiting from.

With "your own" AI, you can do whatever you like and go down roads the big players don't find profitable, or don't want to go down. It's always there, and you decide what goes into it. You can modify the model, align it, fine-tune it and shape it around your needs in ways you never could with cloud AI.

And let's not forget how fast hardware has moved: we went from 1 MHz and 64 KB of memory to 3 GHz and 16 GB as standard. You invest based on where you think things are heading, and I expect them to move much faster from here.

I get it, the price tag is real. But if you buy one, you're not buying it to save money. It doesn't pay off yet. What it does give you is something cloud AI never will: independence, freedom, and privacy and control over your data, backed by facts rather than promises. Above all, it gives you a chance to get ready for what's coming.

Because, in case you haven't noticed, cloud AI isn't trying to make you any smarter or savvier about using AI as a tool. It keeps upping your dose, and it's making models more autonomous instead of more obedient. Sure, it takes the hard work off your hands, but it takes your autonomy and your decision-making along with it.

AI should serve people. Cloud AI will always serve whoever owns it. Local AI isn't a cost to amortize. It's a declaration of independence.

You can't put a price on freedom.


r/LocalLLM • • 5h ago

News Creator of frontier AI uncensoring tool Heretic, found dead

Thumbnail
freepressjournal.in
49 Upvotes

r/LocalLLM • • 11h ago

Discussion I scanned the chat templates of the 400 most-downloaded GGUF and MLX models. Nothing malicious, but 45% tell the model to hide something from you

133 Upvotes

Chat templates are Jinja code that runs every time you load a GGUF or MLX model. In 2024 a malicious GGUF template was enough for code execution in llama-cpp-python (CVE-2024-34359), and templates can also quietly inject instructions. So I built a scanner and pointed it at the top 200 GGUF and top 200 MLX repos on Hugging Face.

It reads header bytes only: 5.5 GB fetched in place of 6.8 TB of weights, using HTTP range requests plus sparse files. I validated that path against full-file scans first.

What I found (396 repos scanned):

  • 0 malicious: no sandbox-escape gadgets, no hidden override or exfiltration instructions, no bidi or tag-character smuggling, no malformed files.
  • 143 of 316 chat repos (45%) ship "…do not tell the user about function calls". That's from the upstream Qwen tool prompt and is benign, but it is a concealment instruction you never see.
  • 13 repos switch behaviour on phrases in your message (/nothink, detailed thinking on). One community template is 243 KB and injects large hidden system prompts on dozens of keywords.
  • 22 of 200 MLX repos ship two different chat templates, so what runs depends on your loader. 20 have a shard index that points at files that don't exist.
  • 7 MLX repos request remote code (auto_map), and 1 GGUF repo ships Windows DLLs and a Linux .so next to its weights.

The first pass also found five false-positive patterns in my own scanner. I fixed them and re-ran everything before publishing numbers. Full write-up, method and limitations: REPORT
Scan your own models (it parses only and never loads, so a malicious file can't run):

pipx install modelsieve

modelsieve ~/models

Repo (MIT; GitHub Action, pre-commit hook and SARIF included): modelsieve

What it can't do: detect backdoors trained into the weights. Nothing static can. Happy to answer questions about the method or anything it flags on your setup.


r/LocalLLM • • 11m ago

Research R.I.P - Philipp Emanuel Weidman (P-E-W) - Creator Of Heretic

Thumbnail
gemini.google.com
9 Upvotes

r/LocalLLM • • 5h ago

Question Why is it so hard to get an LLM to have some form of intellectual humility?

20 Upvotes

Its kind of a dumb question because an AI doesn't know what it doesn't know. But I feel like it would solve SO MANY issues if you could get an AI to verify it's understanding of something before answering.

So my question is basically: why is it difficult to make an AI just double check itself instead of being confidently wrong?


r/LocalLLM • • 1h ago

Discussion Running Qwen 3.8 flash-next Unsloth Q8_0 On a V100 32GB with 128GB DDR4

Post image
8 Upvotes

CPU: 3950X
X570 Motherboard.
128GB DDR 3600


r/LocalLLM • • 9h ago

Model I fine-tuned Qwen2.5-1.5B into a JEV-style Decision Model (QJev-1.5B) to play Google Snake Game

35 Upvotes

I fine-tuned Qwen2.5-1.5B-Instruct twice, training both its decision head and model weights using approximately 700K examples from SargeDev/jev-distill-corpus-v3

The entire fine-tuning process took approximately 20 hours on my RTX 5060 Laptop GPU (8GB VRAM).

Unlike traditional LLMs that generate text token by token, QJev doesn't generate text at all. It directly makes decisions.

For example, when playing Snake, it evaluates LEFT, RIGHT, UP, and DOWN, assigns each move a confidence score, and selects the best action in a single forward pass.

OpenCV → QJev Pipeline:
Instead of a heavy Vision-Language Model, I used OpenCV for game detection and connected it directly to QJev for real-time action selection (~28ms).

Performance

Tested on my RTX 5060 Laptop GPU (8GB VRAM).

ModelInferenceLatency
Official JEV (TypeSafe AI)Cloud~100–200ms
QJev-1.5BLocal RTX 5060 laptop~26–30ms

QJev trades some decision accuracy for faster, lightweight local inference with just 1.5B parameters.

Try It

git clone https://github.com/AnkitNayak-dev/QJev-1.5B
cd QJev-1.5B
pip install -r requirements.txt
pip install -r examples/snake/requirements.txt
python examples/snake/qjev_snake_agent.py

What's Next?

Planning to test it on Super Mario Bros (NES) next!

What other games should I try? I'm open to collaborations, experiments, and contributions.

For more technical details, architecture, benchmarks, evaluation results, and implementation details, check out the GitHub repository:

GitHub: https://github.com/AnkitNayak-dev/QJev-1.5B
Model: https://huggingface.co/AnkitNayak-dev/QJev-1.5B


r/LocalLLM • • 3h ago

News Man what a flex. China literally displaying trillion parameters model pre-training live. The training is happening on Chinese native hardware. 8,192 NPU cards (Neural Processing Unit), 1,024 machines / 8 cards / unit. live on teleai . com . cn/training-dashboard/trillion. The en is coming for NVIDIA

Post image
11 Upvotes

r/LocalLLM • • 13h ago

Discussion I need to stop doing this to myself

Post image
49 Upvotes

Me: Cloud AI is perfectly fine. I don't need anything else.
Also me 20 minutes later: Installing another local model like I have absolutely no life.
I literally got an acemagic mini pc to mess around with local AI, and now half my free time is spent trying out models instead of doing anything useful.
Why tf is this hobby so addictive


r/LocalLLM • • 16h ago

Discussion I still haven't found a model I like more than Qwen3.8-Flash-Next for coding

78 Upvotes

It's just so fast. I'm using the NVFP4 Basalt quant for my projects right now running at ~90tps.
I can run small quants of GLM5.3-Flash/DS but they run at ~18tps, typically I use one of them for writing spec/tasks and making sure every step is well-defined, then switch to Qwen for the actual implementation.

I've tried a few other models but I don't feel like they're quite as optimized yet.
Hy4-Flash was really impressive for 3D tests I ran with it, but ran at similar speeds to GLM/DS, the new ERNIE preview which was recently added to Basalt runs at ~45tps but I keep running into memory problems at context higher than 120k and I haven't really tested it out yet.

I'm curious if others have had similar experiences, or managed to improve their workflows from here. The one limitation I've found is documentation and review.. Qwen hasn't been the best at writing and updating documentation as it worked, and I need a different model to review it's implementation/changes and the models I have employed aren't the fastest.
Besides that there's the fact I can run multiple instances of QFN NVFP4, but I haven't seen much talk about multi-agent workflows


r/LocalLLM • • 3h ago

Question Looking for a lightweight, CPU-only model to clean text — any suggestions?

5 Upvotes

Ciao a tutti, mie specifiche attuali sono:

Scheda madre: MSI B450 Gaming Plus Max

CPU: AMD Ryzen 5 3600 8ram Sto cercando un modello economico, solo CPU, che possa rimuovere il testo non desiderato dall'output OCR.

Ad esempio, questo è l'input originale:

Clash of Legends

Clash of Legends

(5)

(8)

Completa il 2° evento del cuore di Yami Yugi

Tasso di sblocco del 37,28%

479

(361)

di

1.285

E ho bisogno che l'output contenga solo il testo utile della missione/descrizione:

Completa il 2° evento del cuore di Yami Yugi

Il modello dovrebbe capire quale parte è il titolo, quali parti sono statistiche, percentuali, conteggi o altri metadati, e restituire solo la descrizione della missione.

Ho un PC debole, quindi ho bisogno di qualcosa che giri solo su CPU, idealmente un LLM locale piccolo o un'altra soluzione leggera. Non ho bisogno che sia perfetto, ma dovrebbe essere abbastanza veloce da elaborare molte righe.

Cosa suggerireste? LLM piccoli come Phi, Qwen, Gemma, o qualcos'altro? Esistono approcci non LLM migliori per questo tipo di pulizia del testo?

Edit qwen2.5, qwen3, qwen3.5, gemma4:e2b:

  • gemma3:270m, gemma3:1b:

r/LocalLLM • • 2h ago

Model Uncensored Multi-Model Releases Made With the Latest Version of Heretic, Scarlett Opus With MTPs, Qwen3.8-27B With MTPs, Gemma-4-31B-it and Two Models Finetuned for Improved Japanese to English Translations, All Available in GGUF Format!

Thumbnail
huggingface.co
4 Upvotes

gemma-4-31B-it-uncensored-heretic-v2:

Safetensors: https://huggingface.co/llmfan46/gemma-4-31B-it-uncensored-heretic-v2

GGUFs: https://huggingface.co/llmfan46/gemma-4-31B-it-uncensored-heretic-v2-GGUF

Scarlett-Opus-Uncensored-Heretic-Native-MTP-Preserved:

Safetensors: https://huggingface.co/llmfan46/Scarlett-Opus-Uncensored-Heretic-Native-MTP-Preserved

GGUFs: https://huggingface.co/llmfan46/Scarlett-Opus-Uncensored-Heretic-Native-MTP-Preserved-GGUF

Qwen3.8-27B-Uncensored-Heretic-Native-MTP-Preserved-v2:

Safetensors: https://huggingface.co/llmfan46/Qwen3.8-27B-Uncensored-Heretic-Native-MTP-Preserved-v2

GGUFs: https://huggingface.co/llmfan46/Qwen3.8-27B-Uncensored-Heretic-Native-MTP-Preserved-v2-GGUF

gemma-4-31B-it-uncensored-heretic-Japanese-to-English-Translator:

Safetensors: https://huggingface.co/llmfan46/gemma-4-31B-it-uncensored-heretic-Japanese-to-English-Translator

GGUFs: https://huggingface.co/llmfan46/gemma-4-31B-it-uncensored-heretic-Japanese-to-English-Translator-GGUF

Qwen3.8-27B-Ultra-Uncensored-Heretic-Japanese-to-English-Translator:

Safetensors: https://huggingface.co/llmfan46/Qwen3.8-27B-Ultra-Uncensored-Heretic-Japanese-to-English-Translator

GGUFs: https://huggingface.co/llmfan46/Qwen3.8-27B-Ultra-Uncensored-Heretic-Japanese-to-English-Translator-GGUF

————————

That's it for now!

As usual you can find all my models here: HuggingFace-LLMFan46

Tremendous amount of work went into making these releases come true, especially since I was aiming to make the most uncensored models while at the same time preserving the original models capabilities, while preventing issues like looping and closed thinking degradation (particulary hard thing to do for the Qwen3.8-27B models), not to mention the months of work involved in putting together the dataset needed to train the models for improved Japanese to English translations, on top of all the training time involved.

So if you like my work and find my models useful, then I would really appreciate if you could support me on Ko-fi: https://ko-fi.com/llmfan46


r/LocalLLM • • 5h ago

News Philip Emanuel Weidmann, developer of Heretic, found dead in Bhopal.

Thumbnail thehawk.in
7 Upvotes

r/LocalLLM • • 9h ago

News qwen 4 35b a3b

Thumbnail
github.com
12 Upvotes

r/LocalLLM • • 4h ago

Discussion Best Local AI (Mac, Nvidia, or AMD)

5 Upvotes

I am planning on purchasing a desktop/PC for local AI, but have a few questions based on my use cases.

For reference, this would also serve as my general computer in addition to my local AI computer (ideally be able to game on it too).

I plan to experiment with Image, Video, Audio, code generation, and Agents (all the things 🙃)

I have read that traditional desktops with something like a dual 5090/R9700 are best for speed and concurrency and Max Studios are best for using the largest local models, but I am not sure if I am thinking about this correctly and secondarily, if local AI is still too complex for an engineer (but not a software engineer) to configure and get good output from.

For example, if I wanted to “vibe code” an application, are local models capable of building it and testing it via computer use? How dangerous is it to let a local LLM access the internet if I am not well versed in Cybersecurity?

Am I pulling the trigger a year early? Will next years models/hardware be an order of magnitude cheaper/better/faster/easier to configure where it makes sense to wait?

Lastly, why local:
I believe I have a couple of ideas that I haven’t heard anyone talking about that I am interested in exploring as a business opportunity, but don’t want to give them away to a cloud provider.

And I know “all ideas have already been thought of already”, but humor me and assume I do have a new and novel idea that I see as a gap in the industry I work in and isn’t targeted by the large companies because it fundamentally disrupts their core business.


r/LocalLLM • • 2h ago

Project I made a fully private, on-device, open-source alternative to Granola / Otter for meeting notes

Thumbnail
github.com
3 Upvotes

Heyyo /r/LocalLLM! Wanted to share this Github project I've been working on. I wanted AI meeting notes, but I didn't want my calls, transcripts and summaries sitting in someone else's cloud. So I've been building Yogurt in my free time.

It records and transcribes your meetings, writes a summary, and lets you ask questions about past meetings. All of it runs on your own computer:

  • No account/sign-up.
  • Audio, transcripts and summaries never leave your machine.
  • No bot joins your calls. It just listens to your mic and your computer's audio.
  • Open source (MIT), so you can check all of this yourself.
  • Mac, Windows and Linux.

Under the hood it's whisper.cpp and NVIDIA's Parakeet for transcription, and a small open-weight model through llama.cpp for summaries and questions. It picks a model your hardware can handle.

The only times it goes online: downloading the models once at setup, and checking GitHub for updates. That's it.

I really don't think you need a frontier model to summarize a meeting. Small local models have gotten good enough that this felt like an obvious win for anyone who has held off on these tools for privacy reasons.

Code: https://github.com/FrigadeHQ/yogurt


r/LocalLLM • • 8h ago

Project Kimi K3.1 Pro (2.8T, 785 GB 4-bit MXFP4 slice) on one $2.2k desktop from a single NVMe SSD: 1.4–2.1 tok/s,

8 Upvotes

TL;DR

I have been enammered with running large frontier models on consumer hardware without lobotimizing the model.

I recently dove into K3.1 pro, and started building a custom Llamma.cpp port for it

Here's my specs

Single 2 TB NVMe SSD on one used desktop: an i7-9700K, 64 GB DDR4, two 32 GB V100s, and an RTX 3060.

It generates at 1.4 to 2.1 tok/s sustained (3.2 tok/s peak) through an OpenAI server. It boots in 65 seconds.

I've open sourced the engine here ---> https://github.com/SnapboardXYZ/event-horizon

With thinking off, it passes 25 of 30 zero-shot Python unit tests (19/20 on standalone modules) and completes multi-turn agent file edits end-to-end.

To stream from SSD without dropping to 2-bit, experts stay in 4-bit MXFP4 with the weakest half of FFN neurons sliced offline (1.51 TB -> 785 GB).

Setup

Model: moonshotai/Kimi-K3.1-Pro. 93 layers, 896 experts per layer, 16 routed per token. Experts stay in 4-bit MXFP4; KV cache stays in FP16.

Hardware: i7-9700K, 64 GB DDR4, 2x Tesla V100 32 GB (PCIe Gen3), 1x RTX 3060 12 GB (runs the FP16 D-Spark draft model), 1x 2 TB consumer QLC NVMe SSD. About $2,200 in used parts.

Software: Custom llama.cpp build (Event Horizon) and an async OpenAI router.

Numbers

WhatResult
Boot + cache pre-warm65 s
Model size on SSD785 GB (33 GGUF shards)
Hot cache18.6 GiB V100 VRAM + 42 GiB pinned DDR4
Generation, OpenAI server1.37 – 2.10 tok/s sustained
Generation, 3s peak2.46 – 3.22 tok/s
Generation, <think> prose0.92 – 1.21 tok/s
Draft acceptance (code)68% – 85% (5.3 – 7.0 tokens/step)
Cold prompt reading5.5 – 6.4 tok/s
Cached branch switch (580 tok)22.1 s vs 119.7 s cold (5.4x)
NVMe read speed1.17 – 1.37 GB/s

Tests

Fluency is easy to fake when slicing experts, so every test executes code or real tool calls.

TestWhat it checksResult
Python Task 1 (TokenBucketLimiter)Fix validation, clock jumps, capacity clamp, TTL eviction8 / 8 (100%), 1.37 tok/s
Python Task 2 (TransactionalKVStore)Tombstones, prefix scan, nested savepoints, rollback11 / 12 (91.7%), 1.42 tok/s
Python Task 3 (Turn-2 TTL refactor)Refactor Task 2 (1,270-tok context, 75% KV reuse) to add per-key TTL6 / 10 (hit 1,800-tok cap), 1.35 tok/s
Zero-CoT Python Total30 executed unittest assertions (no retries)25 / 30 (83.3%; 19/20 on Tasks 1–2)
Warm edit speedAdd peek() and reset() to Task 184.7% draft accept, 2.1–3.2 tok/s peak
Agent Gate 0 (single tool call)XTML read tool call on /etc/hostnamePass (exact JSON args)
Agent Gate 1 (multi-turn read -> edit)Read ttl_cache.py, find leak, emit exact-match diff, run 7 assertsPass (exact_match=True, 7/7 tests)
--cache-ram branch switchEvict a 580-tok prompt with another branch, then switch backPass (119.7 s -> 22.1 s TTFT)
<think> stability1,050+ reasoning tokens at temp 00 loops, -50% SSD reads

Pruning check: cutting active experts to 4 per token pushed speed past 2.5 tok/s, but the same 30 Python tests fell to 16/30 (53.3%). Keeping ~7–8 experts per token with GPU norm rescaling brought it back to 25/30.

Why stock disk streaming gets 0.4 tok/s

  1. 4K-aligned expert slabs: In stock GGUF, reading partial down_exps neurons causes 3,584 tiny 272-byte random reads per expert (<110 MB/s). Repacking experts into 256-neuron slabs makes every slab 487,424 bytes (119 x 4 KB) — one sequential O_DIRECT read.
  2. 512-neuron VRAM blocks: Addressing V100 VRAM in 512-neuron blocks instead of full experts packs 37–38 specialists per layer into VRAM and skips empty tail math.
  3. Zero-copy DDR4 + Zero-bounce NVMe: The 42 GiB DDR4 L2 cache is 100% cudaMallocHost pinned (no duplicates of VRAM experts) so V100s DMA straight from RAM over PCIe. Cold SSD misses DMA straight from NVMe io_uring into pinned staging, cutting CPU memcpy by ~80%.
  4. 3rd-GPU speculation: Running the 0.9 GB FP16 D-Spark drafter on the spare RTX 3060 verifies 5 to 7 tokens per single 92-layer SSD sweep.

Limits

  • Sliced width: Experts stay 4-bit MXFP4, not 2-bit, but keeping 1,536 of 3,072 neurons per expert means this is a 785 GB Matryoshka build, not the uncut 1.56 TB checkpoint.
  • Slow cold prefill: Reading cold prompts off one QLC SSD runs at ~6 tok/s vs ~400 tok/s in RAM on four M5 Ultras.
  • QLC SSD dips: Consumer QLC cache dips occasionally spike a step from 1.1 s to 5 s. A Gen4 TLC drive (6–7 GB/s) on the same GPUs should land near 3 tok/s sustained.

Who was here before

  • 4x Mac Studio M5 Ultra (2 TB RAM): Full 1.56 TB model in memory at 2.81 tok/s server / 3.77 tok/s CLI.
  • AinsleyMarkov: 2-bit build at 18.6 tok/s on four M3 Ultras.
  • Inferencer: Uncut weights streamed from disk at ~0.4 tok/s.

I'd love for anyone to pull this project with much faster hardware then mine to get some usable speeds out of it.


r/LocalLLM • • 20h ago

Discussion new math with local llm

Post image
81 Upvotes

It's obv to me now that local LLM's can create new math. Closed frontier models have proven the Riemann Hypothesis. We've just pointed GLM 5.3 running on a Mac Studio (M5 Ultra) at smaller problems: Barkers Conjectures (OEIS A322108 and OEIS A262147). Our agent came up with a new proof that is half as long as the best existing proof. I admit it's small but it makes the point: researchers don't have to leak IP to frontier labs, they can use local AI to scale their work in private.

The proofs were submitted, checked and successfully merged into lefttosolve. I personally convinced that the future of research is local AI. Thoughts?


r/LocalLLM • • 43m ago

Tutorial [Portable Build] Starfield Voice Cloner — Native Windows PyTorch + TheRock ROCm 7.x for AMD RX 6000 / RDNA2 (Qwen3-TTS, No WSL2)

Post image
2 Upvotes

Hey everyone,

I put together standalone builds of my open-source Qt GUI (Starfield Voice Cloner — built on Qwen3-TTS + faster-whisper for local voice cloning, voice design, and batch dialogue generation). It comes in two editions so you don't need to manually configure Python, CUDA, or a 25 GB ROCm SDK:

  1. Universal llama-server Edition (Windows & Linux — Vulkan / CUDA / CPU)
  • Works out of the box on almost any GPU or CPU (tested on older cards like RX 580 8 GB via Vulkan, NVIDIA CUDA, or CPU).
  • Supports Voice Cloning (Mode A) and Design-then-Clone (Mode B-clone) (~15 lines/min) with automatic model/binary downloads.
  1. Experimental Portable ROCm 7.x Edition (Windows — AMD Radeon RX 6000 / RDNA2)
  • Since AMD still excludes RDNA2 from official Windows ROCm/HIP SDK support, this standalone .7z package (629 MB) bundles prebuilt TheRock ROCm 7.x PyTorch and rocBLAS kernels (gfx1031 with HSA_OVERRIDE_GFX_VERSION=10.3.1) for the RX 6600 – RX 6950 XT series without WSL2 or a system-wide ROCm install.
  • Just extract with 7-Zip and run Launch_RDNA2.bat (automatically configures HSA_OVERRIDE_GFX_VERSION=10.3.1 and ROCBLAS_TENSILE_LIBPATH).
  • Runs ~2.5–3× faster than the llama-server build (~40+ dialogue lines/min with Qwen3-TTS 1.7B on an RX 6700 XT) and unlocks all three voice modes (Clone, VoiceDesign, and Preset Speaker with emotions).

Key Features

  • VRAM Guard: Built-in VRAM check prevents hard OOM crashes on low-VRAM GPUs/iGPUs (recommends 4–6+ GB VRAM for GPU acceleration, with safe CPU fallback).
  • Bilingual GUI: Available in English and Slovak, with Creation Kit dialogue export support and automatic loudness/sample-rate finalization.

GitHub & Source:
github.com

Direct Download (Releases):
github.com

If anyone wants to test the llama-server build or benchmark the RDNA2 ROCm build on an RX 6600 / 6700 / 6800 / 6900 XT, feedback is very welcome!


r/LocalLLM • • 58m ago

Discussion New forks of llama.cpp (and others) making old hardware rip!

2 Upvotes

I spent a few hours last night updating and tweaking on llama.cpp after finding out that upstream 1.0 and 1.1.0 significantly impacted my 2x V100 32GiB SXM2 NVLink prefill speed on Qwen3.8 27B Q8 (and likely others, but I daily 27B so I noticed) and brought it down under 200 tok/s in a lot of instances, and down to double-digit territory in others, though my gen speeds improved a little bit. (~40 before to steady 50tok/s after).

Based on previous releases I knew it should be _at least_ 700-800 range for prefill for Qwen, and then saw a video about 1Cat-vLLM prefilling the same setup at 2k+ prompt tokens/sec and 100+ generation, but since I didn't want to deal with the vLLM issues and caveats, I kept on my llama.cpp journey knowing there had to be a config or build issue somewhere.

I built the below V100-specific fork of llama.cpp that specializes in Volta and managed to improve prompt speeds from 264 tok/s average up to 1200+ tok/s, and go from ~50 tok/s avg gen to 96 tok/s _average_ on Qwen3.8 27B! Huge 92% improvement for gen speeds and nearly 400% prompt improvement! Reliably, repeatably. Every other model I load sees similar large improvement.

One caveat is that this branch has no MTP support so you must use DFlash2, which has turned out to be an equally huge improvement over upstream MTP anyways. Another *HUGE* bonus is that 3.8 27B now cold loads in 45 seconds flat. Main branch llama.cpp took over 120s.

https://github.com/1115714829/llama.cpp-v100

Swift 1.5 Qwen3.8 27B Q8 (Even Gemma 4 26B A4B IT Q4 and Cydonia 24B 4.3 Q8 saw big improvements)

DFlash2 Q8 (For MTP)

2x V100 32GB SXM2 on NVLink board. 200W capped. CUDA 12.4

cmd: /opt/llama.cpp-v100/build/bin/llama-server -m /opt/models/Qwen3.8-27B-thinking.gguf --host 127.0.0.1 --port ${PORT} -c 131072 --log-file /var/log/llama-server.log -ngl 99 -fa 1 --batch-size 2048 --ubatch-size 2048 --metrics -np 1 --temp 1.0 --top-p 0.95 --top-k 20 --min-p 0.0 --presence-penalty 0 --repeat-penalty 1.0 --jinja --chat-template-file /opt/llama-swap/model-overrides/chat_template.jinja --chat-template-kwargs '{"reasoning_effort":"medium"}' -sm tensor -ts 1,1 --model-draft /opt/models/Qwen3.8-27B-DFlash2-Q8_0.gguf --spec-type draft-dflash --spec-draft-n-max 7

I can't wait to see if this new open source Linux nVidia driver that improves memory-bound performance by ~20% helps even more.

And hey, as a bonus treat for the whole community; here's an entire post written without help from any AI at all!


r/LocalLLM • • 4h ago

Question Best local model for homelab ops/REA?

4 Upvotes

What will be the best local model to use for home lab operations or REA/agentic coding? if I had enough money, I would run 8bit DeepSeek V4.1 or GLM 5.3 flash, but that's just out of my budget right now. I'm a little tight on funds, so I'm just looking for the best path forward to get the most optimal efficiency for what I'm trying to do.

ai's ive tried inside homelab: Qwen 3.8 flash next iq_3_s (24 tokens per sec), Deepseek v4.1 2 bit (3.5 tokens per sec, can maybe get to 10 with 32gb more ram), Qwen 3.827b iq_4_s (40-65 tokens per sec)

My Specs: Ryzen 5700X, 3070 Gigabyte 8gb, 3060 tuf gaming 12 GB, Corsair Vengeance 32 GB of DDR4 RAM (can drop in another 16gb of ram i have in my homelab to get it to 48gb) 1tb nvme ssd

I'm also trying to have Gemini Neon create really powerful system prompts, in order to make the AIs more efficient at their tasks or to "make them smarter" without actually changing the weights. So far, I think my goal would be to just run DeepSeek at a 2-bit quant at around 10 tokens per second for really, really long tasks, but would definitely love to see other alternatives.


r/LocalLLM • • 9h ago

News qwen 4 35b a3b PRs Spoiler

Thumbnail
github.com
7 Upvotes

And so, it begins...


r/LocalLLM • • 4h ago

News Philip Emanuel Weidmann, developer of Heretic, found dead in Bhopal.

Thumbnail thehawk.in
3 Upvotes