[Core] Remove xformers dependency#28287
Closed
ywang96 wants to merge 1 commit intovllm-project:mainfrom
Closed
Conversation
|
Documentation preview: https://vllm--28287.org.readthedocs.build/en/28287/ |
1dc5055 to
e25ab7b
Compare
zhewenl
reviewed
Nov 7, 2025
|
This pull request has merge conflicts that must be resolved before it can be |
Member
Author
|
Going to create a new PR for this since there are quite a few conflicts. |
This was referenced Nov 20, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose
This PR completely removes the dependency of
xformerslibrary and should be only merged after v0.11.1 release. The rationale behind removingxformersis that:xformersis used for multimodal attention (MHA) but we can have alternative attention backends to replace itxformersattention backend for decoder LM, but it's no longer used for anythingFor 1, the alternatives are:
xformersas a fallbackTest Plan
Test Result
Essential Elements of an Effective PR Description Checklist
supported_models.mdandexamplesfor a new model.