Skip to content

feat(pt-expt): add compact descriptor DPA4C 🎉🎉🎉 - #5972

Merged
OutisLi merged 20 commits into
deepmodeling:masterfrom
OutisLi:pr/dpa4c
Aug 18, 2026
Merged

feat(pt-expt): add compact descriptor DPA4C 🎉🎉🎉#5972
OutisLi merged 20 commits into
deepmodeling:masterfrom
OutisLi:pr/dpa4c

fix(api_cc): let a native-spin call name the charge state it wants se…

cd3fa56
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Aug 18, 2026 in 1s

78.84% (-0.96%) compared to ed691aa

View this Pull Request on Codecov

78.84% (-0.96%) compared to ed691aa

Details

Codecov Report

❌ Patch coverage is 56.59325% with 1557 lines in your changes missing coverage. Please review.
✅ Project coverage is 78.84%. Comparing base (ed691aa) to head (cd3fa56).
⚠️ Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
source/api_cc/src/NativeSpinPTExpt.cc 0.00% 647 Missing ⚠️
deepmd/kernels/cuda/dpa4c/graph_compress.py 71.52% 129 Missing ⚠️
...ource/api_cc/tests/test_nativespin_dpa4c_ptexpt.cc 6.19% 105 Missing and 1 partial ⚠️
deepmd/kernels/cuda/dpa4c/canonical.py 28.68% 87 Missing ⚠️
source/api_cc/src/commonPTExpt.h 33.89% 64 Missing and 14 partials ⚠️
deepmd/pt_expt/utils/serialization.py 39.53% 52 Missing ⚠️
source/api_cc/src/DeepPotPTExpt.cc 45.78% 35 Missing and 10 partials ⚠️
deepmd/kernels/cuda/graph_fitting.py 33.87% 41 Missing ⚠️
deepmd/pt_expt/infer/charge_state.py 48.27% 30 Missing ⚠️
deepmd/pt_expt/descriptor/dpa4c.py 77.69% 29 Missing ⚠️
... and 46 more
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5972      +/-   ##
==========================================
- Coverage   79.80%   78.84%   -0.96%     
==========================================
  Files        1086     1105      +19     
  Lines      127382   130981    +3599     
  Branches     4592     4765     +173     
==========================================
+ Hits       101652   103275    +1623     
- Misses      24076    26022    +1946     
- Partials     1654     1684      +30     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.