Hello everyone, Does anyone have any suggestions ...
# ask-metaflow
a
Hello everyone, Does anyone have any suggestions on how to share state between 2 parallel
foreach
branches before the
join
step? Meaning that if branch1 updates a shared dictionary, then branch2 should have that artifact updated as well
1
v
by design, foreach tasks operate independently. You could have an intermediate join step to sync them and then branch out again
👌 1
thankyou 1
or if you need tasks that can communicate / synchronize amongst each other, you can use
@parallel
constructs like MPI/Ray etc.