Age | Commit message (Collapse) | Author |
|
|
|
A few tweaks to reduce peak memory usage, the biggest being that if we
aren't using the checkpoint cache, we shouldn't duplicate the model
state dict just to immediately throw it away.
On my machine with 16GB of RAM, this change means I can typically change
models, whereas before it would typically OOM.
|
|
|
|
|
|
|
|
Also refactor the mask creation to make it more accesible.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Co-authored-by: dtlnor <dtlnor@hotmail.com>
|
|
Co-authored-by: dtlnor <dtlnor@hotmail.com>
|
|
|
|
Localization file for portuguese (brazil)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Co-authored-by: liggest <43201720+liggest@users.noreply.github.com>
|
|
Co-authored-by: liggest <43201720+liggest@users.noreply.github.com>
|
|
Co-authored-by: liggest <43201720+liggest@users.noreply.github.com>
|