-
Notifications
You must be signed in to change notification settings - Fork 3.5k
2/n Move Precision Plugin into strategy - move optimizer related logics #10596
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 11 commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
533c416
2/n Move Precision Plugin into strategy - move optimizer related logics
four4fish f7e1f87
correct batch_to_device logic
four4fish b6e2ac7
Apply suggestions from code review
four4fish 110a7ba
fix tpu/ipu setup overrides
four4fish ac1f49c
remove batch_to_device change
four4fish 818b4e7
remove batch_to_device change
four4fish 7b84fde
add changelog
four4fish ad8442b
address comment about amp_backend
four4fish 3c2757e
Apply suggestions from code review
four4fish e8f3773
Update native_amp.py
four4fish bb98ac4
Update native_amp.py
four4fish 6f6b66d
add back Accelerator's root device
awaelchli 6f3a820
remove a comment
awaelchli 12bfa27
improve typing for attributes
awaelchli 95d11f3
keep model shard context method in accelerator
awaelchli 938dc5e
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 83ae601
Merge branch 'master' into refactor/plugins/a2
awaelchli b3c6e2a
Merge branch 'master' into refactor/plugins/a2
awaelchli 8ce5ac6
remove scaler and amp_backend properties from public Precision interface
awaelchli 15b6b44
make amp_backend property equivalent to how it was in accelerator
awaelchli f96c1e8
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 26d3a7d
remove unused import
four4fish cafbbd4
Merge branch 'master' into a2
four4fish File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.