-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Add support for pluggable Accelerators #12030
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 all commits
Commits
Show all changes
42 commits
Select commit
Hold shift + click to select a range
021dae9
Add support for pluggable Accelerators
kaushikb11 7320c66
Add parse_devices method to Accelerators
kaushikb11 ac2f5c0
Refactor device parsing logic
kaushikb11 cfece86
Fix passing Accelerator instances
kaushikb11 c83717e
Fix devices auto
kaushikb11 e82feaf
Add tests
kaushikb11 24fa9a4
Update changelog
kaushikb11 ae08e2a
Update accelerators
kaushikb11 a6c8bc4
Update accelerator doc
kaushikb11 41de817
Merge branch 'master' into feat/pluggable_accelerators
kaushikb11 19f2e8d
Fix acc connector tests
kaushikb11 b373fa6
Fix parallel devices being passed to strategy
kaushikb11 af76a72
Fix gpu test
kaushikb11 cf4b8b3
Merge branch 'master' into feat/pluggable_accelerators
kaushikb11 0f4f387
Update tests
kaushikb11 0fc482b
Update tests
kaushikb11 10c3d4f
Update tests
kaushikb11 b97c88c
Update
kaushikb11 1c12097
Fix typing
kaushikb11 b75cf38
Update pytorch_lightning/accelerators/cpu.py
kaushikb11 d8ac58e
Update pytorch_lightning/accelerators/gpu.py
kaushikb11 8b21da3
Fix typing
kaushikb11 30ea678
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 6da57dd
Taking control over pre-commit
kaushikb11 9eb70eb
Update tests/accelerators/test_common.py
kaushikb11 b55af6b
Update tests/accelerators/test_accelerator_connector.py
kaushikb11 2b99d02
Address reviews
kaushikb11 258f587
Update pytorch_lightning/trainer/connectors/accelerator_connector.py
kaushikb11 438769f
Mypy
carmocca 6e35841
Update pytorch_lightning/accelerators/cpu.py
kaushikb11 4bdcaff
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 1bdd7a8
Update tests
kaushikb11 85a4440
Merge branch 'feat/pluggable_accelerators' of https://github.com/PyTo…
kaushikb11 82fbc02
Fix typing
kaushikb11 ec845a5
fix typing
rohitgr7 a99e4ea
Fix typing
kaushikb11 9869db1
fix typing
rohitgr7 1fa5d1a
Simplify test
carmocca 6e08017
Merge branch 'master' into feat/pluggable_accelerators
kaushikb11 e50d1d1
Fix tests
kaushikb11 5f1a1e4
Merge branch 'master' into feat/pluggable_accelerators
kaushikb11 190f7a8
Fix tests
kaushikb11 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
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.