-
-
Notifications
You must be signed in to change notification settings - Fork 9.9k
[Misc] local import code clean #23420
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
Signed-off-by: Andy Xie <[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 cleans up local imports of contextlib.nullcontext
by moving them to the top level of the files. This is a good refactoring that improves code readability and consistency. The changes in vllm/v1/worker/gpu_worker.py
and vllm/worker/worker.py
are correct and follow best practices. I have reviewed the changes and found no issues.
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 for cleaning this up!
Signed-off-by: Andy Xie <[email protected]> Signed-off-by: FFFfff1FFFfff <[email protected]>
Signed-off-by: Andy Xie <[email protected]>
Signed-off-by: Andy Xie <[email protected]>
Signed-off-by: Andy Xie <[email protected]> Signed-off-by: Xiao Yu <[email protected]>
Signed-off-by: Andy Xie <[email protected]> Signed-off-by: Xiao Yu <[email protected]>
Signed-off-by: Andy Xie <[email protected]>
Signed-off-by: Andy Xie <[email protected]>
Signed-off-by: Andy Xie <[email protected]>
Signed-off-by: Andy Xie <[email protected]>
Signed-off-by: Andy Xie <[email protected]>
Signed-off-by: Andy Xie <[email protected]>
Signed-off-by: Andy Xie <[email protected]>
Signed-off-by: Andy Xie <[email protected]>
Signed-off-by: Andy Xie <[email protected]>
Signed-off-by: Andy Xie <[email protected]>
Purpose
local import code clean
Test Plan
NA
Test Result
NA
(Optional) Documentation Update
NA
Essential Elements of an Effective PR Description Checklist
supported_models.md
andexamples
for a new model.