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

[MPI] Communication failure between workers #268

Open
Retribution98 opened this issue Mar 21, 2023 · 0 comments
Open

[MPI] Communication failure between workers #268

Retribution98 opened this issue Mar 21, 2023 · 0 comments
Labels
bug 🦗 Something isn't working MPI MPI backend related issues

Comments

@Retribution98
Copy link
Collaborator

Reproducer:

import unidist
import time


@unidist.remote
def sleep(seconds):
    time.sleep(seconds)


@unidist.remote
def f(arr):
    unidist.get(sleep.remote(0.2))
    return sum(arr)


def g():
    obj_ref = unidist.put(100)
    arr = [obj_ref]
    for i in range(22):
        arr.append(f.remote(arr))
        time.sleep(0.1)
    return f.remote(arr)


unidist.init()

results = []
for i in range(5):
    results.append(g())

print(unidist.get(results))
@YarShev YarShev added bug 🦗 Something isn't working MPI MPI backend related issues labels May 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🦗 Something isn't working MPI MPI backend related issues
Projects
None yet
Development

No branches or pull requests

2 participants