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

Prefetch while reading rpc_aggregate_part() outputs #370

Merged
merged 4 commits into from
Aug 31, 2021
Merged

Conversation

borzunov
Copy link
Member

@borzunov borzunov commented Aug 30, 2021

Currently, rpc_aggregate_part() does not receive output parts and decompress them in parallel. This PR fixes it.

Future work:

  • Implement prefetching outputs in iterate_protobuf_handler() instead.

@borzunov borzunov requested a review from justheuristic August 30, 2021 20:49
@borzunov borzunov marked this pull request as draft August 30, 2021 20:51
@codecov
Copy link

codecov bot commented Aug 30, 2021

Codecov Report

Merging #370 (bf38ca9) into master (2500e3d) will decrease coverage by 0.00%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #370      +/-   ##
==========================================
- Coverage   83.48%   83.47%   -0.01%     
==========================================
  Files          66       66              
  Lines        6126     6124       -2     
==========================================
- Hits         5114     5112       -2     
  Misses       1012     1012              
Impacted Files Coverage Δ
hivemind/averaging/partition.py 98.01% <ø> (ø)
hivemind/averaging/allreduce.py 77.41% <100.00%> (-0.29%) ⬇️
hivemind/averaging/matchmaking.py 84.37% <0.00%> (ø)

@borzunov borzunov removed the request for review from justheuristic August 30, 2021 21:04
@borzunov borzunov force-pushed the more-prefetch branch 2 times, most recently from 1d8c2ee to 218001a Compare August 30, 2021 22:55
@borzunov borzunov requested a review from justheuristic August 31, 2021 17:40
@borzunov borzunov marked this pull request as ready for review August 31, 2021 18:03
@borzunov borzunov merged commit a504a07 into master Aug 31, 2021
@borzunov borzunov deleted the more-prefetch branch August 31, 2021 19:07
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.

2 participants