forked from pytorch/pytorch
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add privateuse1 in FSDP's sharded grad scaler (pytorch#126971)
1. add privateuse1 in FSDP's sharded grad scaler 2. support found_inf copy for more devices Pull Request resolved: pytorch#126971 Approved by: https://github.com/awgu, https://github.com/weifengpy
- Loading branch information
1 parent
78a2b80
commit 415b28f
Showing
1 changed file
with
12 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters