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

feat(pt): allow using directories to store stat #3633

Merged
merged 1 commit into from
Apr 2, 2024

Conversation

njzjz
Copy link
Member

@njzjz njzjz commented Apr 1, 2024

If the stat file ends with .h5 or .hdf5, an HDF5 file is used; otherwise, a directory containing NumPy binary files is used. This gives flexibility to users.

If the stat file endswith .h5 or .hdf5, an HDF5 file is used; otherwise, a directory containing NumPy binary files is used.

Signed-off-by: Jinzhe Zeng <[email protected]>
Copy link

codecov bot commented Apr 1, 2024

Codecov Report

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

Project coverage is 77.79%. Comparing base (8e0cc90) to head (20ec938).

Files Patch % Lines
deepmd/pt/entrypoints/main.py 60.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##            devel    #3633      +/-   ##
==========================================
- Coverage   77.80%   77.79%   -0.01%     
==========================================
  Files         438      438              
  Lines       37707    37707              
  Branches     1623     1623              
==========================================
- Hits        29337    29335       -2     
- Misses       7506     7508       +2     
  Partials      864      864              

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

@wanghan-iapcm wanghan-iapcm added this pull request to the merge queue Apr 2, 2024
@wanghan-iapcm wanghan-iapcm removed this pull request from the merge queue due to a manual request Apr 2, 2024
@iProzd
Copy link
Collaborator

iProzd commented Apr 2, 2024

Is 'saving to numpy directory' tested in UT?

@njzjz
Copy link
Member Author

njzjz commented Apr 2, 2024

Is 'saving to numpy directory' tested in UT?

This was added in #3631

@wanghan-iapcm wanghan-iapcm added this pull request to the merge queue Apr 2, 2024
Merged via the queue into deepmodeling:devel with commit 9808898 Apr 2, 2024
48 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants