Benchmark: llama.cpp batch/ubatch impacts on performance

PhilippeEiffel · reddit · 2026-08-24

A benchmark test of DeepSeek v4 Flash on a DGX Spark machine analyzing the impact of batch and ubatch parameters on Pre-filling (PP) and Token Generation (TG) speeds. Results show that increasing ubatch improves PP speed but unexpectedly decreases TG speed, prompting questions about ubatch behavior in the code.

Original post →

More from Infra

Infra channel →