You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using Ray Data's async map_batches API and an exception is raised from the UDF, the exception is not raised and the data execution will be hanging. See reproducible for a simple example
import ray
class MyUDF:
def __init__(self):
pass
async def __call__(self, batch):
assert False
yield batch
ds = ray.data.range(20)
ds = ds.map_batches(MyUDF, concurrency=2)
result = ds.materialize()
assert len(result) == 20
We should expect the script above to run to completion, but instead hangs forever without any indication of exception or failure.
Issue Severity
None
The text was updated successfully, but these errors were encountered:
scottjlee
added
bug
Something that is supposed to be working; but isn't
P1
Issue that should be fixed within a few weeks
data
Ray Data-related issues
labels
Aug 12, 2024
What happened + What you expected to happen
When using Ray Data's async
map_batches
API and an exception is raised from the UDF, the exception is not raised and the data execution will be hanging. See reproducible for a simple exampleVersions / Dependencies
ray master b6d4792
Reproduction script
We should expect the script above to run to completion, but instead hangs forever without any indication of exception or failure.
Issue Severity
None
The text was updated successfully, but these errors were encountered: