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

refact: the DPA2 descriptor #3758

Merged
merged 42 commits into from
May 10, 2024

Merge branch 'devel' into rf_dpa2_consist

e223336
Select commit
Loading
Failed to load commit list.
Merged

refact: the DPA2 descriptor #3758

Merge branch 'devel' into rf_dpa2_consist
e223336
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / CodeQL succeeded May 9, 2024 in 3s

105 new alerts

New alerts in code changed by this pull request

  • 2 warnings
  • 103 notes

See annotations below for details.

View all branch alerts.

Annotations

Check notice on line 483 in deepmd/dpmodel/descriptor/dpa1.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 405 in deepmd/dpmodel/descriptor/dpa1.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused local variable Note

Variable nall is not used.

Check notice on line 636 in deepmd/dpmodel/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 614 in deepmd/pt/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 430 in deepmd/pt/model/descriptor/repformer_layer_old_impl.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused local variable Note

Variable ng1 is not used.

Check notice on line 462 in deepmd/pt/model/descriptor/repformer_layer_old_impl.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused local variable Note

Variable ng2 is not used.

Check notice on line 501 in deepmd/pt/model/descriptor/repformer_layer_old_impl.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused local variable Note

Variable ng2 is not used.

Check notice on line 626 in deepmd/pt/model/descriptor/repformer_layer_old_impl.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused local variable Note

Variable ng1 is not used.

Check notice on line 627 in deepmd/pt/model/descriptor/repformer_layer_old_impl.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused local variable Note

Variable ng2 is not used.

Check notice on line 628 in deepmd/pt/model/descriptor/repformer_layer_old_impl.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused local variable Note

Variable nh2 is not used.

Check notice on line 1098 in deepmd/pt/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 542 in deepmd/dpmodel/descriptor/repformers.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused local variable Note

Variable ng is not used.

Check notice on line 1255 in deepmd/dpmodel/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 1336 in deepmd/dpmodel/descriptor/repformers.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused local variable Note

Variable nall is not used.

Check notice on line 1455 in deepmd/dpmodel/descriptor/repformers.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused local variable Note

Variable nitem is not used.

Check notice on line 146 in source/tests/consistent/descriptor/test_dpa2.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused local variable Note test

Variable repformer_update_g1_has_conv is not used.

Check notice on line 147 in source/tests/consistent/descriptor/test_dpa2.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused local variable Note test

Variable repformer_direct_dist is not used.

Check notice on line 148 in source/tests/consistent/descriptor/test_dpa2.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused local variable Note test

Variable repformer_update_g1_has_drrd is not used.

Check notice on line 149 in source/tests/consistent/descriptor/test_dpa2.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused local variable Note test

Variable repformer_update_g1_has_grrg is not used.

Check notice on line 150 in source/tests/consistent/descriptor/test_dpa2.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused local variable Note test

Variable repformer_update_g1_has_attn is not used.

Check notice on line 151 in source/tests/consistent/descriptor/test_dpa2.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused local variable Note test

Variable repformer_update_g2_has_g1g1 is not used.

Check notice on line 152 in source/tests/consistent/descriptor/test_dpa2.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused local variable Note test

Variable repformer_update_g2_has_attn is not used.

Check notice on line 153 in source/tests/consistent/descriptor/test_dpa2.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused local variable Note test

Variable repformer_update_h2 is not used.

Check notice on line 154 in source/tests/consistent/descriptor/test_dpa2.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused local variable Note test

Variable repformer_attn2_has_gate is not used.

Check notice on line 163 in source/tests/consistent/descriptor/test_dpa2.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused local variable Note test

Variable add_tebd_to_repinit_out is not used.