Skip to content

style: require explicit device and dtype #4001

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 3 commits into from
Jul 24, 2024

grammar fix

2ebb158
Select commit
Loading
Failed to load commit list.
Merged

style: require explicit device and dtype #4001

grammar fix
2ebb158
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch succeeded Jul 22, 2024 in 1s

75.58% of diff hit (within 100.00% threshold of 82.83%)

View this Pull Request on Codecov

75.58% of diff hit (within 100.00% threshold of 82.83%)

Annotations

Check warning on line 288 in deepmd/dpmodel/atomic_model/linear_atomic_model.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/dpmodel/atomic_model/linear_atomic_model.py#L288

Added line #L288 was not covered by tests

Check warning on line 350 in deepmd/dpmodel/infer/deep_eval.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/dpmodel/infer/deep_eval.py#L350

Added line #L350 was not covered by tests

Check warning on line 110 in deepmd/pt/model/descriptor/gaussian_lcc.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/model/descriptor/gaussian_lcc.py#L110

Added line #L110 was not covered by tests

Check warning on line 546 in deepmd/pt/model/descriptor/repformers.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/model/descriptor/repformers.py#L546

Added line #L546 was not covered by tests

Check warning on line 410 in deepmd/pt/model/descriptor/se_atten.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/model/descriptor/se_atten.py#L410

Added line #L410 was not covered by tests

Check warning on line 212 in deepmd/pt/model/descriptor/se_r.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/model/descriptor/se_r.py#L211-L212

Added lines #L211 - L212 were not covered by tests

Check warning on line 609 in deepmd/pt/model/descriptor/se_t.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/model/descriptor/se_t.py#L608-L609

Added lines #L608 - L609 were not covered by tests

Check warning on line 864 in deepmd/pt/model/network/network.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/model/network/network.py#L864

Added line #L864 was not covered by tests

Check warning on line 26 in deepmd/pt/model/task/atten_lcc.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/model/task/atten_lcc.py#L26

Added line #L26 was not covered by tests

Check warning on line 104 in deepmd/pt/utils/preprocess.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/utils/preprocess.py#L104

Added line #L104 was not covered by tests

Check warning on line 141 in deepmd/pt/utils/preprocess.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/utils/preprocess.py#L136-L141

Added lines #L136 - L141 were not covered by tests

Check warning on line 164 in deepmd/pt/utils/preprocess.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/utils/preprocess.py#L164

Added line #L164 was not covered by tests

Check warning on line 185 in deepmd/pt/utils/preprocess.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/utils/preprocess.py#L185

Added line #L185 was not covered by tests

Check warning on line 194 in deepmd/pt/utils/preprocess.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/utils/preprocess.py#L192-L194

Added lines #L192 - L194 were not covered by tests

Check warning on line 208 in deepmd/pt/utils/preprocess.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/utils/preprocess.py#L207-L208

Added lines #L207 - L208 were not covered by tests

Check warning on line 274 in deepmd/pt/utils/preprocess.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/utils/preprocess.py#L274

Added line #L274 was not covered by tests

Check warning on line 261 in deepmd/tf/descriptor/loc_frame.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/tf/descriptor/loc_frame.py#L261

Added line #L261 was not covered by tests

Check warning on line 263 in deepmd/tf/descriptor/loc_frame.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/tf/descriptor/loc_frame.py#L263

Added line #L263 was not covered by tests

Check warning on line 966 in deepmd/tf/descriptor/se_atten.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/tf/descriptor/se_atten.py#L966

Added line #L966 was not covered by tests

Check warning on line 174 in deepmd/tf/fit/polar.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/tf/fit/polar.py#L174

Added line #L174 was not covered by tests

Check warning on line 1353 in deepmd/tf/infer/deep_eval.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/tf/infer/deep_eval.py#L1353

Added line #L1353 was not covered by tests

Check warning on line 1534 in deepmd/tf/infer/deep_eval.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/tf/infer/deep_eval.py#L1534

Added line #L1534 was not covered by tests

Check warning on line 1539 in deepmd/tf/infer/deep_eval.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/tf/infer/deep_eval.py#L1539

Added line #L1539 was not covered by tests

Check warning on line 1546 in deepmd/tf/infer/deep_eval.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/tf/infer/deep_eval.py#L1546

Added line #L1546 was not covered by tests

Check warning on line 1552 in deepmd/tf/infer/deep_eval.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/tf/infer/deep_eval.py#L1552

Added line #L1552 was not covered by tests