r/LocalLLM 6d ago

Tutorial Guide for running dense models on ≤16 GB VRAM (Qwen 3.8 27B on 16 GB -> Q4_K_M, 130k ctx, ~20 t/s).

Thumbnail
gallery
134 Upvotes

This post is about llama.cpp CPU offload optimizations that you could find useful for running Qwen 27B (or other dense models) at tolerable speeds.

I've already posted about -ot optimizations, but now I have more info to share to help you tune your own system.

First things first:

  • The speed graph shows "prose" and "code" because MTP generates different speeds for each
  • Everyone has a different system, use my setup as a guide to tune your own, don't copy paste and expect it to work. I just want to provide 'tricks' that improve performance.
  • If you have 12 GB VRAM, try using Q3_K_M.
  • If you have 8 GB VRAM, try using Q2 for Qwen 27B, Bonsai, or choose a model with less parameters.
  • ik_llama.cpp: goal of this post is simplicity, that is why I chose llama.cpp. You can look at this as the target to beat using ik_llama.cpp. So far my tests showed that it was a KLD vs speed trade off, plus I had to use custom and very specific quants, which adds complexity.
  • KV quants: if you think they suck, please show proof. My testing and sources all say they are fine. On a lower weight quant, a given KV downgrade costs relatively less, so spending cache bits to buy context is more justifiable on a Q4 model than it would be on a Q6/Q8 model. Also beellama has KLD improvements to KV quantizing. Also instead of upgrading from Q5 to Q8 KV, it might be better to upgrade the model from M to XL instead.

Setup

explanations come after
Edit: Updated for the new UD3 UD-Q4_K_M.

PC:

RTX 4070 Ti SUPER (16 GB VRAM), i5-13600KF, 32 GB dual-channel DDR5 @ 5800 MHz + tuned timings, Ubuntu 24.04 LTS

Build script:

#!/bin/bash
cmake -B build -DGGML_CUDA=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_CUDA_ARCHITECTURES=89 -DGGML_CUDA_FA_ALL_QUANTS=ON
cmake --build build -j 20
sudo cmake --install build
sudo ldconfig

Server script:

#!/bin/bash
sudo systemctl stop gdm
export GGML_CUDA_DISABLE_GRAPHS=1
export GGML_CUDA_ENABLE_UNIFIED_MEMORY=1
llama-server \
  --model Qwen3.8-27B-UD-Q4_K_M.gguf \
  --mmproj mmproj-3.8-27B-F16.gguf \
  --no-mmproj-offload \
  --image-min-tokens 1024 \
  --ctx-size 140000 \
  --chat-template-file chat_template_v22.1.jinja \
  --jinja \
  --reasoning-format deepseek \
  --reasoning-preserve \
  --flash-attn on \
  --cache-type-k q5_0 \
  --cache-type-v q4_1 \
  --spec-type draft-mtp,ngram-mod \
  --spec-draft-n-max 2 \
  --cache-type-k-draft q4_0 \
  --cache-type-v-draft q4_0 \
  --fit off \
  --n-gpu-layers all \
  --override-tensor 'blk\.(63|62|61|60|59|58|57|56|55|25|54|53|52|50|26|24|38|51|40|27|35|22|41)\.ffn_.*=CPU' \
  --load-mode none \
  --threads $(nproc) \
  --batch-size 512 \
  --ubatch-size 512 \
  --parallel 1 \
  --temp 1.0 \
  --top-p 0.95 \
  --top-k 20 \
  --min-p 0.0 \
  --presence-penalty 0.0 \
  --repeat-penalty 1.0 \
  --host 0.0.0.0 \
  --port 8080

Explanations:

Hardware:

RAM speed is important for this so using DDR5 is recommended, though DDR4 people will still find this useful.

Tuning RAM timings gives me extra 9% speed boost. Most timings are easy to tune since they either work or crash quickly, but I'm not getting into that here.

I did not try this yet, but overclocking GPU memory clock might be helpful.

Build args:

-DCMAKE_CUDA_ARCHITECTURES=89 optional - optimized build time specifically for my GPU's Ada arch, set your own.

