forked from prashanth058/CTranslate2
-
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.
Remove intermediate weight conversion to FP32 when possible (OpenNMT#839
) * Remove intermediate weight conversion to FP32 when possible This can save memory during conversion when the model weights are stored in FP16 and the model is converted with quantization. * Check the weights were not copied or converted
- Loading branch information
1 parent
2c8db5e
commit a71d783
Showing
2 changed files
with
101 additions
and
20 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