[Worker] Index the persistent per-request-slot block table under PP

Under pipeline parallelism the Mamba/GDN state-copy path indexed a block-table
row gathered for a different step. The align post-process now indexes the
persistent per-request-slot table, and fails closed when it is absent.

Co-Authored-By: Hinata <hinata@idihore.id>
Signed-off-by: MOVZX <movzx@yahoo.com>
This commit is contained in:
2026-10-09 19:43:54 +07:00
co-authored by Hinata
parent 41f6691c26
commit 62acb3dab8
4 changed files with 718 additions and 10 deletions
+4
View File
@@ -694,6 +694,10 @@ class GPUModelRunner(LoRAModelRunnerMixin):
cp_rank=self.dcp_rank,
cp_interleave=self.cp_interleave,
)
# Mamba "align" indexes a block table from the PP-deferred post-process,
# which runs pp_size steps after the gather that produced its
# idx_mapping; give the model state the persistent per-req-slot tables.
self.model_state.set_block_tables(self.block_tables)
self.pcp_manager = pcp.maybe_build_pcp_manager(
self.vllm_config,
self.device,