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

fix(pt): set weights_only=True for torch.load #4147

Draft
wants to merge 2 commits into
base: devel
Choose a base branch
from

Merge branch 'devel' into weights_only

35b27cb
Select commit
Loading
Failed to load commit list.
Draft

fix(pt): set weights_only=True for torch.load #4147

Merge branch 'devel' into weights_only
35b27cb
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Sep 22, 2024 in 0s

83.42% (+0.00%) compared to 6010c73

View this Pull Request on Codecov

83.42% (+0.00%) compared to 6010c73

Details

Codecov Report

Attention: Patch coverage is 85.71429% with 1 line in your changes missing coverage. Please review.

Project coverage is 83.42%. Comparing base (6010c73) to head (35b27cb).

Files with missing lines Patch % Lines
deepmd/pt/utils/serialization.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##            devel    #4147   +/-   ##
=======================================
  Coverage   83.41%   83.42%           
=======================================
  Files         532      532           
  Lines       52048    52048           
  Branches     3046     3046           
=======================================
+ Hits        43416    43419    +3     
+ Misses       7684     7682    -2     
+ Partials      948      947    -1     

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