You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Motivation
- Refine the DDP tutorial to make it device-agnostic by using the
Accelerator API.
## Description
- Integrate the Accelerator API into the DDP tutorial to support
multiple accelerators and improve backend initialization.
- Align the implementation with [this
example](https://github.com/pytorch/examples/blob/main/distributed/ddp/example.py)
from the PyTorch examples repository.
## Checklist
<!--- Make sure to add `x` to all items in the following checklist: -->
- [ ] The issue that is being fixed is referred in the description (see
above "Fixes #ISSUE_NUMBER")
- [ ] Only one issue is addressed in this pull request
- [ ] Labels from the issue that this PR is fixing are added to this
pull request
- [ ] No unnecessary issues are included into this pull request.
CC: @gujinghui
cc @wconstab@osalpekar@H-Huang@kwen2501
Signed-off-by: jafraustro <[email protected]>
Co-authored-by: Chien-Chin Huang <[email protected]>
0 commit comments