mirror of
https://github.com/wassname/ray.git
synced 2026-07-05 00:34:30 +08:00
Add context for "test_buffer_alignment" (#12519)
This commit is contained in:
committed by
GitHub
parent
8801e87afd
commit
615f974313
@@ -543,7 +543,7 @@ def test_reducer_override_no_reference_cycle(ray_start_shared_local_modes):
|
||||
assert new_obj() is None
|
||||
|
||||
|
||||
def test_buffer_alignment():
|
||||
def test_buffer_alignment(ray_start_shared_local_modes):
|
||||
# Deserialized large numpy arrays should be 64-byte aligned.
|
||||
x = np.random.normal(size=(10, 20, 30))
|
||||
y = ray.get(ray.put(x))
|
||||
|
||||
Reference in New Issue
Block a user