Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[core][compiled graphs] streaming support for actors in compiled graphs #48917

Open
wingkitlee0 opened this issue Nov 25, 2024 · 0 comments
Open
Labels
compiled-graphs core Issues that should be addressed in Ray Core enhancement Request for new feature and/or capability P2 Important issue, but not time-critical

Comments

@wingkitlee0
Copy link
Contributor

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.

@wingkitlee0 wingkitlee0 added enhancement Request for new feature and/or capability triage Needs triage (eg: priority, bug/not-bug, and owning component) labels Nov 25, 2024
@jcotant1 jcotant1 added core Issues that should be addressed in Ray Core compiled-graphs labels Nov 25, 2024
@jjyao jjyao added P2 Important issue, but not time-critical and removed triage Needs triage (eg: priority, bug/not-bug, and owning component) labels Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiled-graphs core Issues that should be addressed in Ray Core enhancement Request for new feature and/or capability P2 Important issue, but not time-critical
Projects
None yet
Development

No branches or pull requests

3 participants