Skip to content
Peter Styk HPC & AI Platform Engineer

Videos · Qwen3.8-27B on one AMD Instinct MI300X

Prefill against decode: a long prompt slows the model twice

A long prompt slows the model twice: first while it is read, then on every token it writes. At full context the answer comes at 1.8 tokens a second, down from 43.6.

In the series
8 of 27
Kind
One mechanism followed across runs
Length
1:06
Sound
None yet: music is the last stage
Run
20261125T201346Z-series

The report for this run

  • Cache growth A full cache throws 47 streams out, and all 400 still finish PDF
  • Cache pressure A plan that missed its goal: long prompts loaded too slowly to fill the cache PDF
  • Context ladder On the default kernel, speed collapses as the context grows PDF
  • Mixed lengths One long prompt among 32 streams, and everyone's answer stops PDF
  • Overload Overload costs time, never a request PDF
  • Staircase A ceiling at 588 streams, and about 4,000 answer tokens a second PDF

Runs it is compared against

Same run

Other videos from this run

The whole series