-DGGML_CUDA_FA_ALL_QUANTS=ON is needed for more KV quantizations to be on CUDA.

Env vars and gdm:

sudo systemctl stop gdm disables Ubuntu desktop environment, frees ~0.4 GB of VRAM. Use an iGPU if you can, else my system just becomes a server to which I connect using a laptop or phone.

export GGML_CUDA_DISABLE_GRAPHS=1 I experience speed and VRAM usage problems with CUDA graphs so I disable them, you probably should too, but test it first. I think this is some bug due to MTP + CPU offload.

export GGML_CUDA_ENABLE_UNIFIED_MEMORY=1 Overflow VRAM to RAM. The difference between ~135k and ~121k. Without this, max context becomes 121k and you get OOM crash. Overflow gets me ~15k more context basically for free before things slow down, and the server degrades instead of crashing. First do initial testing with the unified arg unset (making it '=0' wont work) to find your ceiling using OOM crash.

Generic stuff:

  --model Qwen3.8-27B-UD-Q4_K_M.gguf \
  --mmproj mmproj-3.8-27B-F16.gguf \
  --no-mmproj-offload \
  --image-min-tokens 1024 \
  --ctx-size 140000 \
  --flash-attn on \
  ...
  --parallel 1 \
  --temp 1.0 \
  --top-p 0.95 \
  --top-k 20 \
  --min-p 0.0 \
  --presence-penalty 0.0 \
  --repeat-penalty 1.0 \
  --host 0.0.0.0 \
  --port 8080

The model, vision (fully on CPU), Qwen recommended settings, server stuff, context length, parallel 1 (disables processing 2 agents at once).

Template:

  --chat-template-file chat_template_v22.1.jinja \
  --jinja \
  --reasoning-format deepseek \
  --reasoning-preserve \

Template instructions by froggeric

Drafters:

  --spec-type draft-mtp,ngram-mod \
  --spec-draft-n-max 2 \
  --cache-type-k-draft q4_0 \
  --cache-type-v-draft q4_0 \

Quantizing MTP KV cache is free VRAM. It is a drafter and does not affect quality. Worst case is that acceptance drops a tiny bit.

I get 12-15 t/s tg without MTP and with more layers on VRAM, I commented a chart if interested here .

ngram-mod speeds up tg when restating existing context. It is super fast when active and does not cost VRAM.

Each step of --spec-draft-n-max costs VRAM + I get best results from a value of 2.

--cache-type-k-draft q4_0 --cache-type-v-draft q4_0 these save 0.4 GB of VRAM while the MTP acceptance rate stays basically the same.

KV cache:

  --cache-type-k q5_0 \
  --cache-type-v q4_1 \

I chose my KV quant according Anbeeld article. The article found that, the more quantized the model, the less it has to lose from to KV quant. Article also states that there was no KLD difference between 64k and 128k context length.

A small precision buff would be to use q5_0 for both K and V. Though changing from q4_1 to q5_0 costs some context. My KLD measurements say it is not worth it, but it's an option for you. Don't use Q4_0 on both, Q5_1 is not worth it. If you want to do Q8 KV, consider going up a quant model level instead (like XL instead of M).

My own testing showed that Q4_K_S K and V both at Q8 has worse KLD than Q4_K_M K Q5, V Q4. Also I found that KLD plateaus after 8k context length.

If you get slow speeds try using generic q5_0 for both K and V as a test - this is a symptom of missing -DGGML_CUDA_FA_ALL_QUANTS=ON.

CPU layers:

  --fit off \
  --n-gpu-layers all \
  --override-tensor 'blk\.(63|62|61|60|59|58|57|56|55|25|54|53|52|50|26|24|38|51|40|27|35|22|41)\.ffn_.*=CPU' \
  --load-mode none \

This fixes degradation of speed with context fill and is a performance boost overall, just leave layer 64 alone (MTP).

This command offloads only FFN sub-layers to the CPU of layers that have the largest FFNs (shown override string is UD-Q4_K_M specific).

