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

fix(python): change to_bagua_tensor API to support PyTorch 1.10 #338

Merged
merged 13 commits into from
Oct 31, 2021

Conversation

NOBLES5E
Copy link
Contributor

Fixes #337

@NOBLES5E NOBLES5E changed the title fix(python): remove to_bagua_tensor API to support PyTorch 1.10 fix(python): change to_bagua_tensor API to support PyTorch 1.10 Oct 30, 2021
The new Bagua tensor will share the same storage with the input PyTorch tensor.
A Bagua tensor is required to use Bagua's communication algorithms.
See :meth:`ensure_bagua_tensor` for more information.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[blackfmt] reported by reviewdog 🐶

Suggested change

@NOBLES5E NOBLES5E merged commit 3aafb98 into master Oct 31, 2021
@NOBLES5E NOBLES5E deleted the remove-to-bagua-tensor branch October 31, 2021 02:03
@Tengxu-Sun Tengxu-Sun restored the remove-to-bagua-tensor branch November 11, 2021 02:05
@Tengxu-Sun Tengxu-Sun deleted the remove-to-bagua-tensor branch November 11, 2021 03:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

runtime error on pytorch 1.10
2 participants