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

ProdEnvMatAMixOp: move filter_ftype out of nsamples loop #2604

Merged
merged 1 commit into from Jun 25, 2023

Conversation

njzjz
Copy link
Member

@njzjz njzjz commented Jun 12, 2023

This PR moves filter_ftype out of the frame loop, so it can be parallelized in the frame index.

(it's the easiest part to refactor in the ProdEnvMatAMixOp; other codes are too complex to refactor)

Signed-off-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu>
@github-actions github-actions bot added the OP label Jun 12, 2023
@codecov
Copy link

codecov bot commented Jun 12, 2023

Codecov Report

Patch coverage: 70.00% and project coverage change: -0.02 ⚠️

Comparison is base (4b822b8) 76.66% compared to head (1409be2) 76.64%.

Additional details and impacted files
@@            Coverage Diff             @@
##            devel    #2604      +/-   ##
==========================================
- Coverage   76.66%   76.64%   -0.02%     
==========================================
  Files         233      233              
  Lines       24177    24154      -23     
  Branches     1711     1698      -13     
==========================================
- Hits        18536    18514      -22     
+ Misses       4518     4516       -2     
- Partials     1123     1124       +1     
Impacted Files Coverage Δ
source/op/prod_env_mat_multi_device.cc 93.50% <70.00%> (-0.14%) ⬇️

... and 13 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@wanghan-iapcm wanghan-iapcm merged commit 69d7c01 into deepmodeling:devel Jun 25, 2023
38 checks passed
@njzjz njzjz mentioned this pull request Jul 17, 2023
wanghan-iapcm pushed a commit that referenced this pull request Jul 20, 2023
Add an experimental model called pairwise DPRc, which is fragment-based
and integrated with QM/MM. Compression inference and training are
supported.
Unit tests and documentation have been added.

Some features or bugfix to implement this PR have been merged in #2549,
#2600, #2601, #2604, #2631, #2635, #2665, #2666, #2667, and #2679.
This PR makes some changes to `model.build_descrpt` additionally:
- fix errors when the suffix is not empty
- fix errors when `fparam` or `aparam` are given
- support model-customized `input_map`

---------

Signed-off-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
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.

None yet

3 participants