Various cleanups: remove start_ray_local from ray.init, remove unused code, fix "pip install numbuf". (#193)

* Remove start_ray_local from ray.init and change default number of workers to 10.

* Remove alexnet example.

* Move array methods to experimental.

* Remove TRPO example.

* Remove old files.

* Compile plasma when we build numbuf.

* Address comments.
This commit is contained in:
Robert Nishihara
2017-01-10 17:35:27 -08:00
committed by Philipp Moritz
parent b9d6135aa1
commit be4a37bf37
32 changed files with 89 additions and 891 deletions
+2 -2
View File
@@ -18,7 +18,7 @@ class MicroBenchmarkTest(unittest.TestCase):
def testTiming(self):
reload(test_functions)
ray.init(start_ray_local=True, num_workers=3)
ray.init(num_workers=3)
# measure the time required to submit a remote task to the scheduler
elapsed_times = []
@@ -88,7 +88,7 @@ class MicroBenchmarkTest(unittest.TestCase):
ray.worker.cleanup()
def testCache(self):
ray.init(start_ray_local=True, num_workers=1)
ray.init(num_workers=1)
A = np.random.rand(1, 1000000)
v = np.random.rand(1000000)