Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion tests/test_split_prefill.py
Original file line number Diff line number Diff line change
Expand Up @@ -1389,7 +1389,11 @@ def run(cuda_graphs):
pytest.fail("decode request did not reach its second recurrent step")
assert split_request.phase is RequestPhase.PREFILLING_RECURRENT
assert split_request.num_prefilled_tokens == 0
assert split_request.num_preluded_tokens == 2
# WCPB stages prompt chunks in a prelude wavefront: with
# total_ut_steps=4, prefill_chunk_size=2 and a 4-token budget, both
# of this prompt's chunks are staged together. num_prefilled_tokens
# stays 0 because the final recurrent depth has not completed.
assert split_request.num_preluded_tokens == 4

graph_counts = None
if e.model_runner.graphs is not None:
Expand Down
Loading