![]() |
|
prefix caching in llama.cpp with PyTorch - Printable Version +- Inference (https://www.datasculpting.ai/inference) +-- Forum: Inference Engines (https://www.datasculpting.ai/inference/forumdisplay.php?fid=9) +--- Forum: llama.cpp / GGUF (https://www.datasculpting.ai/inference/forumdisplay.php?fid=35) +--- Thread: prefix caching in llama.cpp with PyTorch (/showthread.php?tid=839) Pages:
1
2
|
prefix caching in llama.cpp with PyTorch - vrambandit - 10-06-2026 Posting this in case it saves someone else a little time. If you were starting from scratch today for this use case, what would you choose first and what would you ignore? I'm especially interested in mistakes worth avoiding. For context, I'm not chasing leaderboard numbers. I mostly want the system to feel consistent day to day. Re: prefix caching in llama.cpp with PyTorch - thetagrid15 - 10-06-2026 Thanks, that helps. I don't think your conclusion is far off. Worth rechecking your defaults though, because one bad assumption can make the rest of the thread look confusing. Re: prefix caching in llama.cpp with PyTorch - mellowwire98 - 10-07-2026 following this because I'm in the same boat. Re: prefix caching in llama.cpp with PyTorch - vrambandit - 10-07-2026 Quote:following this because I'm in the same boat. My first guess would be this: Start by verifying the driver/runtime combo, then test with a smaller prompt, then look at NVFP4. Not glamorous advice, but repeatable baselines save a lot of time. Re: prefix caching in llama.cpp with PyTorch - latentcraft - 10-07-2026 What worked for me was pretty simple. Start by verifying the driver/runtime combo, then test with a smaller prompt, then look at consumer GPUs. A lot of these threads end up being one bad config plus a pile of conclusions drawn from it. Re: prefix caching in llama.cpp with PyTorch - bytesupply76 - 10-07-2026 that fixed it for me too. Re: prefix caching in llama.cpp with PyTorch - vrambandit - 10-08-2026 I'd start with the simpler stack. The logs were somehow calmer than I was. Re: prefix caching in llama.cpp with PyTorch - pixelcrate82 - 10-09-2026 Good point. That matches what I saw on 7900 XTX. I got better results once I stopped chasing one metric and just looked at whether the workflow felt usable. Re: prefix caching in llama.cpp with PyTorch - macroforge - 10-10-2026 What worked for me was pretty simple. Start by verifying the driver/runtime combo, then test with a smaller prompt, then look at INT4. Not glamorous advice, but repeatable baselines save a lot of time. If you post your exact settings, people here can probably narrow it down pretty fast. Re: prefix caching in llama.cpp with PyTorch - thetagrid15 - 10-13-2026 What worked for me was pretty simple. Before rebuilding anything, I'd test one clean baseline with DeepSeek and compare from there. Not glamorous advice, but repeatable baselines save a lot of time. |