Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Fix Ray Client when 'uv run' runtime environment is used#51683

Merged
pcmoritz merged 4 commits intomasterfromfix-uv-ray-client
Mar 26, 2025

Conversation

pcmoritz
Copy link
Contributor

Why are these changes needed?

Fixes#51368

The problem was happening because we check the command line of the Ray Client server, but when used withpy_executable equal touv run, the command line would beuv run -m ray.util.client.server ... and notpython -m ray.util.client.server, so the check needed to be adapted.

Related issue number

Checks

  • I've signed off every commit(by using the -s flag, i.e.,git commit -s) in this PR.
  • I've runscripts/format.sh to lint the changes in this PR.
  • I've included any doc changes needed forhttps://docs.ray.io/en/master/.
    • I've added any new APIs to the API Reference. For example, if I added a
      method in Tune, I've added it indoc/source/tune/api/ under the
      corresponding.rst file.
  • I've made sure the tests are passing. Note that there might be a few flaky tests, see the recent failures athttps://flakey-tests.ray.io/
  • Testing Strategy
    • Unit tests
    • Release tests
    • This PR is not tested :(

@pcmoritzpcmoritz added the goadd ONLY when ready to merge, run all tests labelMar 25, 2025
Copy link
Collaborator

@edoakesedoakes left a comment

Choose a reason for hiding this comment

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

add test?

pcmoritz reacted with thumbs up emoji
@pcmoritzpcmoritzenabled auto-merge (squash)March 26, 2025 03:50
@pcmoritzpcmoritz merged commit22f1f70 intomasterMar 26, 2025
6 checks passed
@pcmoritzpcmoritz deleted the fix-uv-ray-client branchMarch 26, 2025 05:07
dhakshin32 pushed a commit to dhakshin32/ray that referenced this pull requestMar 27, 2025
…#51683)<!-- Thank you for your contribution! Please reviewhttps://github.com/ray-project/ray/blob/master/CONTRIBUTING.rst beforeopening a pull request. --><!-- Please add a reviewer to the assignee section when you create a PR.If you don't have the access to it, we will shortly find a reviewer andassign them to your PR. -->## Why are these changes needed?Fixesray-project#51368The problem was happening because we check the command line of the RayClient server, but when used with `py_executable` equal to `uv run`, thecommand line would be `uv run -m ray.util.client.server ...` and not`python -m ray.util.client.server`, so the check needed to be adapted.## Related issue number<!-- For example: "Closesray-project#1234" -->## Checks- [ ] I've signed off every commit(by using the -s flag, i.e., `gitcommit -s`) in this PR.- [ ] I've run `scripts/format.sh` to lint the changes in this PR.- [ ] I've included any doc changes needed forhttps://docs.ray.io/en/master/.- [ ] I've added any new APIs to the API Reference. For example, if Iadded amethod in Tune, I've added it in `doc/source/tune/api/` under the           corresponding `.rst` file.- [ ] I've made sure the tests are passing. Note that there might be afew flaky tests, see the recent failures athttps://flakey-tests.ray.io/- Testing Strategy   - [ ] Unit tests   - [ ] Release tests   - [ ] This PR is not tested :(Signed-off-by: Dhakshin Suriakannu <d_suriakannu@apple.com>
d-miketa pushed a commit to d-miketa/ray that referenced this pull requestMar 28, 2025
…#51683)<!-- Thank you for your contribution! Please reviewhttps://github.com/ray-project/ray/blob/master/CONTRIBUTING.rst beforeopening a pull request. --><!-- Please add a reviewer to the assignee section when you create a PR.If you don't have the access to it, we will shortly find a reviewer andassign them to your PR. -->## Why are these changes needed?Fixesray-project#51368The problem was happening because we check the command line of the RayClient server, but when used with `py_executable` equal to `uv run`, thecommand line would be `uv run -m ray.util.client.server ...` and not`python -m ray.util.client.server`, so the check needed to be adapted.## Related issue number<!-- For example: "Closesray-project#1234" -->## Checks- [ ] I've signed off every commit(by using the -s flag, i.e., `gitcommit -s`) in this PR.- [ ] I've run `scripts/format.sh` to lint the changes in this PR.- [ ] I've included any doc changes needed forhttps://docs.ray.io/en/master/.- [ ] I've added any new APIs to the API Reference. For example, if Iadded amethod in Tune, I've added it in `doc/source/tune/api/` under the           corresponding `.rst` file.- [ ] I've made sure the tests are passing. Note that there might be afew flaky tests, see the recent failures athttps://flakey-tests.ray.io/- Testing Strategy   - [ ] Unit tests   - [ ] Release tests   - [ ] This PR is not tested :(
srinathk10 pushed a commit that referenced this pull requestMar 28, 2025
<!-- Thank you for your contribution! Please reviewhttps://github.com/ray-project/ray/blob/master/CONTRIBUTING.rst beforeopening a pull request. --><!-- Please add a reviewer to the assignee section when you create a PR.If you don't have the access to it, we will shortly find a reviewer andassign them to your PR. -->## Why are these changes needed?Fixes#51368The problem was happening because we check the command line of the RayClient server, but when used with `py_executable` equal to `uv run`, thecommand line would be `uv run -m ray.util.client.server ...` and not`python -m ray.util.client.server`, so the check needed to be adapted.## Related issue number<!-- For example: "Closes#1234" -->## Checks- [ ] I've signed off every commit(by using the -s flag, i.e., `gitcommit -s`) in this PR.- [ ] I've run `scripts/format.sh` to lint the changes in this PR.- [ ] I've included any doc changes needed forhttps://docs.ray.io/en/master/.- [ ] I've added any new APIs to the API Reference. For example, if Iadded amethod in Tune, I've added it in `doc/source/tune/api/` under the           corresponding `.rst` file.- [ ] I've made sure the tests are passing. Note that there might be afew flaky tests, see the recent failures athttps://flakey-tests.ray.io/- Testing Strategy   - [ ] Unit tests   - [ ] Release tests   - [ ] This PR is not tested :(Signed-off-by: Srinath Krishnamachari <srinath.krishnamachari@anyscale.com>
@cszhucszhu added the uvIssues related to uv Python package manager labelMar 31, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@edoakesedoakesedoakes approved these changes

Assignees
No one assigned
Labels
goadd ONLY when ready to merge, run all testsuvIssues related to uv Python package manager
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

[Core] Problems with uv run and remote cluster
3 participants
@pcmoritz@edoakes@cszhu

[8]ページ先頭

©2009-2025 Movatter.jp