Skip to content
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

[Core] Avoid deduplication of the logs for multi-node job #2026

Merged
merged 1 commit into from
Jun 4, 2023

Conversation

Michaelvll
Copy link
Collaborator

@Michaelvll Michaelvll commented Jun 4, 2023

Ray recently added the feature to duplicate the output from multiple workers, which is not desired in our case. https://docs.ray.io/en/latest/ray-observability/ray-logging.html#log-deduplication

To reproduce:

sky launch --num-nodes 4 --cloud gcp --cpus 2+  -c test-mn4 'echo $(hostname)'

Tested (run the relevant ones):

  • Any manual or new tests for this PR (please specify below)
    • sky launch --num-nodes 4 --cloud gcp --cpus 2+ -c test-mn4 'echo $(hostname)'
  • All smoke tests: pytest tests/test_smoke.py
  • Relevant individual smoke tests: pytest tests/test_smoke.py::test_fill_in_the_name
    • pytest tests/test_smoke.py::test_multi_hostname
  • Backward compatibility tests: bash tests/backward_comaptibility_tests.sh

Copy link
Member

@concretevitamin concretevitamin left a comment

Choose a reason for hiding this comment

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

Thanks for the great catch @Michaelvll!

tests/test_smoke.py Show resolved Hide resolved
sky/templates/lambda-ray.yml.j2 Show resolved Hide resolved
@Michaelvll Michaelvll merged commit f5c30c1 into master Jun 4, 2023
@Michaelvll Michaelvll deleted the disable-dedup branch June 4, 2023 05:39
concretevitamin pushed a commit that referenced this pull request Jun 4, 2023
concretevitamin pushed a commit that referenced this pull request Jun 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants