Skip to content

Commit

Permalink
Removing unused Pyarrow Info (ray-project#7207)
Browse files Browse the repository at this point in the history
  • Loading branch information
ijrsvt authored Feb 22, 2020
1 parent 1737a11 commit 325fc24
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/source/serialization.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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 object’s ``__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 object’s ``__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.

Expand Down

0 comments on commit 325fc24

Please sign in to comment.