-
-
Notifications
You must be signed in to change notification settings - Fork 11.1k
[Frontend] CompilationConfig overhaul (#20283): deprecate use_inductor in favor of backend, simplify custom_ops #26113
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
[Frontend] CompilationConfig overhaul (#20283): deprecate use_inductor in favor of backend, simplify custom_ops #26113
Conversation
|
👋 Hi! Thank you for contributing to the vLLM project. 💬 Join our developer Slack at https://slack.vllm.ai to discuss your PR in #pr-reviews, coordinate on features in #feat- channels, or join special interest groups in #sig- channels. Just a reminder: PRs would not trigger full CI run by default. Instead, it would only run You ask your reviewers to trigger select CI tests on top of 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 either: Add If you have any questions, please reach out to us on Slack at https://slack.vllm.ai. 🚀 |
83aebbf to
3373dd7
Compare
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.
This is overall the right approach, I just threw a bunch of nits on this (it is a cleanup so we should try to simplify and clarify as much as possible)
ce8edb6 to
3bffb71
Compare
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 apart from nits!
|
This pull request has merge conflicts that must be resolved before it can be |
Signed-off-by: morrison-turnansky <mturnans@redhat.com>
Signed-off-by: morrison-turnansky <mturnans@redhat.com>
Signed-off-by: morrison-turnansky <mturnans@redhat.com>
…custom_ops source of truth for default behaviour of Custom Ops Signed-off-by: morrison-turnansky <mturnans@redhat.com>
Signed-off-by: morrison-turnansky <mturnans@redhat.com>
| ): | ||
| if ( | ||
| self.compilation_config.level > 0 | ||
| and self.compilation_config.backend != "eager" |
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.
I wonder with this setting, if the backend isn't eager, we will always use forward_native for all platforms, is this the expected behavior? @morrison-turnansky
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.
@Chenyaaang yes I think so. If platforms are using a custom backend AND want custom ops enabled, they should override config in the platform.check_and_update_config.
… use_inductor in favor of backend, simplify custom_ops (vllm-project#26113) Signed-off-by: morrison-turnansky <mturnans@redhat.com> Signed-off-by: Morrison Turnansky <mturnans@redhat.com> Signed-off-by: Luka Govedič <ProExpertProg@users.noreply.github.com> Co-authored-by: Luka Govedič <ProExpertProg@users.noreply.github.com> Co-authored-by: Jiangyun Zhu <riverclouds.zhu@qq.com>
…ate use_inductor in favor of backend, simplify custom_ops" (#26472) Signed-off-by: zjy0516 <riverclouds.zhu@qq.com>
…aul (vllm-project#20283): deprecate use_inductor in favor of backend, simplify custom_ops" (vllm-project#26472)" This reverts commit 5728da1.
…aul (vllm-project#20283): deprecate use_inductor in favor of backend, simplify custom_ops" (vllm-project#26472)" This reverts commit 5728da1.
|
|
…m-project#20283): deprecate use_inductor in favor of backend, simplify custom_ops" (vllm-project#26472) Signed-off-by: zjy0516 <riverclouds.zhu@qq.com> Signed-off-by: yang926 <yang926@naver.com>
|
|
1 similar comment
|
|
… use_inductor in favor of backend, simplify custom_ops (vllm-project#26113) Signed-off-by: morrison-turnansky <mturnans@redhat.com> Signed-off-by: Morrison Turnansky <mturnans@redhat.com> Signed-off-by: Luka Govedič <ProExpertProg@users.noreply.github.com> Co-authored-by: Luka Govedič <ProExpertProg@users.noreply.github.com> Co-authored-by: Jiangyun Zhu <riverclouds.zhu@qq.com> Signed-off-by: xuebwang-amd <xuebwang@amd.com>
…m-project#20283): deprecate use_inductor in favor of backend, simplify custom_ops" (vllm-project#26472) Signed-off-by: zjy0516 <riverclouds.zhu@qq.com> Signed-off-by: xuebwang-amd <xuebwang@amd.com>
… use_inductor in favor of backend, simplify custom_ops (vllm-project#26113) Signed-off-by: morrison-turnansky <mturnans@redhat.com> Signed-off-by: Morrison Turnansky <mturnans@redhat.com> Signed-off-by: Luka Govedič <ProExpertProg@users.noreply.github.com> Co-authored-by: Luka Govedič <ProExpertProg@users.noreply.github.com> Co-authored-by: Jiangyun Zhu <riverclouds.zhu@qq.com> Signed-off-by: Dhruvil Bhatt <bhattdbh@amazon.com>
…m-project#20283): deprecate use_inductor in favor of backend, simplify custom_ops" (vllm-project#26472) Signed-off-by: zjy0516 <riverclouds.zhu@qq.com> Signed-off-by: Dhruvil Bhatt <bhattdbh@amazon.com>
… use_inductor in favor of backend, simplify custom_ops (vllm-project#26113) Signed-off-by: morrison-turnansky <mturnans@redhat.com> Signed-off-by: Morrison Turnansky <mturnans@redhat.com> Signed-off-by: Luka Govedič <ProExpertProg@users.noreply.github.com> Co-authored-by: Luka Govedič <ProExpertProg@users.noreply.github.com> Co-authored-by: Jiangyun Zhu <riverclouds.zhu@qq.com>
…m-project#20283): deprecate use_inductor in favor of backend, simplify custom_ops" (vllm-project#26472) Signed-off-by: zjy0516 <riverclouds.zhu@qq.com>
… use_inductor in favor of backend, simplify custom_ops (vllm-project#26113) Signed-off-by: morrison-turnansky <mturnans@redhat.com> Signed-off-by: Morrison Turnansky <mturnans@redhat.com> Signed-off-by: Luka Govedič <ProExpertProg@users.noreply.github.com> Co-authored-by: Luka Govedič <ProExpertProg@users.noreply.github.com> Co-authored-by: Jiangyun Zhu <riverclouds.zhu@qq.com>
…m-project#20283): deprecate use_inductor in favor of backend, simplify custom_ops" (vllm-project#26472) Signed-off-by: zjy0516 <riverclouds.zhu@qq.com>
… use_inductor in favor of backend, simplify custom_ops (vllm-project#26113) Signed-off-by: morrison-turnansky <mturnans@redhat.com> Signed-off-by: Morrison Turnansky <mturnans@redhat.com> Signed-off-by: Luka Govedič <ProExpertProg@users.noreply.github.com> Co-authored-by: Luka Govedič <ProExpertProg@users.noreply.github.com> Co-authored-by: Jiangyun Zhu <riverclouds.zhu@qq.com> Signed-off-by: xuebwang-amd <xuebwang@amd.com>
…m-project#20283): deprecate use_inductor in favor of backend, simplify custom_ops" (vllm-project#26472) Signed-off-by: zjy0516 <riverclouds.zhu@qq.com> Signed-off-by: xuebwang-amd <xuebwang@amd.com>
…m-project#20283): deprecate use_inductor in favor of backend, simplify custom_ops" (vllm-project#26472) Signed-off-by: zjy0516 <riverclouds.zhu@qq.com> Signed-off-by: 0xrushi <6279035+0xrushi@users.noreply.github.com>
…m-project#20283): deprecate use_inductor in favor of backend, simplify custom_ops" (vllm-project#26472) Signed-off-by: zjy0516 <riverclouds.zhu@qq.com> Signed-off-by: 0xrushi <6279035+0xrushi@users.noreply.github.com>
Reverted in #26472, unrevert in #26502.
Purpose
update custom_ops, backend, and use_inductor refactor as discussed in #20283 (comment)
Test Plan
Test Result
Essential Elements of an Effective PR Description Checklist
supported_models.mdandexamplesfor a new model.