Skip to content

Conversation

mgoin
Copy link
Member

@mgoin mgoin commented Sep 23, 2025

Purpose

Test Plan

Test Result


Essential Elements of an Effective PR Description Checklist
  • The purpose of the PR, such as "Fix some issue (link existing issues this PR will resolve)".
  • The test plan, such as providing test command.
  • The test results, such as pasting the results comparison before and after, or e2e results
  • (Optional) The necessary documentation update, such as updating supported_models.md and examples for a new model.
  • (Optional) Release notes update. If your change is user facing, please update the release notes draft in the Google Doc.

…stom_op

Signed-off-by: mgoin <mgoin64@gmail.com>
@mergify mergify bot added deepseek Related to DeepSeek models qwen Related to Qwen models rocm Related to AMD ROCm labels Sep 23, 2025
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 refactors the direct_register_custom_op function by making the mutates_args and dispatch_key parameters optional. This change simplifies the function's call sites by removing redundant default arguments, leading to cleaner and more maintainable code. The modifications are applied consistently across numerous files. The overall change is a good improvement, and I have no further comments.

Copy link
Member

@yewentao256 yewentao256 left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for the work!

@yewentao256 yewentao256 added the ready ONLY add when PR is ready to merge/full CI is needed label Sep 23, 2025
@yewentao256 yewentao256 enabled auto-merge (squash) September 23, 2025 20:39
@yewentao256 yewentao256 merged commit 7361ab3 into vllm-project:main Sep 23, 2025
80 checks passed
@mgoin mgoin deleted the remove-redundant-direct_register_custom_op-args branch September 23, 2025 23:24
FeiDaLI pushed a commit to FeiDaLI/vllm that referenced this pull request Sep 25, 2025
yewentao256 pushed a commit that referenced this pull request Oct 3, 2025
…stom_op (#25512)

Signed-off-by: mgoin <mgoin64@gmail.com>
Signed-off-by: yewentao256 <zhyanwentao@126.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deepseek Related to DeepSeek models qwen Related to Qwen models ready ONLY add when PR is ready to merge/full CI is needed rocm Related to AMD ROCm
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants