Skip to content

Conversation

@wangxiyuan
Copy link
Collaborator

@wangxiyuan wangxiyuan commented Nov 27, 2025

Ascend scheduler was added for non chunk prefill case before, since that the npu ops didn't work well with chunked prefill.

Now the ops with chunked prefill work better, it's time to remove the ascend scheduler to use vLLM default scheduler.

@github-actions
Copy link

👋 Hi! Thank you for contributing to the vLLM Ascend project. The following points will speed up your PR merge:‌‌

  • A PR should do only one thing, smaller PRs enable faster reviews.
  • Every PR should include unit tests and end-to-end tests ‌to ensure it works and is not broken by other future PRs.
  • Write the commit message by fulfilling the PR description to help reviewer and future developers understand.

If CI fails, you can run linting and testing checks locally according Contributing and Testing.

@github-actions github-actions bot added documentation Improvements or additions to documentation module:tests module:core labels Nov 27, 2025
Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a 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 removes the ascend_scheduler feature. The changes are consistent across documentation, examples, tests, and source code, reflecting the removal of this functionality. However, I've identified a critical issue in one of the test files where the modification of server arguments has resulted in a malformed command, which will likely cause the test to fail. I've provided a suggestion to fix it.

@wangxiyuan wangxiyuan force-pushed the remove_ascend_scheduler branch from d896281 to 153f779 Compare November 27, 2025 08:39
@wangxiyuan wangxiyuan added ready read for review ready-for-test start test by label for PR labels Nov 27, 2025
@github-actions
Copy link

This pull request has conflicts, please resolve those before we can evaluate the pull request.

@wangxiyuan
Copy link
Collaborator Author

/gemini review

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a 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 removes the custom Ascend scheduler and related configurations, falling back to the default vLLM scheduler. This is a significant cleanup, touching documentation, tests, examples, and source code. The changes are mostly deletions and appear correct and consistent with the PR's goal. However, I found an issue in the documentation for TorchAirGraph. The examples are now incorrect because they enable TorchAirGraph without disabling chunked prefill, which is not a supported combination. This will lead to runtime errors for users following the guide. I've provided suggestions to fix the examples.

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a 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 removes the ascend_scheduler and related configurations, aiming to use the default vLLM scheduler. The changes are extensive, touching documentation, examples, tests, and core logic to remove all traces of the ascend_scheduler. The refactoring is clean and aligns with the stated objective.

My main concerns are a potential change in default behavior for chunked prefill, and the removal of tests for SchedulerDynamicBatch which appears to still be in use. I've added critical and high severity comments regarding these issues.

@wangxiyuan
Copy link
Collaborator Author

CI passed here: https://github.com/vllm-project/vllm-ascend/actions/runs/19735428628/job/56546065316?pr=4498

qwen3-next test failed due to chunked prefill is enabled by default, now qwen3-next with mtp doesn't work. Let's disable it first.

@github-actions
Copy link

This pull request has conflicts, please resolve those before we can evaluate the pull request.

@wangxiyuan
Copy link
Collaborator Author

Copy link
Collaborator

@whx-sjtu whx-sjtu left a comment

Choose a reason for hiding this comment

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

I have confirmed that no multi-modal models depend on AscendScheduler anymore. LGTM.

@wangxiyuan wangxiyuan merged commit f10acdd into vllm-project:main Nov 29, 2025
21 of 22 checks passed
MengqingCao added a commit that referenced this pull request Nov 29, 2025
MengqingCao added a commit that referenced this pull request Nov 29, 2025
ChenCangtao pushed a commit to ChenCangtao/vllm-ascend that referenced this pull request Dec 3, 2025
Ascend scheduler was added for non chunk prefill case before, since that
the npu ops didn't work well with chunked prefill.

Now the ops with chunked prefill work better, it's time to remove the
ascend scheduler to use vLLM default scheduler.

- vLLM version: v0.11.2

---------

Signed-off-by: wangxiyuan <[email protected]>
ChenCangtao pushed a commit to ChenCangtao/vllm-ascend that referenced this pull request Dec 3, 2025
@wangxiyuan wangxiyuan deleted the remove_ascend_scheduler branch December 4, 2025 07:04
Mercykid-bash pushed a commit to Mercykid-bash/vllm-ascend that referenced this pull request Dec 4, 2025
Ascend scheduler was added for non chunk prefill case before, since that
the npu ops didn't work well with chunked prefill.

Now the ops with chunked prefill work better, it's time to remove the
ascend scheduler to use vLLM default scheduler.

- vLLM version: v0.11.2

---------

Signed-off-by: wangxiyuan <[email protected]>
Signed-off-by: Che Ruan <[email protected]>
Mercykid-bash pushed a commit to Mercykid-bash/vllm-ascend that referenced this pull request Dec 4, 2025
Mercykid-bash pushed a commit to Mercykid-bash/vllm-ascend that referenced this pull request Dec 4, 2025
Ascend scheduler was added for non chunk prefill case before, since that
the npu ops didn't work well with chunked prefill.

Now the ops with chunked prefill work better, it's time to remove the
ascend scheduler to use vLLM default scheduler.

- vLLM version: v0.11.2

---------

Signed-off-by: wangxiyuan <[email protected]>
Signed-off-by: Che Ruan <[email protected]>
Mercykid-bash pushed a commit to Mercykid-bash/vllm-ascend that referenced this pull request Dec 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation module:core module:tests ready read for review ready-for-test start test by label for PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants