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

pd: support dpa2 #4418

Merged
merged 81 commits into from
Dec 25, 2024

update reference in dpa2.py

abeae6d
Select commit
Loading
Failed to load commit list.
Merged

pd: support dpa2 #4418

update reference in dpa2.py
abeae6d
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / CodeQL succeeded Dec 23, 2024 in 3s

14 new alerts

New alerts in code changed by this pull request

  • 2 warnings
  • 12 notes

See annotations below for details.

View all branch alerts.

Annotations

Check warning on line 663 in deepmd/pd/model/descriptor/dpa2.py

See this annotation in the file changed.

Code scanning / CodeQL

Variable defined multiple times Warning

This assignment to 'env_mat' is unnecessary as it is
redefined
before this value is used.
This assignment to 'env_mat' is unnecessary as it is
redefined
before this value is used.

Check warning on line 678 in deepmd/pd/model/descriptor/dpa2.py

See this annotation in the file changed.

Code scanning / CodeQL

Variable defined multiple times Warning

This assignment to 'env_mat' is unnecessary as it is
redefined
before this value is used.

Check notice on line 694 in deepmd/pd/model/descriptor/dpa2.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused local variable Note

Variable env_mat is not used.

Check notice on line 967 in deepmd/pd/model/descriptor/repformer_layer.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused local variable Note

Variable ng2 is not used.

Check notice on line 1277 in deepmd/pd/model/descriptor/repformer_layer.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused local variable Note

Variable nitem is not used.

Check notice on line 416 in deepmd/pd/model/descriptor/repformers.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused local variable Note

Variable ng1 is not used.

Check notice on line 386 in deepmd/pd/model/descriptor/se_t_tebd.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused local variable Note

Variable env_mat is not used.

Check notice on line 451 in deepmd/pd/model/descriptor/se_t_tebd.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused local variable Note

Variable nall is not used.

Check notice on line 770 in deepmd/pd/model/descriptor/se_t_tebd.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused local variable Note

Variable nall is not used.

Check notice on line 271 in source/tests/pd/model/test_dpa2.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused local variable Note test

Variable rtol is not used.

Check notice on line 271 in source/tests/pd/model/test_dpa2.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused local variable Note test

Variable atol is not used.

Check notice on line 332 in source/tests/pd/model/test_dpa2.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused local variable Note test

Variable model is not used.

Check notice on line 63 in source/tests/pd/model/test_unused_params.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused local variable Note test

Variable generator is not used.

Check notice on line 69 in source/tests/pd/model/test_unused_params.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused local variable Note test

Variable idx_perm is not used.