Skip to content

Conversation

@anyangml
Copy link
Collaborator

@anyangml anyangml commented Feb 22, 2024

This PR is to add cross framework consistency test on DipoleFittingNet.

Known Limitations:

  1. There are some mismatched keys in the serialized model, only common keys are tested.

@anyangml anyangml self-assigned this Feb 22, 2024
@anyangml anyangml marked this pull request as draft February 22, 2024 03:43
@property
def skip_pt(self) -> bool:
(
resnet_dt,

Check notice

Code scanning / CodeQL

Unused local variable

Variable resnet_dt is not used.
def skip_pt(self) -> bool:
(
resnet_dt,
precision,

Check notice

Code scanning / CodeQL

Unused local variable

Variable precision is not used.
(
resnet_dt,
precision,
mixed_types,

Check notice

Code scanning / CodeQL

Unused local variable

Variable mixed_types is not used.

def build_tf(self, obj: Any, suffix: str) -> Tuple[list, dict]:
(
resnet_dt,

Check notice

Code scanning / CodeQL

Unused local variable

Variable resnet_dt is not used.
def eval_pt(self, pt_obj: Any) -> Any:
(
resnet_dt,
precision,

Check notice

Code scanning / CodeQL

Unused local variable

Variable precision is not used.
(
resnet_dt,
precision,
mixed_types,

Check notice

Code scanning / CodeQL

Unused local variable

Variable mixed_types is not used.

def eval_dp(self, dp_obj: Any) -> Any:
(
resnet_dt,

Check notice

Code scanning / CodeQL

Unused local variable

Variable resnet_dt is not used.
def eval_dp(self, dp_obj: Any) -> Any:
(
resnet_dt,
precision,

Check notice

Code scanning / CodeQL

Unused local variable

Variable precision is not used.
(
resnet_dt,
precision,
mixed_types,

Check notice

Code scanning / CodeQL

Unused local variable

Variable mixed_types is not used.
@codecov
Copy link

codecov bot commented Feb 22, 2024

Codecov Report

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

Project coverage is 75.31%. Comparing base (6345207) to head (9ac39b8).
Report is 1 commits behind head on devel.

Files Patch % Lines
deepmd/tf/model/multi.py 50.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##            devel    #3321      +/-   ##
==========================================
+ Coverage   75.29%   75.31%   +0.01%     
==========================================
  Files         403      403              
  Lines       33910    33922      +12     
  Branches     1604     1604              
==========================================
+ Hits        25532    25547      +15     
+ Misses       7517     7514       -3     
  Partials      861      861              

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

def build_tf(self, obj: Any, suffix: str) -> Tuple[list, dict]:
(
resnet_dt,
precision,

Check notice

Code scanning / CodeQL

Unused local variable

Variable precision is not used.
(
resnet_dt,
precision,
mixed_types,

Check notice

Code scanning / CodeQL

Unused local variable

Variable mixed_types is not used.
@anyangml anyangml requested a review from njzjz February 23, 2024 02:31
@anyangml anyangml added the Test CUDA Trigger test CUDA workflow label Feb 23, 2024
@github-actions github-actions bot removed the Test CUDA Trigger test CUDA workflow label Feb 23, 2024
@anyangml anyangml requested a review from njzjz February 23, 2024 04:40
@wanghan-iapcm wanghan-iapcm added this pull request to the merge queue Feb 23, 2024
Merged via the queue into deepmodeling:devel with commit 260ef21 Feb 23, 2024
@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.

3 participants