pd: support dpa2 #4418
pd: support dpa2 #4418
342 new alerts including 1 high severity security vulnerability
New alerts in code changed by this pull request
Security Alerts:
- 1 high
Other Alerts:
- 18 errors
- 23 warnings
- 300 notes
Alerts not introduced by this pull request might have been detected because the code changes were too large.
See annotations below for details.
Annotations
Check notice on line 47 in deepmd/pd/infer/deep_eval.py
Code scanning / CodeQL
Unused import Note
Check notice on line 93 in deepmd/pd/model/atomic_model/base_atomic_model.py
Code scanning / CodeQL
Unused local variable Note
Check notice on line 529 in deepmd/pd/model/descriptor/dpa1.py
Code scanning / CodeQL
Unused local variable Note
Check notice on line 600 in deepmd/pd/model/descriptor/dpa1.py
Code scanning / CodeQL
Unused local variable Note
Check warning on line 663 in deepmd/pd/model/descriptor/dpa2.py
Code scanning / CodeQL
Variable defined multiple times Warning
before this value is used.
Check warning on line 678 in deepmd/pd/model/descriptor/dpa2.py
Code scanning / CodeQL
Variable defined multiple times Warning
before this value is used.
Check notice on line 694 in deepmd/pd/model/descriptor/dpa2.py
Code scanning / CodeQL
Unused local variable Note
Check notice on line 967 in deepmd/pd/model/descriptor/repformer_layer.py
Code scanning / CodeQL
Unused local variable Note
Check notice on line 1277 in deepmd/pd/model/descriptor/repformer_layer.py
Code scanning / CodeQL
Unused local variable Note
Check notice on line 416 in deepmd/pd/model/descriptor/repformers.py
Code scanning / CodeQL
Unused local variable Note
Check notice on line 50 in deepmd/pd/model/descriptor/se_a.py
Code scanning / CodeQL
Empty except Note
Check notice on line 323 in deepmd/pd/model/descriptor/se_a.py
Code scanning / CodeQL
Unused local variable Note
Check warning on line 655 in deepmd/pd/model/descriptor/se_a.py
Code scanning / CodeQL
Variable defined multiple times Warning
before this value is used.
Check notice on line 431 in deepmd/pd/model/descriptor/se_atten.py
Code scanning / CodeQL
Unused local variable Note
Check notice on line 386 in deepmd/pd/model/descriptor/se_t_tebd.py
Code scanning / CodeQL
Unused local variable Note
Check notice on line 451 in deepmd/pd/model/descriptor/se_t_tebd.py
Code scanning / CodeQL
Unused local variable Note
Check notice on line 770 in deepmd/pd/model/descriptor/se_t_tebd.py
Code scanning / CodeQL
Unused local variable Note
Check notice on line 328 in deepmd/pd/model/model/make_model.py
Code scanning / CodeQL
Commented-out code Note
Check notice on line 153 in deepmd/pd/model/network/layernorm.py
Code scanning / CodeQL
Unused local variable Note
Check notice on line 234 in deepmd/pd/model/network/mlp.py
Code scanning / CodeQL
Commented-out code Note
Check notice on line 281 in deepmd/pd/model/network/mlp.py
Code scanning / CodeQL
Unused local variable Note
Check warning on line 415 in deepmd/pd/train/training.py
Code scanning / CodeQL
Unreachable code Warning
Check warning on line 651 in deepmd/pd/train/training.py
Code scanning / CodeQL
File is not always closed Warning
Check warning on line 657 in deepmd/pd/train/training.py
Code scanning / CodeQL
File is not always closed Warning
Check notice on line 875 in deepmd/pd/train/training.py
Code scanning / CodeQL
Unused local variable Note