-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Add support for (accelerator='cpu'|'gpu'|'tpu'|'ipu'|'auto') #7808
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 28 commits
Commits
Show all changes
53 commits
Select commit
Hold shift + click to select a range
d1b21ec
Add support for (accelerator='cpu'|'gpu'|'tpu'|'auto')
kaushikb11 64a7c32
GPU Available
kaushikb11 ae6876a
Add new properties
kaushikb11 4487353
Fix
kaushikb11 08c3520
Add validate accelerate type
kaushikb11 06c5e9e
Tested on TPUs
kaushikb11 f9024cd
Update for CPU device
kaushikb11 cb549d0
Update for auto
kaushikb11 86abd61
Add tests
kaushikb11 b8b86a3
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 2ea22df
Add tests
kaushikb11 32bc1b9
Add tests
kaushikb11 6c7cf45
Add tests
kaushikb11 a1c88da
Add exception
kaushikb11 1752ae5
Update changelog
kaushikb11 9eb686d
Merge branch 'master' into accelerator/auto
kaushikb11 470cacf
Update
kaushikb11 b5d4d3f
Merge branch 'accelerator/auto' of https://github.com/kaushikb11/pyto…
kaushikb11 d15e394
Update
kaushikb11 0588d24
Merge branch 'master' into accelerator/auto
kaushikb11 f9b2103
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 4fa334b
Update on_x to has_x
kaushikb11 3623ed6
Add updates for IPU
kaushikb11 3e3b575
Add tests for IPUs
kaushikb11 913093f
Update changelog
kaushikb11 bbf7f50
Fix typo
kaushikb11 ad65213
Fix use_cpu
kaushikb11 a402846
Updates for ipus
kaushikb11 1a895de
Merge branch 'master' into accelerator/auto
kaushikb11 d8458a4
Address comments
kaushikb11 125fcca
Multi gpus + cpu acc
kaushikb11 b27e548
Fix ipu test
kaushikb11 e6855a4
Update tpu tests
kaushikb11 fc21406
Merge branch 'master' into accelerator/auto
kaushikb11 90658a6
Update ddp_spawn
kaushikb11 0c5b01e
Merge branch 'accelerator/auto' of https://github.com/kaushikb11/pyto…
kaushikb11 3163439
Update tests
kaushikb11 7f7dbaf
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] c71e4e1
Update
kaushikb11 a9672cb
Merge branch 'accelerator/auto' of https://github.com/kaushikb11/pyto…
kaushikb11 7a5ff5b
Use has_tpu
kaushikb11 deb6770
Merge branch 'master' into accelerator/auto
kaushikb11 766ef1c
Add update_device_type_if_ipu_plugin
kaushikb11 6ce6ee8
Merge branch 'accelerator/auto' of https://github.com/kaushikb11/pyto…
kaushikb11 53baf92
Fix IPU tests
134a90e
Cleanup
8b28893
Merge branch 'master' into accelerator/auto
5aa1a03
Update pytorch_lightning/trainer/connectors/accelerator_connector.py
kaushikb11 d45e89c
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 5337414
Update pytorch_lightning/trainer/connectors/accelerator_connector.py
kaushikb11 8d3d2f0
Update pytorch_lightning/trainer/connectors/accelerator_connector.py
kaushikb11 c39930c
Update pytorch_lightning/trainer/connectors/accelerator_connector.py
kaushikb11 a2847ec
Update pytorch_lightning/trainer/connectors/accelerator_connector.py
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
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.