[Util] Better tracing for serializability errors #48759
Labels
core
Issues that should be addressed in Ray Core
enhancement
Request for new feature and/or capability
P1
Issue that should be fixed within a few weeks
Description
In
inspect_serializability
, when reporting that something isn't serializable, we could in some cases give more info as to the location of the offending object. For example, in_inspect_func_serialization
, we could add a log line like this:This would help a lot in localizing the issues.
Use case
I'm trying to effectively use already existing code as
.map
steps in Ray Data. The already existing code is likely to be non-serializable.The text was updated successfully, but these errors were encountered: