-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Update tests/models/*.py
to use devices
instead of gpus
or ipus
#11470
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 39 commits
Commits
Show all changes
46 commits
Select commit
Hold shift + click to select a range
de1401d
update tests for v2
mathemusician b581409
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 5257653
get rid of devices = 0 or devices = None
mathemusician 9e75a0f
use gpu when accelerator="gpu"
mathemusician 84caafc
use the right way of getting kwargs
mathemusician 0b199dd
use devices instead of tpu_cores
mathemusician 2318b43
switch mocked to match function
mathemusician 63b1dcc
add accelerator
mathemusician 81aa330
revert tests
mathemusician dcd3b03
put back a few more tests
mathemusician d9f352b
revert test_horovod
mathemusician 5e19aa3
revert tpu test
mathemusician e86d265
Merge branch 'PyTorchLightning:master' into update_models
mathemusician c1f3df1
use tpu instead of gpu
mathemusician 12041e1
Merge branch 'update_models' of https://github.com/mathemusician/pyto…
mathemusician 26e5e66
use devices
mathemusician 88e9752
devices always returns an int or List[int]
mathemusician 1723b83
revert tests
mathemusician d35aba7
use devices instead of tpu_cores
mathemusician 2638130
revert some tests so we can use depreacation warning instead
mathemusician 9691028
Merge branch 'PyTorchLightning:master' into update_models
mathemusician c952dff
Merge branch 'master' into update_models
mathemusician 7bb59ac
match current changes directly
mathemusician 4d37f7d
Merge branch 'update_models' of https://github.com/mathemusician/pyto…
mathemusician ef61e37
Merge branch 'master' into update_models
mathemusician 1e18c21
revert tpu test
mathemusician bee050c
Merge branch 'PyTorchLightning:master' into update_models
mathemusician c61b4f7
use accelerator="gpu"
mathemusician b6226af
Merge branch 'PyTorchLightning:master' into update_models
mathemusician 548426e
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 8e71f41
use if statements for readability
mathemusician 0cd25ad
Merge branch 'update_models' of https://github.com/mathemusician/pyto…
mathemusician fc7d4a7
revert change for now
mathemusician 88d3c0c
try accelerator=gpu again, but with the right indent
mathemusician 68cdb79
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 46088a1
revert test again; it wasn't the indent
mathemusician 8f69374
Merge branch 'update_models' of https://github.com/mathemusician/pyto…
mathemusician dfb7d36
revert test, it wasn't the indent
mathemusician e5de2d3
Merge branch 'master' into update_models
mathemusician 45e6dd7
add Callback.state_dict back
mathemusician 33a8ecc
Merge branch 'update_models' of https://github.com/mathemusician/pyto…
mathemusician a3582b9
add Callback.load_state_dict back to test_trainer_model_hook_system_f…
mathemusician d05cc21
wow, missed a few things when reverting the test
mathemusician c8d3819
Merge branch 'PyTorchLightning:master' into update_models
mathemusician 5c812f3
Merge branch 'PyTorchLightning:master' into update_models
mathemusician 2fbd71d
Apply suggestions from code review
rohitgr7 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
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.