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 <[email protected]>
  • Loading branch information
rkooo567 authored and ujjawal-khare committed Oct 15, 2024
1 parent b33bef7 commit 5de782c
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 5de782c

Please sign in to comment.