Skip to content

fix rcut in hybrid model compression#1663

Merged
wanghan-iapcm merged 2 commits intodeepmodeling:develfrom
njzjz:fix-hybrid-compress
Apr 29, 2022
Merged

fix rcut in hybrid model compression#1663
wanghan-iapcm merged 2 commits intodeepmodeling:develfrom
njzjz:fix-hybrid-compress

Conversation

@njzjz
Copy link
Member

@njzjz njzjz commented Apr 28, 2022

The current way self.graph.get_operation_by_name('ProdEnvMatA') to get rcut is incorrect for hybrid models. There may be several ProdEnvMatA ops in a graph.

The current way `self.graph.get_operation_by_name('ProdEnvMatA')` to get `rcut` is incorrect for hybrid models. There may be several  ProdEnvMatA ops in a graph.

(cherry picked from commit 34a4e9b)
@codecov-commenter
Copy link

codecov-commenter commented Apr 28, 2022

Codecov Report

Merging #1663 (9bc964d) into devel (de7ba72) will increase coverage by 0.07%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##            devel    #1663      +/-   ##
==========================================
+ Coverage   76.15%   76.22%   +0.07%     
==========================================
  Files          94       94              
  Lines        7850     7836      -14     
==========================================
- Hits         5978     5973       -5     
+ Misses       1872     1863       -9     
Impacted Files Coverage Δ
deepmd/utils/tabulate.py 84.10% <100.00%> (+2.14%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update de7ba72...9bc964d. Read the comment docs.

@wanghan-iapcm wanghan-iapcm merged commit f8533cb into deepmodeling:devel Apr 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants