Sidequest: Making Qwen 3.8 27B run as fast as possible for us VRAM-poor Nvidia 5...
Troed Sångberg @troed@swecyb.com
Sidequest: Making Qwen 3.8 27B run as fast as possible for us VRAM-poor Nvidia 5060Ti 16GB owners.
I don't know where this will end up, but I've spent a few nights on a fork of the Blackwell-only project NInfer but for low-VRAM cards like the 5060. NInfer is the fastest way to run Qwen-models Blackwell, but caters only to setups where the model(s) fits completely in VRAM.
Stainless-Bacon was the first (that I saw) that found a way to run a dense model like the 27B with acceptable performance by offloading the ffn layers specifically to RAM. My fork of NInfer (called "Inferno") starts out by adding this, and now all the rest of the work is meant to gradually make it surpass hosting the model using llama.cpp
Current delta inludes the ffn offloading, activation rotation ("TurboQuant") of the KV cache and new KV cache quants. I'm sort of already at llama.cpp speed so from now on I think everything should just get faster.
Repo here if you want to keep updated: https://git.sync.wtf/troed/inferno
LLM chatting as always at https://matrix.to/#/#LocalLLaMa:argot.se