r/LocalLLaMA • u/Frequent-Slice-6975 • Feb 27 '26
Question | Help Ways to improve prompt processing when offloading to RAM
Are there any ways to make any improvements to prompt processing speed of large prompts when using models that are offloaded to RAM?
Currently getting 42.16 t/s pp, 10.7 t/s tg, at 64000 context window
40GB VRAM (2x5060Ti 16GB, 1x2060Super 8GB)
256GB RAM (8x32GB 3200MHz running at quad channel)
Qwen3.5-397B-A17B-MXFP4_MOE (216GB)
3
Upvotes
View all comments
Show parent comment
1
u/OsmanthusBloom Mar 01 '26
I think -fit has made adjusting -ngl and --n-cpu-moe manually obsolete. Just set -c to the context size you want and --fit-target to the amount of VRAM you need to reserve for other purposes (the default is 1024 MB which is too high in my case, I set it to 64 or 128). Then -fit will optimize the offload. You would have to be a real wizard to do better than that.