-
-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
[BugFix] Fix test breakages from transformers 4.45 upgrade #8829
Merged
Merged
Changes from 21 commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
4f53397
[BugFix] Fix test breakages from transformers 4.45 upgrade
njhill e2ae1bb
Also fix llava OOM from @ywang96
njhill 66c0c19
Fix next failures
njhill a5b289c
Catch any Exception when attempting to load lora-specific tokenizer
njhill ce1d477
Change "default" rope scaling type back to "mrope" in HF config
njhill 4eaa8e1
raise gpu mem
ywang96 899003b
Merge branch 'main' into transformers-fixes
DarkLight1337 562f816
Remove unnecessary overwrite
DarkLight1337 51b9abc
Remove unnecessary version guards
DarkLight1337 8e7f2b6
Update A100 distributed test with new file location (missed in #7820)
DarkLight1337 57b7328
Replace legacy `tmpdir` with modern `tmp_path` fixture
DarkLight1337 0ebd4fb
Reduce max_model_len in LLaVA-OneVision test to avoid OOM
DarkLight1337 4a924c8
Patch `ChatGLMTokenizer._pad`
DarkLight1337 0c30e87
Run OOT test in a clean process to solve OOM in AMD
DarkLight1337 9f2fac8
Fix insufficient `max_model_len`
DarkLight1337 2b6948c
Fix wrong test being updated
DarkLight1337 45e2b54
Cleanup
DarkLight1337 f0584fa
raise mem
ywang96 27b96c1
format
ywang96 cd105be
Merge remote-tracking branch 'upstream/main' into transformers-fixes
ywang96 315ff90
remove comment
ywang96 8fdad1c
skip test
ywang96 6decd70
revert soft fail
ywang96 59bc78d
Update tokenizer patch
DarkLight1337 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,9 @@ | ||
import pytest | ||
import transformers | ||
|
||
from vllm.model_executor.models import _MODELS, ModelRegistry | ||
|
||
|
||
@pytest.mark.parametrize("model_cls", _MODELS) | ||
def test_registry_imports(model_cls): | ||
if (model_cls in ("LlavaOnevisionForConditionalGeneration", | ||
"Qwen2VLForConditionalGeneration") | ||
and transformers.__version__ < "4.45"): | ||
pytest.skip("Waiting for next transformers release") | ||
|
||
# Ensure all model classes can be imported successfully | ||
ModelRegistry.resolve_model_cls([model_cls]) |
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.
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.
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.
_get_logits_warper
was rolled into_get_logits_processor