-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Open
Labels
P2Important issue, but not time-criticalImportant issue, but not time-criticalcommunity-backlogcompiled-graphscoreIssues that should be addressed in Ray CoreIssues that should be addressed in Ray CoreenhancementRequest for new feature and/or capabilityRequest for new feature and/or capability
Description
Description
The following actor works with .remote()
but not .bind()
@ray.remote
class Mapper:
def __init__(self, func):
self.func = func
def map(self, x: Iterable[Any]) -> Iterator[Any]:
for item in x:
yield self.func(item)
map_func = Mapper.remote(lambda x: x * x)
Use case
I was trying to re-implement some Dask functions in Ray, e.g., dask bag.
Metadata
Metadata
Assignees
Labels
P2Important issue, but not time-criticalImportant issue, but not time-criticalcommunity-backlogcompiled-graphscoreIssues that should be addressed in Ray CoreIssues that should be addressed in Ray CoreenhancementRequest for new feature and/or capabilityRequest for new feature and/or capability