mirror of
https://github.com/wassname/ray.git
synced 2026-09-09 11:32:43 +08:00
unify starting local cluster with attaching to existing cluster (#327)
This commit is contained in:
committed by
Philipp Moritz
parent
0e5b858324
commit
2040372084
@@ -10,7 +10,7 @@ class MicroBenchmarkTest(unittest.TestCase):
|
||||
|
||||
def testTiming(self):
|
||||
reload(test_functions)
|
||||
ray.services.start_ray_local(num_workers=3)
|
||||
ray.init(start_ray_local=True, num_workers=3)
|
||||
|
||||
# measure the time required to submit a remote task to the scheduler
|
||||
elapsed_times = []
|
||||
|
||||
Reference in New Issue
Block a user