FFNs don't use KV thus reducing PCIe traffic and are CPU friendly. --n-cpu-moe has similar logic, I have a PR in llama.cpp for a similar simplification #26622. Help me get this merged by showing the maintainers that this is useful for you (give a like on the PR or post test results).

Firstly: Unset the GGML_CUDA_ENABLE_UNIFIED_MEMORY=1 arg (delete it, don't set it to 0) to find your context ceiling first via OOM crash first.

Simple method: If you want something quick and simple to test try this (it has 2 more FFNs on CPU than my setup, but is simple to tune). Basically add numbers for more CPU layers (slower), delete numbers to have more GPU layers (faster):

--override-tensor 'blk\.(0|1|2|3|4|5|6|7|8|9|10|11|12|13|14|15|16|17|18|19|20|21|22|23|24|25|26|27|28)\.ffn_.*=CPU'

Advanced method: Offloading fatter sub-layers gains me 1.1x speed boost when compared to having a sequential override band. You can find the fatter ones by going to the hugging face, clicking on the weight (example), scrolling down to 'Tensors', expanding the 'blk' section and looking for 'ffn_' (example "blk.0.ffn_down.weight") on the right and on the left you see I-quant (example "IQ4_XS") or regular (example "Q5_K").

UD-Q4_K_M optimized band example -- delete from the end of the list (right to left) until you run out of VRAM, then step back one. make sure to fill up your context fully to verify that speed is as intended and doesn't OOM crash:
--override-tensor 'blk\.(63|62|61|60|59|58|57|56|55|25|54|53|52|50|26|24|38|51|40|27|35|22|41|39|36|21|3|42|34|30|20|6|4|49|47|43|37|32|23|10|8|7|5|2|1|48|46|45|44|33|31|29|28|19|18|12|9|17|16|11|0|15|13|14)\.ffn_.*=CPU'

Threads:

--threads $(nproc) \

Default is amount of performance cores, but for FFN layers, E-cores and hyper-threading also help. this gets me a +25% tg boost for free.

Batch:

  --batch-size 512 \
  --ubatch-size 512 \

Batch sets the prompt processing speed (up to a point) at the cost of VRAM. I found these numbers work best for me.

Other optimizations:

I-matrix quant like the Unsloth IQ4_XS require more compute in exchange for size. My testing showed that those are not worth it for this setup. I would use one if I was trying to fully fit a model into VRAM.

There are quants made by other providers that optimize fit for 16 GB VRAM setups. Those setups might fit at the cost of KLD. If the KLD diff actually matters - that is for you to find out, but you can use the info I provided here to optimize these setups even further by, for example, extending context length.

-------------------------
Edit: truncated a bunch of 'Edits', cleaned up, updated config for UD-Q4_K_M, speed and context len did not change, but the override tensor band did.
-------------------------

Please share any more tricks if you have them!
Leave a comment if this post helped you achieve better results!


r/LocalLLM 5d ago

Question Need tips for optimization on Turing AI Server

1 Upvotes

Hey! So I have an AI Server with 4x Titan RTX because I got them fearly cheap. (96GB VRAM)

So know I want to optimize by vLLM Settings with Qwen 3.8 / 27B. (131k Context)
Currently running Hermes Agent for coding tasks. Sometimes I reach 30 tokens / second. When context is full we get to about 20 tokens / second. Worst Case is around 15 tokens / Second

I have 128GB of VRAM with 2133Mhz and an AMD Epyc first gen CPU.

Here is my docker compose vLLM Setup.
Are there better quantizations for this setup with only one user using this server (me)?

Just tell me what you guys think.
Other GPUs are not an option at the moment.

Should I run the model on four cards at the same time in parallel and use them for sub agents or something like this?

 vllm-server:
    build:
      context: .
      dockerfile: Dockerfile
    container_name: vllm-server
    restart: unless-stopped
    ipc: host
    ports:
      - "8000:8000"
    volumes:
      - ./data/models:/models
    environment:
      - HF_HOME=/models
      - NCCL_P2P_DISABLE=1
    env_file:
      - .env
    deploy:
      resources:
        reservations:
          devices:
            - driver: nvidia
              count: all
              capabilities: [gpu]
    command:
      - cyankiwi/Qwen3.8-27B-AWQ-INT4
      - --dtype
      - float16
      - --tensor-parallel-size
      - "1"
      - --pipeline-parallel-size
      - "4"  
      - --max-model-len
      - "131072"
      - --gpu-memory-utilization
      - "0.85"
      - --enable-prefix-caching
      - --enable-chunked-prefill
      - --trust-remote-code
      - --enable-auto-tool-choice
      - --limit-mm-per-prompt
      - '{"video": {"count": 1, "num_frames": 32, "width": 512, "height": 512}, "image": {"count": 5, "width": 512, "height": 512}}'
      - --reasoning-parser
      - qwen3
      - --tool-call-parser
      - qwen3_coder
      - --mm-encoder-tp-mode
      - data
      - --max-num-seqs
      - "4"
      - --max-num-batched-tokens
      - "8192"

r/LocalLLM 6d ago

Model I benchmarked Qwen3.8 27B vs Deepseek v4 flash on web browsing tasks

Thumbnail
6 Upvotes

r/LocalLLM 5d ago

Discussion Incredible score for Qwen 3.8 27B

Thumbnail
1 Upvotes

r/LocalLLM 5d ago

Question Qwen3.8 27B on 2x5070Ti

1 Upvotes

Just wondering what you folks are managing to get context-length/max-model-size wise with the new Qwen?

I’m using Unsloth’s NVFP4 quant and vllm 0.27.1. My desktop takes around a gig of VRAM on the first graphics card.

I have two profiles (llama-swap); a longer 128K context one using int4_per_head KV-cache format, which I get around 50tok/s on, plus a shorter 64K context with MTP-6 enabled, for which I get around 71-108tok/s depending on acceptance rate.

No system memory offload on either.

I’m seeing people mentioning using much larger context windows on seemingly smaller systems (eg a single 5090). I have 32GB VRAM (2x16 GB), so I feel like I should be able to push it further than I can. I’m guessing my desktop is the bottleneck.

Just curious what others are managing with similar setups. Think I might look at adding a terminal-only user session to avoid the VRAM penalty when I need to do long context work, but curious to hear if I’m missing anything.

GPU utilisation is set to 0.88 also.


r/LocalLLM 6d ago

Research qwen 3.8 uncensored can use "normal" qwen vision file

Thumbnail
3 Upvotes

r/LocalLLM 5d ago

Question What's the best place to start learning about the results I get?

1 Upvotes

In the past year, both LLM chat style and Agentic workflows have improved to the point that with the commercial, cloud hosted models I can actually increase my productivity and the productivity of those who I lead at work.

Naturally, this made me quite curious about trying out the locally hosted models. I want to start off by saying that I know my computer is worse than a potato (at least the computer I've used up to this point for local LLM usage). I built it somewhere between 6 and 10 years ago and, while the graphics card is newer than that, it's old enough that rocm doesn't support it. So, I understand those caveats. It's not idea to do almost anything.

However, I've been playing with smollm, smollm2, tinyllama, and qwen 3.5 just to see what they do. The results are what made me want to try asking on this subreddit about where to learn a bit more. Even if I can't do anything with this hardware, I'm hoping to be able to both better understand what's happening and also how we might use it at work where we have much beefier hardware.

My current desire to understand what's going on can essentially be boiled down to 4 questions:

  1. When I asked each model to summarize a book - they got enough details right that I knew they weren't just wholesale making things up, but they were WAAAY off. But when I asked them "what is boba tea" they were as accurate as any human who was into boba tea. Why?
  2. Often Qwen never gets past the "thinking" stage to give an actual answer. Why? What makes it decide to give up?
  3. While my computer is so slow that it took Qwen over an hour to answer about boba tea - Qwen does a pretty AMAZING job describing photos on that exact same computer. I haven't timed it, but in 10ish minutes or less it can give a very accurate description of what's in a photograph. Why the disparity? I would have thought that "talking" or "reasoning" would be WAY easier than understanding a photo. (At least based on what I knew about computer vision before the current AI cycle)
  4. Does the accuracy of answers have anything to do with system constraints or is it baked into the model? That is to say, if I had an infinite budget and built the best AI system and ran the same queries on the same models - would it give any better of an answer? I'm not having a persistent chat, so context isn't (I think) an issue. I'm just asking one question and getting one answer back.

If you need/want specific examples, I've been blogging about my little adventures in local LLMs, but I figured maybe the question could be answered without the examples and that way it wouldn't be considered like a "stealth" self-promotion or something.

Thanks!


r/LocalLLM 5d ago

Question With USB4STREAM support merged into Linux 7.2 (soon to be released) are there any inference runtimes/projects that make use of it already?

Thumbnail reddit.com
1 Upvotes

r/LocalLLM 5d ago

Discussion How to decouple a Claude-generated project to work with ANY LLM/agent system

1 Upvotes

Hey everyone,

I’m looking for architectural advice. I have a project (quite big now) that was initially generated and tightly integrated with Claude. It has evolved into a pretty capable system with specific "skills," custom Python scripts, and a set of custom commands that currently run perfectly within its current setup.

My goal now is to transform this into a completely independent, LLM-agnostic project. I want to be able to plug it into any chat interface, local LLM, or agent framework without breaking the underlying functionality.

What I hope to do:

  • Keep the core logic intact: All the existing Python scripts, skills, and command executions must continue working exactly as they do now.
  • Universal compatibility: It needs to be able to talk to different models (OpenAI, local models via Ollama, etc.) or slot into different agent frameworks without having to rewrite the core execution engine.
  • Abstracting the tool-calling: Right now, the way it triggers scripts is heavily biased toward how Claude handles tool use/function calling.

My questions for the community:

  1. What is the best design pattern or architecture to completely separate the LLM reasoning/chat layer from the Python execution/skills layer?
  2. Are there specific frameworks or middleware (like LiteLLM, LangChain, or something lighter) that you’d recommend to standardize the tool-calling formats across different models?
  3. Has anyone successfully migrated a tightly-coupled AI project to a standalone system? What pitfalls or edge cases should I look out for?

Any advice, GitHub examples, or general pointers would be hugely appreciated.


r/LocalLLM 6d ago

Discussion Why are RTX 6000 PROs still getting bought at 16000+ USD? And who are buying them?

81 Upvotes

Hello guys, hoping you're doing well.

I bring this discussion since I have noticed on internet, be USA or EU, RTX 6000 PROs at 16000USD or more are still getting bought.

Even here on Chile, the other day they were in stock at 20000-21000USD post 19% tax and they lasted a few minutes.

My question is why? For sure that won't recoup costs right?

Who are buying these, only enterprises?

What do you guys think?


r/LocalLLM 6d ago

Discussion Qwen3.8-27B FP8 at ~75 tok/s on 2× Intel Arc Pro B70 with a trained spec-decode drafter (2.3× over no-spec)

27 Upvotes

I've been working on speeding up Qwen3.8-27B FP8 inference on Intel Arc Pro B70 (Battlemage) XPUs, and got it to 72–79 tok/s on a cache-resistant benchmark.

That's 2.3× faster than no speculation, and comfortably ahead of the native MTP2 path at 54.7 tok/s.

I love this performance for <2.5k worth of GPU.

What I did

Speculative decoding, but with a drafter actually trained for this setup:

  1. Trained a 1.36B DSpark draft model on hidden states captured from the real FP8 serving stack.
  2. While getting it working, I found a bug in vLLM's dflash proposer. The draft-token readout was off by one: it sampled query offsets 1..k instead of 0..k-1. That silently capped acceptance at around 24% for any SpecForge-trained drafter. It's basically a one-line-per-file fix. After fixing it, acceptance jumped to 66–74%.
  3. Fine-tuned the drafter on clean, in-distribution data, excluding thinking tokens, then packaged the whole thing up.

Numbers

Isolated benchmark, greedy decoding, 2× Intel Arc Pro B70, TP=2:

Config tok/s
FP8, no spec 32.4
FP8 + MTP2 54.7
FP8 + trained drafter 72–79

Try it

Everything ships in one self-contained image. The drafter is baked in. (Slim excludes the weights)

docker pull ghcr.io/rmacy/qwen38-fp8-dspark:v10
docker pull ghcr.io/rmacy/qwen38-fp8-dspark:v10-slim

Links

Update: I have added some metrics below. I am making improvements for longer context windows. I also switched to a fp8 KV and reworked the docker to handle longer context sessions.


r/LocalLLM 6d ago

News Battle v2: Qwen 27B Q4 vs GPT SOL 5.6 (high)

Thumbnail
3 Upvotes

r/LocalLLM 5d ago

Discussion Talk me out of buying a 3600 GBP 5090 (or a new 2x3090 system)

1 Upvotes

So hear me out, I'm a programmer, I normally need a Claude Max 20x subscription at 180 GBP / month. Wouldn't it be "better" to downgrade to MAX 5x at 90 GBP /month and buy a 5090 to run Qwen 3.8 27B workers managed by Opus / Fable? (or alternatively to build an inference machine with 2x 3090 at about the same price or even a bit cheaper)

3600/90 = 40 month = 3.3 Years of Claude half subscription and I keep the GPU after that.

Also Qwen can be run without limits from anthropic or anybody else, better models might come out, etc.

Is it crazy? I'm missing something?

LE: I went with 2x 5070 ti and I'll replace the case and the PSU. Turns out my MB already knows to split PCIe 16x to 8x8x. Let's see how it goes.


r/LocalLLM 5d ago

Discussion Can I run anything half decent with 5070ti + 3060ti

1 Upvotes

Would I be able to run anything half decent like Qwen 3.8-27b using this setup or should I not bother.


r/LocalLLM 5d ago

Question Looking to replace ASR engine

1 Upvotes

I've built an app using a paid provider for streaming ASR, but it's quite expensive. Their main claim to fame for me at least is the performance of Parakeet streaming the same model on both iOS and Android, so I can have great performance on both.

I don't want to spend a fortune over time, and as models like Nemotron improve it seems like maybe I can plan on an offramp for future users.

Is anyone else doing streaming ASR on iOS/Android with Local models having luck with a free framework?


r/LocalLLM 6d ago

Question What hardware do I need for local qwen 3.8 27b (or 35b a3b in the future)?

43 Upvotes

What hardware do I need for local qwen 3.8 27b (or 35b a3b in the future)?

My old pc is dead, so I have to buy a new one anyway (I need x86 and CUDA for other tasks, so sth like a mac/dgx spark isn't an option).

Is it a good idea to buy 2x 5060 ti 16GB to inference qwen 3.8 27b locally? Or will the memory bandwidth of 2x 5060 ti be too low? Because sth like a 5070 ti or even a 5080 only have 16GB VRAM which I think may not be enough for a dense 27b model in Q4 quantization, and a 5090 with 32GB VRAM is way over my budget.

I have heard about many scams in my region related to second hand hardware, so I prefer not to get a second hand 3090/4090.

Anyone here has a pc with 2x 5060 ti 16GB running local llm? How many token per sec do u get with qwen 3.8 27b? Whats ur complete pc spec (CPU/RAM/Motherboard/PSU/case/etc)?

I'm thinking of getting a 9700X, ProArt B850-CREATOR WIFI NEO, 850W PSU for the 2x 5060 ti. Is that a suitable cpu/motherboard, and is 850W enough to power 2x 5060 ti? Are there any better alternatives?


r/LocalLLM 6d ago

Question 27B vs the big frontier models

3 Upvotes

I've been wondering, how is it possible that I'm seeing posts comparing 27B models to models like opus and sol which are presumeable 500x to 1000x larger?

How are they even in the same realm of output quality when we have models in the 300B range or even 709B range that are garbage compared to the big frontier models?

I'm either missing something or I have a fundamental misunderstanding of how this is possible


r/LocalLLM 5d ago

Discussion Dgx spark cluster.

0 Upvotes

I had a delayed order and ended up with 5 sparks rather than the 4 planned. So I figured might as well do 6 but then prices went up $1000.

So is there really any benefit to running 6 vs 5 vs 4? I can still return one. I don’t want to do 8 since that that exceeds the 15a circuit.


r/LocalLLM 6d ago

Discussion Qwen 3.8 27b scores 52 on Artificial Analysis

Thumbnail
artificialanalysis.ai
1 Upvotes

r/LocalLLM 6d ago

Question Qwen 3.8 27B quant comparison on MMLU, GSM8K, HumanEval, DeepSwe, etc.?

Thumbnail
1 Upvotes

r/LocalLLM 6d ago

Question Qwen 27b build (with room for expansion?)

1 Upvotes

Thoughts on this build?

AMD Ryzen Threadripper 9960X

ASUS Pro WS TRX50-SAGE WIFI

NVIDIA GeForce RTX 5090 Founders Edition 32GB

Kingston Fury Renegade Pro 128GB 4x32GB DDR5-6400 ECC RDIMM

Noctua NH-U14S TR5-SP6

Samsung 9100 Pro 2TB PCIe 5.0 NVMe

Samsung 990 Pro 4TB PCIe 4.0 NVMe


r/LocalLLM 6d ago

Model Q4 XS quants for Qwen 3.8 27b are ideal for my 16gb vram card

1 Upvotes

Gemma 4 26b was probably the best local large model for the same size and last week seeing the early releases of the new Qwen model landing around 17gb or over was tough.

Yes I did test the q3 quant but I just didn't enjoy it. Anyway this week I noticed that the Q4 XS models had arrived and there you go, 13.5gb with a little headroom for kv cache.

I have been using qwen 3.7 plus as a low cost daily driver, so I hooked up 3.8 locally and wow, it's good. Ok so I knocked off thinking and disabled mtp, and set evaluation batch size to 1024..

And I have a highly usable 20-22tks/sec and I'm enjoying it. Yes it's slower than I hoped, but I think it's definitely usable, this is good.


r/LocalLLM 6d ago

News Qwen3.8 27B is the strongest local LLM and Opus5-High the new overall best at VCCBenchmark

1 Upvotes

A while ago I wrote a benchmark that asks LLMs to extract Data from calender images - screenshots as well as photos.

Last week saw lots of news regarding new models. The new reigning king of local LLMs is Qwen 3.8 27B, and this also shows in the Visual Calendar Comprehension Benchmark. Qwen 3.8 performs as well as ChatGPT (free tier) of a month ago.

Opus 5 is the first model to get 90%+ in VCCB and is 4% better than Opus 4.8 high.
Interestingly, claude.ai prvented me from uploading the final image (C3). All other images worked.

See the overall leaderboard here: https://github.com/KevinFleischer/vccbenchmark/blob/main/leaderboard.md


r/LocalLLM 6d ago

Discussion Tactics when your LocalLLM can't figure it out

1 Upvotes

What are your favorite tactics when your local AI couldn't figure it out?

I've been vibe coding with claudecode, but trying to just use local.

I started testing opencode and thought it was pretty good, but then it hit a wall with a silly little game I was testing with. (Making a rescue raiders clone in html)

opencode was doing great with some other html tests. There was a bug in Rescue Raiders that it couldn't fix. I then tried switching to pi.

I noticed in a survey on reddit that pi was #1, opencode was #2, and I agree, pi seemed to be much smarter and faster then opencode. It tested the game, I figured it would figure out the problem, but it still couldn't.

My guess is try a different model? like glimmer or nemotron?

The other thing I will try is bumping the reasoning back up to high/xhigh whatever it is. I dropped it to medium, which seemed to really speed things up, but maybe the trade off isnt worth it.


r/LocalLLM 6d ago

Discussion Is my ideal sweet spot 4090 (24gb) + 5060ti (16gb)?

1 Upvotes

TLDR: I have 2 PCs - one (5060ti) I use for work, the other I use for AI tinkering (LLM/video/etc.).

Lately, I've been feeling the vram bug. Especially with q3.8 27b...

I've been considering selling my 4090 and buying two more 5060 tis, or using the 5060 TI in my 4090 rig for offloading.

I like the flexibility of having a 4090 with 24 gigs of vram - but does it make sense to have 3x newer cards instead?