unify starting local cluster with attaching to existing cluster (#327)

This commit is contained in:
Robert Nishihara
2016-07-31 19:26:35 -07:00
committed by Philipp Moritz
parent 0e5b858324
commit 2040372084
17 changed files with 104 additions and 90 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ from tensorflow.examples.tutorials.mnist import input_data
import hyperopt
if __name__ == "__main__":
ray.services.start_ray_local(num_workers=3)
ray.init(start_ray_local=True, num_workers=3)
# The number of sets of random hyperparameters to try.
trials = 2