-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Growing parameter capacity as training progress (#1539)
This is done through Optimizer. Two arguments are added for optimizer: capacity_ratio: scheduler for controlling the number of training elements of a parameter. min_capacity: minimal number elements of each parameter being traing To dynamically change capacity, we assign a random number for each element of the parameter. An element is turned on if its assigned random number is less than capacity_ratio. To save memory, we don't store the random numbers. Instead, we save the random number generator state.
- Loading branch information
1 parent
3940def
commit 61f1565
Showing
1 changed file
with
54 additions
and
1 deletion.
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