-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
[core][misc] keep compatibility for old-style classes #10356
Conversation
Signed-off-by: youkaichao <[email protected]>
👋 Hi! Thank you for contributing to the vLLM project. Once the PR is approved and ready to go, your PR reviewer(s) can run CI to test the changes comprehensively before merging. To run CI, PR reviewers can do one of these:
🚀 |
@@ -99,13 +99,34 @@ def _initialize_model(vllm_config: VllmConfig, prefix: str = "") -> nn.Module: | |||
param.name for param in signatures.parameters.values() | |||
if param.kind == inspect.Parameter.KEYWORD_ONLY |
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.
Can we allow POSITIONAL_OR_KEYWORD
arguments as well?
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.
relaxed the constraint to only vllm_config
and prefix
. does it sound good to you?
Signed-off-by: youkaichao <[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.
Looks good, thanks for addressing my comment!
…0356) Signed-off-by: youkaichao <[email protected]>
…0356) Signed-off-by: youkaichao <[email protected]> Signed-off-by: Maxime Fournioux <[email protected]>
…0356) Signed-off-by: youkaichao <[email protected]> Signed-off-by: rickyx <[email protected]>
…0356) Signed-off-by: youkaichao <[email protected]> Signed-off-by: Tyler Michael Smith <[email protected]>
…0356) Signed-off-by: youkaichao <[email protected]>
#10304 will be too annoying for users. let's keep the compatibility for a while, and only give a warning first.