Skip to content

u/atomfaust

In this archive from May 2014 to Nov 2026

2
posts
6
comments
0
media
16
score

Good catch to ask — actually no, I ran mine with KV Cache Quantization OFF entirely for that test, full-precision cache the whole way. That's part of why it used the memory it did at 32K.

If you're seeing real gains from enabling it and dropping to 64K, that tracks — quantizing the K/V cache (in LM Studio there are usually separate bit settings for each, both can be set to Q8) trades a bit of accuracy for real memory savings, which sounds like it's exactly what fixed your swap problem.

For what it's worth, there's a thread going around right now (someone tested Qwen 3.8 27B against a real codebase, had Sonnet 5 grade the output) where multiple people pointed at quantized KV cache as the likely source of most of the minor errors it made. So there is a real tradeoff there — just seems like in your case it was worth it to stop swapping. If accuracy on something important ever seems off, that's the first knob I'd try turning back down.

1 points

164K context is almost certainly your real problem, not the quant. KV cache size scales with context length, so at 164K you could be adding tens of extra GB on top of the model weights themselves — that adds up fast even before you factor in which quant you're on.

A few things worth checking:

  1. Find out which quant Bionic is actually loading. Check the file size on disk in LM Studio for whatever model it's pointing at — roughly Q4 ≈ 16GB, Q6 ≈ 22GB, Q8 ≈ 29GB, BF16 ≈ 56GB. Bionic apparently doesn't surface this clearly, which is annoying but worth confirming directly.

  2. Drop context way down and see what happens. I ran the same model (Q8, 8-bit) at 32K context on an M5 Pro 64GB and it handled a genuinely massive multi-part reasoning + coding task without ever touching swap, peaking around 49GB. 164K is over 5x that — try 32K-64K first and watch what your memory usage actually does.

  3. If you genuinely need very long context regularly, KV cache quantization becomes worth the tradeoff at that point — it costs you a bit of accuracy but saves real memory. At 92-93% RAM usage with zero headroom you're closer to system-wide slowdown risk than a quality problem worth optimizing around.

Worth watching Activity Monitor's actual Swap Used number while you test rather than trusting the app's context/memory display — that's the only number that tells you if you're actually in trouble.

5 points

End of this list.

Back to top

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.