-
-
Notifications
You must be signed in to change notification settings - Fork 9.2k
Fix inadvertently silenced PP tests for mp
, add DeepSeek V2/V3 model family to PP tests
#20831
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
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 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 🚀 |
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.
Summary of Changes
Hello @eicherseiji, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!
This pull request focuses on enhancing the test suite's coverage by integrating the DeepSeek V2/V3 model family into the existing pipeline parallel tests. This ensures that the system's compatibility and performance with these new models are validated, contributing to a more robust and comprehensive testing framework.
Highlights
- Test Coverage Expansion: I've expanded the pipeline parallel test coverage to include the DeepSeek V2/V3 model family. This was achieved by adding
deepseek-ai/DeepSeek-V2-Lite-Chat
to the list of models used in the existingtest_pipeline_parallel.py
suite.
Using Gemini Code Assist
The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.
Invoking Gemini
You can request assistance from Gemini at any point in your pull request via creating an issue comment (i.e. comment on the pull request page) using either /gemini <command>
or @gemini-code-assist <command>
. Below is a summary of the supported commands.
Feature | Command | Description |
---|---|---|
Code Review | /gemini review |
Performs a code review for the current pull request in its current state. |
Pull Request Summary | /gemini summary |
Provides a summary of the current pull request in its current state. |
Comment | @gemini-code-assist | Responds in comments when explicitly tagged, both in issue comments and review comments. |
Help | /gemini help |
Displays a list of available commands. |
Customization
To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/
folder in the base of the repository. Detailed instructions can be found here.
Limitations & Feedback
Gemini Code Assist is currently in preview and may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments to provide feedback.
You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.
Footnotes
-
Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution. ↩
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.
Code Review
This pull request adds deepseek-ai/DeepSeek-V2-Lite-Chat
to the pipeline parallelism tests, increasing test coverage for the DeepSeek model family. My review focuses on ensuring the changes align with the stated goals of the PR. I've pointed out that while the PR aims to add coverage for both DeepSeek V2 and V3, only a V2 model has been included. I've recommended adding a V3 model to fully address the PR's objective.
@@ -248,6 +248,7 @@ def iter_params(self, model_id: str): | |||
"meta-llama/Llama-3.2-1B-Instruct", | |||
"ArthurZ/Ilama-3.2-1B", | |||
"ibm/PowerLM-3b", | |||
"deepseek-ai/DeepSeek-V2-Lite-Chat", |
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.
by default L4 is used which cannot hold this model. You need to change gpu to a100 (that's the only other option) in test-pipeline.yaml.
@simon-mo @youkaichao considering the popularity of deepseek + PP, maybe it's worth adding this test with a100?
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.
btw, I recall A100 does not support a specific fp8 format that vanilla DeepSeekV3 requires when I tested it (not sure about DeepSeekV2), so A100 might not be enough (Hopper for sure works)
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.
OOM but test passes. Following up to fix.
|
The PP run was successful, but the baseline (defaults to TP=1, PP=1) failed with OOM (ofc). Seems like #14219 inadvertently silenced all |
Additional test failure surfaced after test bugfix: https://buildkite.com/vllm/ci/builds/23938#01980b35-a0f5-41c8-b364-731727cca107
|
TPU test failures due to:
Distributed test failure due to:
These don't seem related to the test addition/fix. |
Signed-off-by: Seiji Eicher <[email protected]>
Signed-off-by: Seiji Eicher <[email protected]>
Signed-off-by: Seiji Eicher <[email protected]>
Signed-off-by: Seiji Eicher <[email protected]>
80600bb
to
480beba
Compare
Signed-off-by: Seiji Eicher <[email protected]>
Looks like #20771 changed resolution of
Since |
"intfloat/e5-mistral-7b-instruct": PPTestSettings.fast(), | ||
"BAAI/bge-multilingual-gemma2": PPTestSettings.fast(), | ||
"Qwen/Qwen2.5-Math-RM-72B": PPTestSettings.fast(load_format="dummy"), | ||
"intfloat/e5-mistral-7b-instruct": PPTestSettings.fast(task="embed"), |
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.
Needed due to #20771
|
||
dtype = "float16" | ||
if hf_config.model_type in _FLOAT16_NOT_SUPPORTED_MODELS: | ||
dtype = "bfloat16" |
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.
Needed since BAAI/bge-multilingual-gemma2
doesn't support float16
TPU v1 test also failing on @ruisearch42 can you take a look when you get a chance? A few additional test fixes were needed to recover since the test was disabled. Thanks for your help so far! |
mp
were disabled, add DeepSeek V2/V3 model family to PP tests
mp
were disabled, add DeepSeek V2/V3 model family to PP testsmp
, add DeepSeek V2/V3 model family to PP tests
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.
LGTM, thanks for fixing!
…l family to PP tests (vllm-project#20831) Signed-off-by: Seiji Eicher <[email protected]>
…l family to PP tests (vllm-project#20831) Signed-off-by: Seiji Eicher <[email protected]> Signed-off-by: Himanshu Jaju <[email protected]>
…l family to PP tests (vllm-project#20831) Signed-off-by: Seiji Eicher <[email protected]>
…l family to PP tests (vllm-project#20831) Signed-off-by: Seiji Eicher <[email protected]> Signed-off-by: avigny <[email protected]>
…l family to PP tests (vllm-project#20831) Signed-off-by: Seiji Eicher <[email protected]> Signed-off-by: x22x22 <[email protected]>
…l family to PP tests (vllm-project#20831) Signed-off-by: Seiji Eicher <[email protected]>
…l family to PP tests (vllm-project#20831) Signed-off-by: Seiji Eicher <[email protected]>
Essential Elements of an Effective PR Description Checklist
supported_models.md
andexamples
for a new model.Purpose
Test Plan
Add parameter to existing test:
tests/distributed/test_pipeline_parallel.py
.Test Result
N/A, test passes
(Optional) Documentation Update