[Serve.llm][P/D] Fix health check in prefill disagg#53937
Merged
kouroshHakha merged 7 commits intoray-project:masterfrom Jun 22, 2025
Merged
[Serve.llm][P/D] Fix health check in prefill disagg#53937kouroshHakha merged 7 commits intoray-project:masterfrom
kouroshHakha merged 7 commits intoray-project:masterfrom
Conversation
kouroshHakha
commented
Jun 18, 2025
|
|
||
| self.response_postprocessor = ResponsePostprocessor() | ||
|
|
||
| @property |
Contributor
Author
There was a problem hiding this comment.
This is useless. I don't know why we had it. removing.
kouroshHakha
commented
Jun 18, 2025
|
|
||
| try: | ||
| return await asyncio.wait_for(self.engine.check_health(), timeout=15) | ||
| await asyncio.wait_for(self.engine.check_health(), timeout=15) |
Contributor
Author
There was a problem hiding this comment.
removed the timeout time since ray serve has an adjustable timeout per deployment anyways.
kouroshHakha
commented
Jun 18, 2025
| ): | ||
| yield chunk | ||
|
|
||
| async def check_health(self) -> None: |
Contributor
Author
There was a problem hiding this comment.
These must be removed. In general the health check of a deployment is not bounded to the health check of its child deployments.
kouroshHakha
commented
Jun 18, 2025
|
|
||
| async def check_health(self): | ||
| await self._init_completed.wait() | ||
| await asyncio.gather( |
Contributor
Author
There was a problem hiding this comment.
same thing applies here.
kouroshHakha
commented
Jun 19, 2025
| model="Qwen/Qwen2.5-0.5B-Instruct", | ||
| dtype="auto", | ||
| disable_log_stats=False, | ||
| enforce_eager=True, |
Contributor
Author
There was a problem hiding this comment.
Making the tests faster
eicherseiji
approved these changes
Jun 19, 2025
kouroshHakha
commented
Jun 20, 2025
|
|
||
| await router.check_health() | ||
|
|
||
| assert server.check_health.remote.call_count == 1 |
Contributor
Author
There was a problem hiding this comment.
testing router's health check has nothing to do with server's health check.
minerharry
pushed a commit
to minerharry/ray
that referenced
this pull request
Jun 27, 2025
Signed-off-by: Kourosh Hakhamaneshi <kourosh@anyscale.com>
elliot-barn
pushed a commit
that referenced
this pull request
Jul 2, 2025
Signed-off-by: Kourosh Hakhamaneshi <kourosh@anyscale.com> Signed-off-by: elliot-barn <elliot.barnwell@anyscale.com>
snorkelopstesting4-web
pushed a commit
to snorkel-marlin-repos/ray-project_ray_pr_53937_454bb92f-28e4-4f99-921b-de7d319af18f
that referenced
this pull request
Oct 22, 2025
Original PR #53937 by kouroshHakha Original: ray-project/ray#53937
1 task
snorkelopstesting3-bot
added a commit
to snorkel-marlin-repos/ray-project_ray_pr_53937_454bb92f-28e4-4f99-921b-de7d319af18f
that referenced
this pull request
Oct 22, 2025
…isagg Merged from original PR #53937 Original: ray-project/ray#53937
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.
Also needs vllm-project/vllm#19821 to be merged.