-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Conversation
This should be ready for review cc @richardliaw @amogkam |
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 |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# 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) | ||
|
There was a problem hiding this comment.
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.
Why are these changes needed?
cc @richardliaw @amogkam
Related issue number
Checks
scripts/format.sh
to lint the changes in this PR.