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

dcollect fails where pmap works #525

Open
tecosaur opened this issue Jun 9, 2022 · 0 comments
Open

dcollect fails where pmap works #525

tecosaur opened this issue Jun 9, 2022 · 0 comments

Comments

@tecosaur
Copy link

tecosaur commented Jun 9, 2022

Hi, I have an expensive computation function (uses a few GiB memory while running, takes a few minutes, puts a reasonable amount of pressure on GC). So, this lends itself to distributed Julia.

Unfortunately, trying to run this with Transducer's dcollect simply doesn't work.

withprogress(hpo_terms, interval=0.1) |>
    Map(do_varpp_noerror) |>
    m -> dcollect(m, basesize=1, threads_basesize=1)

However, if I convert this to a pmap it executes successfully.

pmap(do_varpp_noerror, hpo_terms)

I can't remember the exact characteristics of dcollect not working (I switched to pmap a few weeks ago and am just opening this issue to let you know), but IIRC not a single iteration of do_varpp_noerror finished executing after many minutes, and memory usage was much higher than that observed using pmap.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant