llama.cpp Drops Key Multi-GPU Flag, But New Features Restore Lost Speed
A developer running a dual Tesla P40 GPU setup built their entire inference pipeline around the llama.cpp flag '-sm row', which delivered 12–14 tokens/sec compared to roughly 7 for layer split mode. In July 2026, upstream llama.cpp removed the flag entirely — not as a deprecation but a full deletion — forcing a shift to layer split as the only multi-GPU option. Earlier testing had also revealed that an alternative 'graph' split mode, claimed to be 40% faster, caused hard CUDA crashes on Pascal-generation GPUs, underscoring the risk of relying on unverified community benchmarks. A separate architecture-level bug in Gemma 4's shared KV layers had already made row split unusable for that model family, revealing that split mode affects correctness, not just performance. However, parallel inference slots and speculative decoding on the new stack pushed aggregate throughput beyond what the removed flag had previously achieved, ultimately leaving the setup faster than before.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in