mirror of
https://github.com/wassname/ray.git
synced 2026-07-07 18:53:31 +08:00
Enable fetching objects from remote object stores. (#87)
* Fetch missing dependencies from local scheduler. * Factor out global scheduler policy state. * Use object_table_subscribe instead of object_table_lookup. * Fix bug in which timer was being created twice for a single fetch request. * Free old manager vector.
This commit is contained in:
committed by
Philipp Moritz
parent
03324caffc
commit
b3c05655a0
+1
-1
@@ -58,7 +58,7 @@ class DistributedArrayTest(unittest.TestCase):
|
||||
def testMethods(self):
|
||||
for module in [ra.core, ra.random, ra.linalg, da.core, da.random, da.linalg]:
|
||||
reload(module)
|
||||
ray.init(start_ray_local=True, num_workers=10)
|
||||
ray.init(start_ray_local=True, num_workers=10, num_local_schedulers=2)
|
||||
|
||||
x = da.zeros.remote([9, 25, 51], "float")
|
||||
assert_equal(ray.get(da.assemble.remote(x)), np.zeros([9, 25, 51]))
|
||||
|
||||
Reference in New Issue
Block a user