[checkpoints] replace bf16 with fp32 checkpoint weights#327
Open
[checkpoints] replace bf16 with fp32 checkpoint weights#327
Conversation
stas00
commented
Aug 10, 2022
Contributor
Author
|
@thomasw21, at your convenience - no rush at all - we can merge this when it meets your needs. |
4 tasks
Member
|
Hey sorry for delaying this, I haven't had the chance to play around with it yet. Let me know if it's blocking and we'll merge then. |
Contributor
Author
|
Absolutely no rush, you're the only one who asked for it. So it's totally up to you Thomas. |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
as requested by @thomasw21 this is a little hack script to to replace half-precision weights with fp32 weights in the existing HF transformers checkpoint seeded from the universal checkpoint, see the script for the steps.