Skip to content

feat(distributed): RPC-based distributed training support and add distributed MAML example #83

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

Merged
merged 8 commits into from
Sep 28, 2022
Prev Previous commit
Next Next commit
feat(distributed): add barrier
  • Loading branch information
XuehaiPan committed Sep 26, 2022
commit dfcbe416aceaea39dfbef63b75f69caec4a6d5aa
1 change: 1 addition & 0 deletions torchopt/distributed/world.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ def wrapped(*args, **kwargs):
)
atexit.register(rpc.shutdown, graceful=True)
if worker_init_fn is not None:
barrier()
worker_init_fn()
barrier()
return func(*args, **kwargs)
Expand Down
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy