[Bugfix][MRV2] Use int64 index mappings to fix row-offset overflow (#60736)
Signed-off-by: Nick Hill <nickhill123@gmail.com> Co-authored-by: vllmellm <vllm.ellm@embeddedllm.com> Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
vllmellm
Claude Opus 5.5
parent
51144dd83e
commit
ed7ae705a1
@@ -653,9 +653,7 @@ class PCPManager:
|
||||
idx_mapping=local_to_global_req_idx,
|
||||
idx_mapping_np=local_to_global_req_idx_np,
|
||||
expanded_idx_mapping=local_to_global_req_idx,
|
||||
expanded_local_pos=torch.zeros(
|
||||
num_local_reqs, dtype=torch.int32, device=self.device
|
||||
),
|
||||
expanded_local_pos=input_batch.expanded_local_pos.new_zeros(num_local_reqs),
|
||||
num_scheduled_tokens=local_num_scheduled_tokens,
|
||||
num_tokens=num_local_tokens,
|
||||
num_tokens_after_padding=num_local_tokens_padded,
|
||||
|
||||
Reference in New Issue
Block a user