-
Notifications
You must be signed in to change notification settings - Fork 608
perf(pt2): optimize .pt2 C++ inference path #5407
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
Draft
wanghan-iapcm
wants to merge
35
commits into
deepmodeling:master
Choose a base branch
from
wanghan-iapcm:perf-pt-expt-pt2-cpp
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.
Draft
Changes from all commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
512eeb6
feat(pt_expt): multi-task training support
9f4d232
fix(dpmodel): wrap fparam/aparam reshape with descriptive ValueError
9f1f1d8
fix: address CodeQL findings in PR #5397
f3f5474
fix(pt_expt): access unwrapped module in _compile_model for DDP compat
665b85a
test(pt_expt): add DDP + torch.compile training tests
aabb710
feat(pt_expt): use inductor+dynamic for training compile
f774cd2
test(pt_expt): port silut activation + repformers accessors from #5393
0b5468e
test(pt_expt): assert virial in compile correctness tests
9bf006b
test(pt_expt): port silu compile and varying-natoms tests from #5393
7722f52
test(pt_expt): compare compiled vs uncompiled with varying natoms
be14ac2
test(pt_expt): cover DPA2/DPA3 in varying-natoms compile correctness
4c0b8ec
test(pt_expt): exercise DPA2 three-body branch in compile correctness
80c714c
fix(dpmodel): restore nf in reshapes to fix zero-atom and add silu_ba…
6158d9c
fix: address CodeQL findings in PR #5397
c2efbf1
fix(pt): wrap fparam/aparam reshape with descriptive ValueError
1e694a3
feat(pt_expt): reject DPA1/se_atten_v2 with attention at compile time
6d39ddf
fix(pt_expt): remove false DPA1 attention compile guard
23eb6dd
refactor(dpmodel): remove unused get_numb_attn_layer API
bacd312
fix(test): use real path for PT water data, remove unused API
f834202
fix(pt_expt): rebuild FX graph after detach node removal to avoid seg…
447a572
fix(pt_expt): tune inductor options for compile training
fb25ccb
fix(pt_expt): disable DDPOptimizer to prevent compiled graph splitting
479900d
fix(test): add .cpu() before .numpy() for GPU-compatible activation t…
b67a181
fix(pt_expt): revert inductor options that cause numerical divergence
7ce7352
fix(test): make DDP tests device-adaptive instead of hardcoding CPU
975db17
fix(test): correct freeze test docstrings to match dpa3 guard
64dc703
fix(pt_expt): move optimize_ddp into _compile_model, resolve test sym…
28fbcac
fix(test): backup/restore fparam.npy in TestFparam instead of deleting
fbb361a
fix(test): skip DDP tests when NCCL is selected with fewer than 2 GPUs
7739fad
perf(pt2): optimize .pt2 C++ inference path
19272c2
Merge upstream/master into perf-pt-expt-pt2-cpp
b7509db
feat(pt2): make nlist nnei dimension dynamic in .pt2 export
eec2528
fix(pt2): pad nlist in Python eval path for dynamic nnei
217a587
fix(pt2): move atomic virial check before run_model and reject unsupp…
8a9fe63
fix(pt2): move nlist padding inside traced fn and strip shape assertions
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
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.