Skip to content

Conversation

@joerunde
Copy link
Collaborator

@joerunde joerunde commented Mar 24, 2025

This PR re-allows platform plugins to run on V1. I'm assuming that all out-of-tree platforms are responsible for all of their own validation at startup to ensure the provided configuration will work, so vllm shouldn't disallow them from running.

Our plugin currently doesn't boot with v0.8.1 (and presumably won't with the upcoming v0.8.2), this little fix allows it to start again.

FIX vllm-project/vllm-spyre#38

Signed-off-by: Joe Runde <Joseph.Runde@ibm.com>
@github-actions
Copy link

👋 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 fastcheck CI which starts running only a small and essential subset of CI tests to quickly catch errors. You can run other CI tests on top of those by going to your fastcheck build on Buildkite UI (linked in the PR checks section) and unblock them. If you do not have permission to unblock, ping simon-mo or khluu to add you in our Buildkite org.

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 ready label to the PR or enable auto-merge.

🚀

@robertgshaw2-redhat
Copy link
Collaborator

cc @youkaichao are the ascend folks okay with this?

Comment on lines 1673 to 1676
# TPU (experimental) so far. Out-of-tree device support plugins can
# maintain their own v1 compatibility checks.
if not (current_platform.is_cuda_alike() or current_platform.is_tpu()
or current_platform.is_out_of_tree()):
Copy link
Member

Choose a reason for hiding this comment

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

Maybe we should add a supports_v1() to Platform (defaulting to false) instead of this, so we don't break fallbacks for other out-of-tree platforms

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yeah I'd be fine with that as well. I didn't do that here at first because I didn't want to push this centralized bit of logic back out to the different platforms in-tree, but that's not a huge deal.

so we don't break fallbacks

Yeah... I get that we don't want to turn on V1 where it won't work, but this explicitly denies it where in our case it does work! 😅 It should be the responsibility of the plugin to determine compatibility, so I'm fine with either this or a platform.supports_v1() flag. I'l leave some time for more comments and check back on this tomorrow morning

Copy link
Member

Choose a reason for hiding this comment

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

I have a comment here #15263 (comment)

we should add platform.supports_v1()

Copy link
Member

Choose a reason for hiding this comment

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

in addition, to give oot platforms the same ability of falling back, we should pass the config object to the supports_v1 function.

Copy link
Contributor

Choose a reason for hiding this comment

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

in addition, to give oot platforms the same ability of falling back, we should pass the config object to the supports_v1 function.

Agree 👍

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Cool, on it 👍

@MengqingCao
Copy link
Contributor

cc @youkaichao are the ascend folks okay with this?

vllm-ascend has a initial support for V1 Engine, we'll test this pr on v1 with vllm-ascend. Thanks for this pr!

Signed-off-by: Joe Runde <Joseph.Runde@ibm.com>
@joerunde joerunde changed the title [bugfix] re-allow OOT platforms on V1 [bugfix] add supports_v1 platform interface Mar 25, 2025
Signed-off-by: Joe Runde <Joseph.Runde@ibm.com>
Signed-off-by: Joe Runde <Joseph.Runde@ibm.com>
@joerunde joerunde added the ready ONLY add when PR is ready to merge/full CI is needed label Mar 25, 2025
Signed-off-by: Joe Runde <Joseph.Runde@ibm.com>
Signed-off-by: Joe Runde <Joseph.Runde@ibm.com>
Copy link
Member

@tlrmchlsmth tlrmchlsmth left a comment

Choose a reason for hiding this comment

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

Looks great to me now, thanks!

@tlrmchlsmth tlrmchlsmth merged commit 5f063a8 into vllm-project:main Mar 25, 2025
36 checks passed
@joerunde joerunde deleted the allow-v1-oot-platforms branch March 25, 2025 19:05
wrmedford pushed a commit to wrmedford/vllm that referenced this pull request Mar 26, 2025
Signed-off-by: Joe Runde <Joseph.Runde@ibm.com>
Signed-off-by: Wes Medford <wryanmedford@gmail.com>
lulmer pushed a commit to lulmer/vllm that referenced this pull request Apr 7, 2025
Signed-off-by: Joe Runde <Joseph.Runde@ibm.com>
Signed-off-by: Louis Ulmer <ulmerlouis@gmail.com>
lk-chen pushed a commit to lk-chen/vllm that referenced this pull request Apr 29, 2025
Signed-off-by: Joe Runde <Joseph.Runde@ibm.com>
shreyankg pushed a commit to shreyankg/vllm that referenced this pull request May 3, 2025
Signed-off-by: Joe Runde <Joseph.Runde@ibm.com>
RichardoMrMu pushed a commit to RichardoMrMu/vllm that referenced this pull request May 12, 2025
Signed-off-by: Joe Runde <Joseph.Runde@ibm.com>
Signed-off-by: Mu Huai <tianbowen.tbw@antgroup.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready ONLY add when PR is ready to merge/full CI is needed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Plugin won't boot with vllm v0.8.1

5 participants