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

pr 363 #410

Merged
merged 2 commits into from
Aug 11, 2021
Merged

pr 363 #410

merged 2 commits into from
Aug 11, 2021

Conversation

pleasantrabbit
Copy link
Collaborator

see PR #363 and issue #362

@dbonner

dbonner and others added 2 commits August 12, 2021 03:08
This is a proposed fix for:

#362

It is needed because the latest pytorch from source can include NoneType in optimizer parameters.  So these needs to be allowed in broadcast_optimizer_state.

The code in the above issue works after these proposed changes are made.
add a torch.broadcast_object() function, it serializes an object to a byte
tensor, broadcasts it, then deserializes the byte tensor.

Signed-off-by: yulu.jia <[email protected]>
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.

3 participants