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

Integrate paddle backend in devel branch #4157

Open
wants to merge 106 commits into
base: devel
Choose a base branch
from

polish decomp.py

541dae6
Select commit
Loading
Failed to load commit list.
Open

Integrate paddle backend in devel branch #4157

polish decomp.py
541dae6
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / CodeQL succeeded Nov 1, 2024 in 3s

28 new alerts

New alerts in code changed by this pull request

  • 5 warnings
  • 23 notes

See annotations below for details.

View all branch alerts.

Annotations

Check notice on line 66 in deepmd/pd/infer/deep_eval.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused import Note

Import of 'ase' is not used.

Check notice on line 21 in deepmd/pd/infer/inference.py

See this annotation in the file changed.

Code scanning / CodeQL

Commented-out code Note

This comment appears to contain commented-out code.

Check notice on line 124 in deepmd/pd/loss/ener_spin.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused local variable Note

Variable pref_v is not used.

Check notice on line 92 in deepmd/pd/model/atomic_model/base_atomic_model.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused local variable Note

Variable ntypes is not used.

Check warning on line 69 in deepmd/pd/model/backbone/evoformer2b.py

See this annotation in the file changed.

Code scanning / CodeQL

Signature mismatch in overriding method Warning

Overriding method 'forward' has signature mismatch with
overridden method
.

Check notice on line 529 in deepmd/pd/model/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 600 in deepmd/pd/model/descriptor/dpa1.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused local variable Note

Variable nall is not used.

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 322 in deepmd/pd/model/descriptor/se_a.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 431 in deepmd/pd/model/descriptor/se_atten.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused local variable Note

Variable nall is not used.

Check notice on line 445 in deepmd/pd/model/descriptor/se_r.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 352 in deepmd/pd/model/descriptor/se_t.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 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 warning on line 125 in deepmd/pd/model/model/make_hessian_model.py

See this annotation in the file changed.

Code scanning / CodeQL

Unreachable code Warning

This statement is unreachable.

Check warning on line 176 in deepmd/pd/model/model/make_hessian_model.py

See this annotation in the file changed.

Code scanning / CodeQL

Unreachable code Warning

This statement is unreachable.

Check notice on line 301 in deepmd/pd/model/model/make_model.py

See this annotation in the file changed.

Code scanning / CodeQL

Commented-out code Note

This comment appears to contain commented-out code.

Check notice on line 209 in deepmd/pd/model/model/spin_model.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused local variable Note

Variable entended_nlist is not used.

Check notice on line 29 in deepmd/pd/model/model/transform_output.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused local variable Note

Variable faked_grad is not used.

Check notice on line 149 in deepmd/pd/model/network/layernorm.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused local variable Note

Variable prec is not used.