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

[Dashboard] Make dashboard / agent work in minimal ray installation 1/3. #21774

Merged
merged 6 commits into from
Jan 24, 2022

Conversation

rkooo567
Copy link
Contributor

Why are these changes needed?

This is the doc that explains how to achieve this: https://docs.google.com/document/d/12qP3x5uaqZSKS-A_kK0ylPOp0E02_l-deAbmm8YtdFw/edit?usp=sharing

The fully working e2e prototype is here (it passes all tests): cdad913

This PR is pure refactoring. Basically it moves some of util functions that require optional_deps to optional_utils so that optional deps' util functions are not used in the minimal installation. Look below to see the steps.

Screen Shot 2022-01-21 at 4 38 44 AM

Related issue number

Checks

  • I've run scripts/format.sh to lint the changes in this PR.
  • I've included any doc changes needed for https://docs.ray.io/en/master/.
  • I've made sure the tests are passing. Note that there might be a few flaky tests, see the recent failures at https://flakey-tests.ray.io/
  • Testing Strategy
    • Unit tests
    • Release tests
    • This PR is not tested :(

Copy link
Contributor

@scv119 scv119 left a comment

Choose a reason for hiding this comment

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

just to confirm, this PR basically just rename utils.py to optionsal_utils.py?

@rkooo567
Copy link
Contributor Author

Yes correct!

@rkooo567 rkooo567 merged commit 1ae14ec into ray-project:master Jan 24, 2022
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.

5 participants