-
Notifications
You must be signed in to change notification settings - Fork 599
test(pt_expt): add .pt2 (AOTInductor) unit tests and bug fixes #5334
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
Open
wanghan-iapcm
wants to merge
51
commits into
deepmodeling:master
Choose a base branch
from
wanghan-iapcm:feat-pt-expt-pt2-uts
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
51 commits
Select commit
Hold shift + click to select a range
584613b
Add pt2 format for C/C++ inference.
98fa3fa
fix(dpmodel): fix NoPbc for DPA1 pt2 export and unify test models
6f7c11f
feat(c++): add DPA2 C++ inference tests and fix mapping bug in all ba…
f92b408
feat(c++): add DPA3 .pt2 export and C/C++ inference tests
46908c0
fix(ci): restore pre-committed .pth files and handle missing custom ops
da5579d
temporarily clears the default device (None) before calling aoti_comp…
0091315
fix issue of c/c++ ut
46c56e3
check the size validity
1ec9b85
fix: zip 64-bit widths
fbb8a61
rm dead code
7530a6e
fix: trace on CPU during export to avoid CUDA stream assert in make_fx
0269ef7
fix: trace on CPU then move to target device for CUDA-compatible export
f120319
fix(ci): preload LSAN runtime for gen scripts in sanitizer builds
f60f423
fix(export): use move_to_device_pass for CPU→CUDA device relocation
f564b1a
fix: harden C++ parser, fix CI gen script failures
cd90c31
fix(ci): clear LD_PRELOAD before AOTInductor compilation
914f401
feat(c++): implement has_default_fparam for pt_expt backend
9f52a35
fix: address coderabbitai review comments on PR #5298
5b346f6
fix(ci): don't preload LSAN into gen script Python processes
4b1f897
fix: resolve github-advanced-security alerts
1aded45
fix(ci): preload LSAN with detect_leaks=0 for gen scripts
59a3bf7
fix(build): guard pt_expt C++ backend on AOTInductor header availability
460ccf7
fix: move _load_custom_ops after deepmd.pt import in gen scripts
dd0b96a
fix(ci): install custom op .so to deepmd/lib before gen scripts
dd75039
fix(ci): add install prefix to LD_LIBRARY_PATH for gen scripts
00327cc
fix(ci): use SHARED_LIB_DIR to find correct custom op install path
7e04ad5
fix(ci): guard gen scripts behind ENABLE_PYTORCH and clean up test_cc…
f25a800
fix: address CodeQL alerts — integer overflow and duplicate import
6434c9a
fix(pt): add fallback stub for tabulate_fusion_se_t_tebd custom op
6d21400
fix: widen all int operands in fold_back to ptrdiff_t
a2ec6f7
merge upstream/master into feat-pt-expt-c
f911ee0
refactor: extract common gen script helpers into gen_common.py
ce9f3dd
refactor: simplify custom op .so install in test_cc_local.sh
50507c6
test(pt_expt): add .pt2 (AOTInductor) unit tests for freeze and compress
5a53e20
fix: support default fparam in .pt2 inference and NoPBC negative coords
00fcba0
merge upstream/master into feat-pt-expt-c
35e3335
test(c++): add NoPBC atomic and multi-frame tests for DeepPotPTExpt
0cb00cb
Merge remote-tracking branch 'origin/feat-pt-expt-c' into feat-pt-exp…
9b52564
test(pt_expt): add .pt2 finetune tests
1f1d929
test(c++): add parser, ZIP, and metadata accessor tests for DeepPotPT…
1a45b88
merge upstream/master into feat-pt-expt-pt2-uts
80aa996
Merge remote-tracking branch 'upstream/master' into feat-pt-expt-pt2-uts
78d5bde
test(pt_expt): add .pt2 change-bias tests
b6e7db3
fix: address reviewer comments on PR #5334
196bcca
fix(c++): raise error when fparam required but not provided and no de…
808b9c7
fix: address remaining reviewer comments
ef878f5
fix(tests): fix expected bias shape in pt2 user-defined test
b7ec3a6
fix(tests): add finiteness checks and set rtol=0 in freeze parity tests
6a0f145
perf(tests): speed up freeze and change-bias tests
acc89b3
perf(tests): share pretrained model in TestFinetuneCLI setUpClass
4c95f98
fix(tests): pop device contexts in TestDPFreeze setUpClass
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
Some comments aren't visible on the classic Files Changed page.
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
Oops, something went wrong.
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.