Skip to content

optimize the graph of dplr data modifier#1615

Merged
wanghan-iapcm merged 1 commit intodeepmodeling:develfrom
y1xiaoc:devel
Apr 2, 2022
Merged

optimize the graph of dplr data modifier#1615
wanghan-iapcm merged 1 commit intodeepmodeling:develfrom
y1xiaoc:devel

Conversation

@y1xiaoc
Copy link
Contributor

@y1xiaoc y1xiaoc commented Apr 1, 2022

Rewrite the dplr data modifier graph to use head gradient instead of looping over the Jacobian. This should largely reduce the graph size and can also improve the computation speed.

@codecov-commenter
Copy link

codecov-commenter commented Apr 1, 2022

Codecov Report

Merging #1615 (60f0ad5) into devel (10fdc93) will decrease coverage by 0.15%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##            devel    #1615      +/-   ##
==========================================
- Coverage   76.32%   76.16%   -0.16%     
==========================================
  Files          94       94              
  Lines        7868     7849      -19     
==========================================
- Hits         6005     5978      -27     
- Misses       1863     1871       +8     
Impacted Files Coverage Δ
deepmd/infer/data_modifier.py 89.40% <100.00%> (-4.25%) ⬇️

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 10fdc93...60f0ad5. Read the comment docs.

@wanghan-iapcm wanghan-iapcm merged commit 1cdf527 into deepmodeling:devel Apr 2, 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