-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Fix] Support gradient accumulation for DDP (#173)
## Description In order to support gradient accumulation, I removed `free_storage` function that can cause `CUDA error: an illegal memory access was encountered` in many case. (but this change may lead to an increase in memory consumption) What do you guys think about this PR? @nijkah @jinwonkim93
- Loading branch information
Showing
1 changed file
with
7 additions
and
17 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