Skip to content

Conversation

rkooo567
Copy link
Collaborator

@rkooo567 rkooo567 commented Nov 27, 2024

This PR supports Ray executor. We are only planning to support Ray compiled graph version backend for V1 which solves the performance problems raised before.

Detailed architecture is same as #9856 (which also matches the design in V0 with SPMD=True)

TODO

Copy link

👋 Hi! Thank you for contributing to the vLLM project.
Just a reminder: PRs would not trigger full CI run by default. Instead, it would only run fastcheck CI which starts running only a small and essential subset of CI tests to quickly catch errors. You can run other CI tests on top of those by going to your fastcheck build on Buildkite UI (linked in the PR checks section) and unblock them. If you do not have permission to unblock, ping simon-mo or khluu to add you in our Buildkite org.

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 do one of these:

  • Add ready label to the PR
  • Enable auto-merge.

🚀

@rkooo567 rkooo567 changed the title [V1] Ray executor [WIP][V1] Ray executor Nov 27, 2024
if use_message_queue_broadcaster and self.world_size > 1:
self.mq_broadcaster = MessageQueue.create_from_process_group(
self.cpu_group, 1 << 22, 6)
# if use_message_queue_broadcaster and self.world_size > 1:
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I think this is not needed anymore for V1?

@classmethod
def _get_executor_cls(cls, vllm_config: VllmConfig):
return GPUExecutor
if vllm_config.parallel_config.distributed_executor_backend == "ray":
Copy link
Collaborator

Choose a reason for hiding this comment

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

We also need to have this in AsyncLLM?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I remeber to hear AsyncLLM will be removed or something. Can you sync with them before supporting it?

Copy link

mergify bot commented Jan 21, 2025

This pull request has merge conflicts that must be resolved before it can be
merged. Please rebase the PR, @rkooo567.

https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/syncing-a-fork

@mergify mergify bot added the needs-rebase label Jan 21, 2025
@mergify mergify bot added the v1 label Feb 5, 2025
@hmellor
Copy link
Member

hmellor commented Mar 11, 2025

Closing as stale, feel free to re-open if you feel this PR is still relevant.

I believe the Ray executor was addd in https://github.com/vllm-project/vllm/pull/13064/files#diff-48df0147dfa8eebb4792e6d88a0c9b42f69f7fe54409c41f76ca71bd2c76ba9c.

@hmellor hmellor closed this Mar 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants