Removing unused Pyarrow Info (#7207)

This commit is contained in:
ijrsvt
2020-02-21 17:07:27 -08:00
committed by GitHub
parent 1737a113be
commit 325fc24afa
+2 -2
View File
@@ -15,13 +15,13 @@ Overview
Objects that are serialized for transfer among Ray processes go through three stages:
**1. Serialize using pyarrow**: Below is the set of Python objects that Ray can serialize using ``pyarrow``:
**1. Serialize directly**: Below is the set of Python objects that Ray can serialize using ``memcpy``:
1. Primitive types: ints, floats, longs, bools, strings, unicode, and numpy arrays.
2. Any list, dictionary, or tuple whose elements can be serialized by Ray.
**2. ``__dict__`` serialization**: If a direct usage of PyArrow is not possible, Ray will recursively extract the objects ``__dict__`` and serialize that using pyarrow. This behavior is not correct in all cases.
**2. ``__dict__`` serialization**: If a direct usage is not possible, Ray will recursively extract the objects ``__dict__`` and serialize that directly. This behavior is not correct in all cases.
**3. Cloudpickle**: Ray falls back to ``cloudpickle`` as a final attempt for serialization. This may be slow.