-
-
Notifications
You must be signed in to change notification settings - Fork 11.7k
[Minor] Rename ec_producer field to is_ec_producer
#28884
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: 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 correctly renames the ec_producer field to is_ec_producer in vllm/v1/engine/core.py. This change improves code clarity and follows Python's naming conventions for boolean variables.
However, the refactoring appears to be incomplete. I've noticed that vllm/v1/executor/ray_executor.py still uses the old ec_producer name. To ensure consistency across the codebase and prevent potential confusion or bugs in the future, I recommend renaming self.ec_producer to self.is_ec_producer in vllm/v1/executor/ray_executor.py as well. Specifically, the definition at lines 103-106 and its usage at line 404 should be updated.
…28884) Signed-off-by: Nick Hill <[email protected]>
…28884) Signed-off-by: Nick Hill <[email protected]> Signed-off-by: Bhagyashri <[email protected]>
Signed-off-by: Nick Hill <[email protected]> Signed-off-by: jiang1.li <[email protected]>
…28884) Signed-off-by: Nick Hill <[email protected]>
…28884) Signed-off-by: Nick Hill <[email protected]>
…28884) Signed-off-by: Nick Hill <[email protected]>
Addressing this review comment from #28768.