diff --git a/python/sglang/srt/layers/attention/dsv4/v41_indexer/scoring.py b/python/sglang/srt/layers/attention/dsv4/v41_indexer/scoring.py index d9022d318c..fcd2f76c3a 100644 --- a/python/sglang/srt/layers/attention/dsv4/v41_indexer/scoring.py +++ b/python/sglang/srt/layers/attention/dsv4/v41_indexer/scoring.py @@ -578,7 +578,9 @@ def select_compact_prefill( indices, chunk.scores, chunk.lens, - inputs.req_rows[chunk.tok] if inputs.out_page_indices is not None else None, + materialize_prefill_request_rows(inputs)[chunk.tok] + if inputs.out_page_indices is not None + else None, req_to_token, inputs.out_page_indices, inputs.out_raw_indices,