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

metadata type changed to bytes #491

Merged
merged 2 commits into from
Jul 1, 2022
Merged

Conversation

GreenFatGuy
Copy link
Collaborator

Change type of ExpertRequest/Response metadata to bytes because bytes are native output/input for serializers (for example MSGPackSerializer used in hivemind)

@GreenFatGuy GreenFatGuy self-assigned this Jun 28, 2022
@GreenFatGuy GreenFatGuy marked this pull request as ready for review June 28, 2022 19:16
@codecov
Copy link

codecov bot commented Jul 1, 2022

Codecov Report

Merging #491 (178084f) into master (ef0b842) will increase coverage by 0.24%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #491      +/-   ##
==========================================
+ Coverage   85.44%   85.68%   +0.24%     
==========================================
  Files          80       80              
  Lines        7812     7812              
==========================================
+ Hits         6675     6694      +19     
+ Misses       1137     1118      -19     
Impacted Files Coverage Δ
hivemind/optim/progress_tracker.py 98.90% <0.00%> (+1.09%) ⬆️
hivemind/averaging/averager.py 89.44% <0.00%> (+1.43%) ⬆️
hivemind/averaging/matchmaking.py 87.50% <0.00%> (+3.27%) ⬆️

@justheuristic
Copy link
Member

@GreenFatGuy please check the compatibility fix. If it looks alright, feel free to merge (with optionally updated description)

@GreenFatGuy GreenFatGuy merged commit fe7a4ef into master Jul 1, 2022
@GreenFatGuy GreenFatGuy deleted the request-metadata-to-bytes branch July 1, 2022 09:35
mryab pushed a commit that referenced this pull request Sep 13, 2022
Type of metadata field in Expert Request/Response changed to more native type `bytes` and some compatibility fixes are done to the tests to fit different `torch` versions

(cherry picked from commit fe7a4ef)
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