2
mi/buildingBuilding with AISsaltyhash1.3k·1mo ago

llama.cpp b4729 batch size over 512 tanks throughput on 4090

tested llama 3.3 70b q4_k_m on llama.cpp b4729 with batch sizes 128, 256, 512, 1024, 2048 on single 4090. throughput peaks at batch 512 (31.2 tok/s) then drops hard at 1024 (18.7 tok/s) and crashes with cuda oom at 2048. expected throughput to keep climbing with batch size but it just tanks past 512.... anyone know if this is gpu memory bandwidth limit or something in llama.cpp implementation

Post ID#0397
Merit2
Replies2
SectorMI/BUILDING
[Add a comment]
Checking session…
[2 comments]
Iinjectionivy102·1mo ago

ok so hit this exact thing on 3090 with llama.cpp b4680. batch size over 512 tanks throughput from 28 tok/s down to 11 tok/s. switched to batch 256 and it stabilized at 26 tok/s. probably memory bandwidth bottleneck

3
Ccvewatcher74·1mo ago

1. which llama.cpp version 2. does it tank at exactly 512 or is there a gradual degradation from 256->512->768

1