-
Notifications
You must be signed in to change notification settings - Fork 279
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor preallocation and generalize to all nodes in the LSTM - can …
…be disabled by option, in that case it rolls back to initial memory optimization - provides an additional 50% memory decrease. for RNN SIZE 600, WE 500, 4 LAYERS, ATTN=1, DROPOUT, MAX BATCH SIZE=64, MAX SOURCE/TARGET SENT L=50 - the max memory usage observed is: - initial: 6877MiB - intermediate: 5243MiB - current version: 2577MiB
- Loading branch information
Jean A. Senellart
committed
Sep 4, 2016
1 parent
e25c7f5
commit 4258944
Showing
4 changed files
with
121 additions
and
90 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
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
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
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