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

Chore: make type_map complusory model attribute #3410

Merged
merged 62 commits into from
Mar 5, 2024

Conversation

anyangml
Copy link
Collaborator

@anyangml anyangml commented Mar 4, 2024

This PR is to make type_map a mandatory input parameter for all AtomicModels in Pytorch backend.

anyangml and others added 30 commits March 3, 2024 03:49
@anyangml anyangml marked this pull request as draft March 4, 2024 14:30
@github-actions github-actions bot added the Python label Mar 4, 2024
Copy link

codecov bot commented Mar 4, 2024

Codecov Report

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

Project coverage is 76.94%. Comparing base (c8c941a) to head (940473d).

Files Patch % Lines
deepmd/dpmodel/atomic_model/linear_atomic_model.py 87.50% 2 Missing ⚠️
...eepmd/pt/model/atomic_model/linear_atomic_model.py 93.33% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##            devel    #3410   +/-   ##
=======================================
  Coverage   76.93%   76.94%           
=======================================
  Files         423      423           
  Lines       35851    35874   +23     
  Branches     1620     1620           
=======================================
+ Hits        27583    27604   +21     
- Misses       7400     7402    +2     
  Partials      868      868           

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

@anyangml anyangml changed the title Fix/typemap Chore: refactor type_map Mar 4, 2024
@anyangml anyangml requested review from wanghan-iapcm and njzjz March 5, 2024 03:44
@anyangml anyangml marked this pull request as ready for review March 5, 2024 03:44
@anyangml anyangml requested a review from wanghan-iapcm March 5, 2024 05:03
@wanghan-iapcm wanghan-iapcm changed the title Chore: refactor type_map Chore: make type_map complusory model attribute Mar 5, 2024
@anyangml anyangml enabled auto-merge March 5, 2024 05:33
@anyangml anyangml added this pull request to the merge queue Mar 5, 2024
Merged via the queue into deepmodeling:devel with commit c56a30d Mar 5, 2024
48 checks passed
@anyangml anyangml deleted the fix/typemap branch March 5, 2024 06:23
@njzjz njzjz mentioned this pull request Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants