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.
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
pt: explicitly set device #3307
pt: explicitly set device #3307
Changes from all commits
dc8d06e
51ea91e
dbd567a
3400329
884b566
77231db
2958b73
6ba2914
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
Check warning on line 350 in deepmd/pt/infer/deep_eval.py
Codecov / codecov/patch
deepmd/pt/infer/deep_eval.py#L350
Check warning on line 427 in deepmd/pt/infer/deep_eval.py
Codecov / codecov/patch
deepmd/pt/infer/deep_eval.py#L427
Check warning on line 450 in deepmd/pt/infer/deep_eval.py
Codecov / codecov/patch
deepmd/pt/infer/deep_eval.py#L450
Check warning on line 175 in deepmd/pt/infer/inference.py
Codecov / codecov/patch
deepmd/pt/infer/inference.py#L174-L175
Check warning on line 240 in deepmd/pt/infer/inference.py
Codecov / codecov/patch
deepmd/pt/infer/inference.py#L239-L240
Check warning on line 19 in deepmd/pt/model/atomic_model/linear_atomic_model.py
Codecov / codecov/patch
deepmd/pt/model/atomic_model/linear_atomic_model.py#L19
Check warning on line 97 in deepmd/pt/model/atomic_model/linear_atomic_model.py
Codecov / codecov/patch
deepmd/pt/model/atomic_model/linear_atomic_model.py#L97
Check warning on line 101 in deepmd/pt/model/atomic_model/linear_atomic_model.py
Codecov / codecov/patch
deepmd/pt/model/atomic_model/linear_atomic_model.py#L100-L101
Check warning on line 299 in deepmd/pt/model/atomic_model/linear_atomic_model.py
Codecov / codecov/patch
deepmd/pt/model/atomic_model/linear_atomic_model.py#L299
Check warning on line 15 in deepmd/pt/model/atomic_model/pairtab_atomic_model.py
Codecov / codecov/patch
deepmd/pt/model/atomic_model/pairtab_atomic_model.py#L15
Check warning on line 162 in deepmd/pt/model/atomic_model/pairtab_atomic_model.py
Codecov / codecov/patch
deepmd/pt/model/atomic_model/pairtab_atomic_model.py#L162
Check warning on line 329 in deepmd/pt/model/descriptor/repformer_layer.py
Codecov / codecov/patch
deepmd/pt/model/descriptor/repformer_layer.py#L329
Check warning on line 35 in deepmd/pt/model/network/network.py
Codecov / codecov/patch
deepmd/pt/model/network/network.py#L35
Check warning on line 335 in deepmd/pt/model/network/network.py
Codecov / codecov/patch
deepmd/pt/model/network/network.py#L335
Check warning on line 271 in deepmd/pt/model/task/ener.py
Codecov / codecov/patch
deepmd/pt/model/task/ener.py#L271
Check warning on line 160 in deepmd/pt/train/training.py
Codecov / codecov/patch
deepmd/pt/train/training.py#L159-L160
Check warning on line 171 in deepmd/pt/train/training.py
Codecov / codecov/patch
deepmd/pt/train/training.py#L170-L171
Check warning on line 525 in deepmd/pt/train/training.py
Codecov / codecov/patch
deepmd/pt/train/training.py#L524-L525
Check warning on line 125 in deepmd/pt/utils/dataloader.py
Codecov / codecov/patch
deepmd/pt/utils/dataloader.py#L123-L125
Check warning on line 255 in deepmd/pt/utils/dataloader.py
Codecov / codecov/patch
deepmd/pt/utils/dataloader.py#L254-L255
Check warning on line 292 in deepmd/pt/utils/nlist.py
Codecov / codecov/patch
deepmd/pt/utils/nlist.py#L292
Check warning on line 45 in deepmd/pt/utils/stat.py
Codecov / codecov/patch
deepmd/pt/utils/stat.py#L35-L45