Skip to content
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

pt: refact training code #3359

Merged
merged 47 commits into from
Mar 1, 2024

Update hybrid.py

e26c118
Select commit
Loading
Failed to load commit list.
Merged

pt: refact training code #3359

Update hybrid.py
e26c118
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Mar 1, 2024 in 1s

76.53% (+0.47%) compared to 54efc03

View this Pull Request on Codecov

76.53% (+0.47%) compared to 54efc03

Details

Codecov Report

Attention: Patch coverage is 73.78277% with 70 lines in your changes are missing coverage. Please review.

Project coverage is 76.53%. Comparing base (54efc03) to head (e26c118).

Files Patch % Lines
deepmd/pt/model/descriptor/se_r.py 25.00% 18 Missing ⚠️
deepmd/pt/train/training.py 83.33% 11 Missing ⚠️
deepmd/pt/model/descriptor/dpa2.py 47.36% 10 Missing ⚠️
deepmd/pt/model/descriptor/hybrid.py 25.00% 6 Missing ⚠️
deepmd/pt/loss/ener.py 83.33% 3 Missing ⚠️
deepmd/pt/model/descriptor/dpa1.py 66.66% 3 Missing ⚠️
deepmd/pt/model/descriptor/repformers.py 71.42% 2 Missing ⚠️
deepmd/pt/model/descriptor/se_a.py 84.61% 2 Missing ⚠️
deepmd/pt/utils/stat.py 84.61% 2 Missing ⚠️
deepmd/utils/data.py 90.00% 2 Missing ⚠️
... and 11 more
Additional details and impacted files
@@            Coverage Diff             @@
##            devel    #3359      +/-   ##
==========================================
+ Coverage   76.06%   76.53%   +0.47%     
==========================================
  Files         421      421              
  Lines       35514    35638     +124     
  Branches     1618     1618              
==========================================
+ Hits        27013    27276     +263     
+ Misses       7633     7494     -139     
  Partials      868      868              

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