logoalt Hacker News

dcowtoday at 4:02 PM2 repliesview on HN

Is token rate a function of parameter size?


Replies

unrahultoday at 5:32 PM

Yes, a quick back of the envelope math is 0.65 * (memory bandwidth of the card / (model weights in bytes + kv cache in bytes) ~ practical decode tps. Below context around 32k (depends upon the model but again can be used as a placeholder number) you can ignore the kv cache in bytes and the math becomes just about memory bandwidth and model weights in bytes.

rbanffytoday at 4:39 PM

Not quite linear, but yes.