-
-
Couldn't load subscription status.
- Fork 10.9k
[Core] Remove unused prev_sampled_token_ids_invalid_indices input batch field
#26514
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
It looks like this must have been missed during refactoring of vllm-project#23569 before it was merged. Signed-off-by: Nick Hill <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code Review
This pull request aims to remove the unused prev_sampled_token_ids_invalid_indices field, which is a good cleanup. However, the change as presented in the diff appears to introduce a critical bug by failing to filter out invalid requests from prev_req_id_to_index. This could lead to incorrect behavior in asynchronous scheduling. I've provided a comment with a code suggestion to fix this by applying the necessary filtering. With that change, this PR should be good to merge.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks!
…atch field (vllm-project#26514) Signed-off-by: Nick Hill <[email protected]> Signed-off-by: xuebwang-amd <[email protected]>
…atch field (vllm-project#26514) Signed-off-by: Nick Hill <[email protected]> Signed-off-by: Dhruvil Bhatt <[email protected]>
…atch field (vllm-project#26514) Signed-off-by: Nick Hill <[email protected]>
…atch field (vllm-project#26514) Signed-off-by: Nick Hill <[email protected]>
…atch field (vllm-project#26514) Signed-off-by: Nick Hill <[email protected]> Signed-off-by: xuebwang-amd <[email protected]>
…atch field (vllm-project#26514) Signed-off-by: Nick Hill <[email protected]> Signed-off-by: 0xrushi <[email protected]>
…atch field (vllm-project#26514) Signed-off-by: Nick Hill <[email protected]> Signed-off-by: 0xrushi <[email protected]>
It looks like this must have been missed during refactoring done in #23569 before it was merged.
@benchislett