-
Notifications
You must be signed in to change notification settings - Fork 587
style(paddle): Add comprehensive type hints to Paddle backend and enable ANN rules #4944
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
Changes from all commits
Commits
Show all changes
71 commits
Select commit
Hold shift + click to select a range
9c49f10
Initial plan
Copilot c9342d4
feat(paddle): Add type hints to Paddle backend and enable ANN rule fo…
Copilot 061098f
Merge remote-tracking branch 'origin/devel' into copilot/fix-4939
Copilot c41d4e9
Revert "Merge remote-tracking branch 'origin/devel' into copilot/fix-…
njzjz a132dbf
Merge branch 'devel' into copilot/fix-4939
njzjz 71b8fc4
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 0079e2a
feat(paddle): Enable ANN rule for train/wrapper.py and add type annot…
Copilot 8bbdd1f
feat(paddle): Enable ANN rule for additional utility files and comple…
Copilot f9196c5
feat(paddle): Enable ANN rule for loss directory base files
Copilot 731b3fa
feat(paddle): Enable ANN rule for 16 additional files across multiple…
Copilot 49c51a7
feat(paddle): Enable ANN rule for 4 additional files and add type ann…
Copilot e120f91
Push previous changes
Copilot f673c2e
feat(paddle): Enable ANN rule for 2 additional model files with type …
Copilot 178fe36
feat(paddle): Enable ANN rule for 3 additional utility files with typ…
Copilot dca9a9e
fix(paddle): Remove dpmodel configuration line to align with devel br…
Copilot aeb3340
Merge branch 'master' into copilot/fix-4939
njzjz deac791
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 8d2f27a
fix: Revert dpmodel changes, remove temp files, and restore Paddle AN…
Copilot afd9115
trigger: Push previous changes
Copilot 8828c46
chore: Remove trigger file
Copilot c8a67eb
fix: Update dpmodel from master and fix all ruff errors
Copilot 8c56fc3
Merge branch 'master' into copilot/fix-4939
njzjz 322b482
revert unrelated changes
njzjz 6d405f4
remove backup file
njzjz 59347fd
revert pyproject.toml
njzjz 541cbe8
revert tests
njzjz f1326ae
enable ANN for pd
njzjz 1bdd73d
autofix
njzjz a5cb0f7
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 252f89c
fix: Add ANN to Paddle backend ignore list to align with gradual enab…
Copilot acaadf0
fix(pd): add type annotations to utils module (110 total errors fixed)
Copilot ce0a7c6
fix(paddle): Add type annotations to deepmd/pd/loss/ener.py (32 ANN e…
Copilot 22b619c
fix(paddle): Add type annotations to deepmd/pd/model/task/fitting.py …
Copilot a3b8fde
fix(paddle): Add return type annotation to deepmd/pd/infer/deep_eval.…
Copilot 98a3acd
fix(paddle): Add type annotations to deepmd/pd/model/model/make_model…
Copilot 4374dc7
fix(paddle): Add type annotations to deepmd/pd/model/descriptor/se_at…
Copilot 7d22e42
fix(paddle): Add type annotations to deepmd/pd/model/descriptor/se_a.…
Copilot 4b80137
fix(paddle): Add type annotations to deepmd/pd/model/descriptor/se_t_…
Copilot eb4efbc
fix(paddle): Add return type annotation to deepmd/pd/model/descriptor…
Copilot 19b6fae
fix(paddle): Add return type annotation to deepmd/pd/utils/neighbor_s…
Copilot e8b19fa
fix(paddle): Add type annotation to kwargs in deepmd/pd/model/task/en…
Copilot a84b062
fix(paddle): Add type annotations to deepmd/pd/model/atomic_model/bas…
Copilot 793e40e
fix(paddle): Add return type annotation to deepmd/pd/model/atomic_mod…
Copilot c83e374
fix(paddle): Add type annotations to deepmd/pd/model/task/invar_fitti…
Copilot 55b35e5
fix(paddle): Add type annotations to deepmd/pd/model/model/frozen.py …
Copilot 2e42085
fix(paddle): Add type annotations to deepmd/pd/utils/stat.py (3 ANN e…
Copilot 1777dde
fix(paddle): Add type annotations to deepmd/pd/model/descriptor/se_at…
Copilot 474e4c5
fix(paddle): Add type annotations to training.py (21 ANN errors fixed)
Copilot 211d394
fix(paddle): Add type annotations to repformers.py (21 ANN errors fixed)
Copilot f2481dc
fix(paddle): Add type annotations to repflows.py (21 ANN errors fixed)
Copilot 732331c
fix(paddle): Add type annotations to dpa1.py (13 ANN errors fixed)
Copilot a1ecc18
fix(paddle): Add type annotations to dpa2.py (12 ANN errors fixed)
Copilot 744735f
fix(paddle): Add type annotations to dpa3.py (12 ANN errors fixed)
Copilot 4ed7efc
fix(paddle): Add type annotations to descriptor.py (12 ANN errors fixed)
Copilot 4012692
fix(paddle): Add type annotations to utils/nlist.py (4 ANN errors fixed)
Copilot bdb8a16
fix(paddle): Add type annotations to model/model.py (4 ANN errors fixed)
Copilot e5b9a6e
fix(paddle): Add type annotations to transform_output.py (4 ANN error…
Copilot 7d32e69
fix(paddle): Add type annotations to utils/utils.py (6 ANN errors fixed)
Copilot 45f1f57
fix(paddle): Add type annotations to repformer_layer.py (5 ANN errors…
Copilot f76472e
fix(paddle): Add type annotations to env_mat.py (9 ANN errors fixed)
Copilot b11fa8a
fix(paddle): Add type annotations to model/__init__.py (11 ANN errors…
Copilot bcf758d
fix(paddle): Add type annotations to ener_model.py (9 ANN errors fixed)
Copilot 4f4eed4
fix(paddle): Address code review feedback - Part 1
Copilot 68f9f3c
fix(paddle): Address code review feedback - Part 2
Copilot b9ab901
Update deepmd/pd/loss/loss.py
njzjz e80e7d9
fix(paddle): Address additional code review feedback
Copilot 5b4c024
Co-authored-by: njzjz <9496702+njzjz@users.noreply.github.com>
Copilot 9b07e06
fix(paddle): Change object to Any in _can_be_converted_to_float
Copilot 734734a
chore: Remove .dummy_file_for_commit
Copilot 79c84b4
fix(paddle): Revert strict=True to strict=False in zip() calls
Copilot ae00680
fix(paddle): Remove strict parameter from zip() calls
Copilot File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.