5 ms·
Shared memory: https://docs.ray.io/en/latest/ray-core/objects.html https://docs.ray.io/en/latest/ray-core/objects.html
by pillusmany 3y ago
Shared memory:
https://docs.ray.io/en/latest/ray-core/objects.html https://docs.ray.io/en/latest/ray-core/objects.html
- ptx 3y agoAccording to the docs, those shared memory objects have significant limitations: they are immutable and only support numpy arrays (or must be deserialized). Sharing arrays of numbers is supported in multiprocessing as well: https://docs.python.org/3/library/multiprocessing.html#sharing-state-between-processes https://docs.python.org/3/library/multiprocessing.html#shari...