mirror of
https://github.com/wassname/ray.git
synced 2026-07-04 05:52:54 +08:00
raise exception if user tries to pass large object by value (#276)
This commit is contained in:
committed by
Philipp Moritz
parent
8465df1146
commit
ced5ce4924
+1
-1
@@ -25,7 +25,7 @@ class RemoteArrayTest(unittest.TestCase):
|
||||
self.assertTrue(np.alltrue(val == np.zeros([3, 4, 5])))
|
||||
|
||||
# test qr - pass by value
|
||||
val_a = np.random.normal(size=[10, 13])
|
||||
val_a = np.random.normal(size=[10, 11])
|
||||
ref_q, ref_r = ra.linalg.qr(val_a)
|
||||
val_q = ray.get(ref_q)
|
||||
val_r = ray.get(ref_r)
|
||||
|
||||
Reference in New Issue
Block a user