Skip to content

Conversation

@wangxiyuan
Copy link
Collaborator

@wangxiyuan wangxiyuan commented Nov 18, 2025

Torch-npu 2.7.1 has fixed the device check bug. This patch can be removed now.

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a 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 removes a patch for apply_repetition_penalties that is no longer necessary due to a fix in torch-npu 2.7.1. The changes are correct and improve code maintainability by removing obsolete code. The removal of the patch file and its import is clean, and I see no issues with this change.

@github-actions
Copy link

👋 Hi! Thank you for contributing to the vLLM Ascend project. The following points will speed up your PR merge:‌‌

  • A PR should do only one thing, smaller PRs enable faster reviews.
  • Every PR should include unit tests and end-to-end tests ‌to ensure it works and is not broken by other future PRs.
  • Write the commit message by fulfilling the PR description to help reviewer and future developers understand.

If CI fails, you can run linting and testing checks locally according Contributing and Testing.

@wangxiyuan wangxiyuan added ready read for review ready-for-test start test by label for PR labels Nov 19, 2025
Copy link
Collaborator

@MengqingCao MengqingCao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@wangxiyuan wangxiyuan changed the title [misc] Remove useless patch [misc] Remove useless patch_logits Nov 25, 2025
@wangxiyuan wangxiyuan merged commit 9803165 into vllm-project:main Nov 25, 2025
61 of 66 checks passed
Kurumi5210 pushed a commit to lidenghui1110/vllm-ascend that referenced this pull request Nov 26, 2025
Torch-npu 2.7.1 has fixed the device check bug. This patch can be
removed now.

- vLLM main:
vllm-project/vllm@2918c1b

Signed-off-by: wangxiyuan <[email protected]>
Signed-off-by: Kurumi5210 <[email protected]>
845473182 pushed a commit to 845473182/vllm-ascend that referenced this pull request Nov 29, 2025
Torch-npu 2.7.1 has fixed the device check bug. This patch can be
removed now.

- vLLM main:
vllm-project/vllm@2918c1b

Signed-off-by: wangxiyuan <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready read for review ready-for-test start test by label for PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants