Skip to content

Commit

Permalink
[core] out of band serialization exception (ray-project#47544)
Browse files Browse the repository at this point in the history
Introduce an env var to raise an exception when there's out of band seriailzation of object ref
Improve error message on out of band serialization issue. There are 2 types of issues. 1. cloudpikcle.dumps(ref). 2. implicit capture. See below for more details.
Update an anti-pattern doc.

Signed-off-by: ujjawal-khare <ujjawal.khare@dream11.com>
  • Loading branch information
rkooo567 authored and ujjawal-khare committed Oct 15, 2024
1 parent f0cb4d7 commit 3eb6edf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/ray/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -888,5 +888,6 @@ class RayAdagCapacityExceeded(RaySystemError):
ActorUnavailableError,
RayChannelError,
RayChannelTimeoutError,
OufOfBandObjectRefSerializationException,
RayAdagCapacityExceeded,
]

0 comments on commit 3eb6edf

Please sign in to comment.