Batch Size Compute Shift
A dense transformer's decode step reads roughly 2P bytes of fp16 weights per forward pass, independent of batch size B, while it performs roughly 2BP FLOPs (each of the B sequences reuses the same weights). As B increases, what happens to the step's operational intensity (FLOPs/byte), and what's the practical consequence?
Sign in to answer questions and track your progress
Sign In