vllm-project / vllm

A high-throughput and memory-efficient inference and serving engine for LLMs
https://docs.vllm.ai
Apache License 2.0
30.66k stars 4.65k forks source link

[V1] Refactor model executable interface for multimodal models #10570

Open ywang96 opened 10 hours ago

ywang96 commented 10 hours ago

This PR refactors the interface of all multimodal language models for V1 VLM re-arch and torch.compile support. In particular, all multimodal model implementations on vLLM will need to meet the following requirements:

List of LMMs to be worked on

This PR is a prerequisite of applying #9871 to all multimodal models on vLLM.

github-actions[bot] commented 10 hours ago

👋 Hi! Thank you for contributing to the vLLM project. 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 do one of these:

🚀