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

[release] convert tune release tests #15913

Merged
merged 22 commits into from
Jun 1, 2021

Conversation

krfricke
Copy link
Contributor

Why are these changes needed?

cc @richardliaw @amogkam

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 :(

@krfricke krfricke changed the title [wip/release] convert tune release tests [release] convert tune release tests May 30, 2021
@krfricke krfricke marked this pull request as ready for review May 30, 2021 17:37
@krfricke
Copy link
Contributor Author

This should be ready for review cc @richardliaw @amogkam

@krfricke
Copy link
Contributor Author

Note: I ran the release tests for 1.4.0 on this branch (and they passed)

@@ -2,7 +2,7 @@

import ray
from ray.tune import run_experiments
from ray.cluster_utils import Cluster
import os
Copy link
Contributor

Choose a reason for hiding this comment

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

cc @sven1977 can you sign off on this?

Copy link
Contributor

Choose a reason for hiding this comment

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

Looks good to me.

Copy link
Contributor

Choose a reason for hiding this comment

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

Comment on lines +19 to 31
# cluster = Cluster()
# for i in range(num_nodes):
# cluster.add_node(
# redis_port=6379 if i == 0 else None,
# num_redis_shards=num_redis_shards if i == 0 else None,
# num_cpus=10,
# num_gpus=0,
# resources={str(i): 2},
# object_store_memory=object_store_memory,
# redis_max_memory=redis_max_memory,
# dashboard_host="0.0.0.0")
# ray.init(address=cluster.address)

Copy link
Contributor

Choose a reason for hiding this comment

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

I'm not quite sure about this change, but I'll open an issue to track this.

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.

None yet

4 participants