Skip to content

feat(tf2): support DPA4 training#5749

Open
njzjz wants to merge 4 commits into
deepmodeling:masterfrom
njzjz:feat/dpa4-tf2-train
Open

feat(tf2): support DPA4 training#5749
njzjz wants to merge 4 commits into
deepmodeling:masterfrom
njzjz:feat/dpa4-tf2-train

fix(tf2): address dpa4 review feedback

4328329
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jul 11, 2026 in 0s

79.58% (-0.03%) compared to 1cd6556

View this Pull Request on Codecov

79.58% (-0.03%) compared to 1cd6556

Details

Codecov Report

❌ Patch coverage is 95.81006% with 15 lines in your changes missing coverage. Please review.
✅ Project coverage is 79.58%. Comparing base (1cd6556) to head (4328329).
⚠️ Report is 12 commits behind head on master.

Files with missing lines Patch % Lines
deepmd/tf2/descriptor/dpa4.py 95.86% 6 Missing ⚠️
deepmd/tf2/common.py 95.14% 5 Missing ⚠️
deepmd/tf2/train/trainer.py 87.87% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5749      +/-   ##
==========================================
- Coverage   79.61%   79.58%   -0.03%     
==========================================
  Files        1014     1017       +3     
  Lines      115360   116135     +775     
  Branches     4274     4273       -1     
==========================================
+ Hits        91843    92430     +587     
- Misses      21976    22159     +183     
- Partials     1541     1546       +5     

☔ 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.