-
Notifications
You must be signed in to change notification settings - Fork 633
feat(dpmodel,pt_expt,cc): graph-native DPA-2 — first message-passing model on the NeighborGraph lower (PR-G-dpa2) #5779
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
wanghan-iapcm
merged 82 commits into
deepmodeling:master
from
wanghan-iapcm:feat-graph-dpa2
Jul 19, 2026
Merged
Changes from all commits
Commits
Show all changes
82 commits
Select commit
Hold shift + click to select a range
8bea38f
feat(dpmodel): segment_max/segment_softmax over trailing feature dims
ba95854
feat(dpmodel): repformer graph twins for cal_hg/cal_grrg/symmetrizati…
79dc371
feat(dpmodel): repformer layer graph twins for g1_conv / g2_g1g1
b513622
refactor(dpmodel): graph-twin naming convention <func_name>_graph
2c32acc
feat(dpmodel): graph twins for repformer attention ops
83babe4
feat(dpmodel): RepformerLayer.call_graph
b75374f
test(dpmodel): cover update_chnnl_2=False and cal_gg1=None in Repform…
a1e00c3
feat(dpmodel): DescrptBlockRepformers.call_graph + exchange seam
3b89378
feat(dpmodel): graph-native DPA2 (uses_graph_lower, call_graph, dense…
21a4ee1
test(dpmodel): pin dpa2 adapter davg-nonzero divergence; exercise rea…
9fbe20d
docs(dpmodel): correct davg-residual root-cause framing in dpa2 call_…
69f4c4b
feat(pt_expt): dpa2 graph lower routing tests + border_op graph exchange
6c7c7f4
test(pt_expt): pin repformer parallel test to the dense route
b08304d
feat(dpmodel,pt_expt): owned-node (n_local) energy mask in graph outp…
650b715
feat(pt_expt): with-comm graph .pt2 artifact for message-passing models
99d714e
test(cc): dpa2 graph .pt2 fixtures + universal gtest row
c9e91ae
feat(cc): multi-rank message-passing graph route (run_model_graph_wit…
fef2d53
fix(cc): fail loudly on empty rank in MP graph route; fix stale comment
83179f1
test(lmp): dpa2 graph LAMMPS single- and multi-rank tests
b0fe611
fix(cc): put nlocal/nghost comm tensors on model device for graph wit…
6d7e151
docs: DPA-2 graph-native inference route (pt_expt)
1e9c15b
test(lmp): scale dpa2 MP virial tolerance; bound empty-rank deadlock …
966d378
fix(pt_expt): derive graph-trace device from model params, not global…
9a365e3
test(pt_expt): dpa2 joins KNOWN_GRAPH_DENSE_DIVERGENT in default-fall…
854d654
test(pt_expt): per-model divergence envelopes in default-fallback test
2e49936
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 1e5cd13
style: fix ruff C408/B905 in repformer graph-ops test
bc0d70a
fix(dpmodel): dpa2 dense call must not route through divergent graph …
778a4bc
test(dpa2): exclude AOTInductor graph .pt2 from LeakSanitizer build
37863e2
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 10a359d
test(dpa2): make LSAN graph-section skip deterministic via explicit e…
c633186
docs(dpa2): note graph-route attention cutoff smoothness
2c29ace
feat(dpmodel): fixed-phantom-count smooth attention on the dpa2 graph…
4b96fdb
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] b73302b
docs(dpmodel): numpydoc sections for the phantom-compensated attentio…
58c23e4
docs(dpmodel,pt_expt): numpydoc sections for all remaining PR-added m…
34370df
fix(pt_expt): collective empty-rank preflight + extended-axis aparam …
314a371
test(dpa2): address review nits (pairs=None coverage, dup fixture, No…
9e33f1c
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 569dfd7
test(dpa2): tighten graph-vs-dense envelope post-compensation + prove…
1265c66
test(lammps): DPA2 graph empty-subdomain (nlocal=0, nghost>0) MP==SP …
a266a3b
docs(dpa2): document pt_expt eager/training default-flip + legacy esc…
ffbc655
feat(pt_expt): graph-native Hessian + fix fparam graph export/train (…
b048e23
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 2acc142
fix(pt_expt): derive graph trace edge_capacity from real edge count, …
37ce12d
fix(pt_expt,dpmodel): graph-lower aparam is flat (N, nda) on the node…
cc29057
fix(pt_expt): gate the graph default-flip to energy-output models
e95f2ba
fix(cc): graph aparam width + ghost-only-rank synthesis; bound all MP…
569d40c
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] acc973d
perf(cc,pt_expt): cache empty-rank preflight on ago==0; split n_local…
a2496a0
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 994813b
fix(pt_expt): persist disable_graph_lower across checkpoint restart
bb4d6c2
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] ad0a954
fix(dpmodel): signed phantom count -- smooth graph attention for arbi…
95b3dee
fix(pt_expt): keep the graph-lower routing bool out of traced forward…
44ebdda
Merge master into feat-graph-dpa2 (integrate #5758 dpa1 graph CUDA re…
990053c
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 41bbd49
fix(dpmodel,pt_expt): gate nonzero-mean dpa2 off the graph default; d…
bc90a20
style(pt_expt): explicit device on the graph_lower_disabled buffer init
d33ad3b
docs: use the LAMMPS-native 'ghost' terminology for the extended region
8248d4d
fix(dpmodel,cc): strictly positive phantom floor; device-edge flat ap…
643bb15
hardening(cc): assert the flat graph-route aparam contract at the run…
486b146
hardening: assert three latent invariants surfaced by the merge audit
3006793
fix(pt_expt): fold extended_virial in the compiled translate; documen…
5219119
fix(dpmodel): gate the phantom denominator floor to the negative-coun…
1a01380
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 017f861
fix(pt_expt): scope the Triton exclude_types veto to the graph dispatch
8011829
fix(dpmodel): soft slot-occupancy phantom denominator (positive AND c…
7e11d63
Merge branch 'feat-graph-dpa2' of github.com:wanghan-iapcm/deepmd-kit…
206810e
fix(dpmodel): make _slot_occupancy export-safe on the unbacked pair axis
04ad574
chore(tests): resolve CodeQL findings (import style, keepalive del)
8a1ac1f
fix(dpmodel): keep gradients off the water-filling cumsum (inductor u…
9ed7caf
test(pt_expt): move graph with-comm export tests next to the dense twin
dfd49ef
fix(dpmodel): C1 slot-occupancy denominator (no force kink at the bel…
002713d
fix(dpmodel): log-space chi -- no division by a subnormal ph_e in the…
96604dd
Merge upstream/master into feat-graph-dpa2
ad6e39f
fix(dpmodel): float64 cut selection in the water-filling; correct the…
652ace4
Merge branch 'master' into feat-graph-dpa2
OutisLi 48ae340
fix: address CodeRabbit round-3 findings (MPI fence placement, LSAN s…
13b098b
Merge branch 'feat-graph-dpa2' of github.com:wanghan-iapcm/deepmd-kit…
ed4c1be
fix(pt_expt): trace graph lower on the model's device; fix CUDA test …
cfe9cb9
ci(cuda): raise Test CUDA job timeout to 480 min
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
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.