Skip to content
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: remove env.DEVICE in all forward functions #3330

Merged
merged 3 commits into from
Feb 26, 2024

fix tests

4f7b1c6
Select commit
Loading
Failed to load commit list.
Merged

pt: remove env.DEVICE in all forward functions #3330

fix tests
4f7b1c6
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch succeeded Feb 26, 2024 in 1s

0.00% of diff hit (within 100.00% threshold of 75.41%)

View this Pull Request on Codecov

0.00% of diff hit (within 100.00% threshold of 75.41%)

Annotations

Check warning on line 95 in deepmd/pt/model/atomic_model/linear_atomic_model.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/model/atomic_model/linear_atomic_model.py#L95

Added line #L95 was not covered by tests

Check warning on line 98 in deepmd/pt/model/atomic_model/linear_atomic_model.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/model/atomic_model/linear_atomic_model.py#L97-L98

Added lines #L97 - L98 were not covered by tests

Check warning on line 149 in deepmd/pt/model/atomic_model/linear_atomic_model.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/model/atomic_model/linear_atomic_model.py#L149

Added line #L149 was not covered by tests

Check warning on line 160 in deepmd/pt/model/atomic_model/pairtab_atomic_model.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/model/atomic_model/pairtab_atomic_model.py#L160

Added line #L160 was not covered by tests

Check warning on line 291 in deepmd/pt/utils/nlist.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/utils/nlist.py#L291

Added line #L291 was not covered by tests

Check warning on line 293 in deepmd/pt/utils/nlist.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/utils/nlist.py#L293

Added line #L293 was not covered by tests

Check warning on line 312 in deepmd/pt/utils/nlist.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/utils/nlist.py#L310-L312

Added lines #L310 - L312 were not covered by tests