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

hivemind.compression: TypedStorage is deprecated #563

Closed
borzunov opened this issue Apr 14, 2023 · 1 comment
Closed

hivemind.compression: TypedStorage is deprecated #563

borzunov opened this issue Apr 14, 2023 · 1 comment
Assignees
Labels
good first issue Good for newcomers help wanted Extra attention is needed

Comments

@borzunov
Copy link
Member

borzunov commented Apr 14, 2023

Apparently, this happens starting from some torch version.

/opt/conda/lib/python3.10/site-packages/hivemind/compression/base.py:115: UserWarning: TypedStorage is deprecated. It will be removed in the future and UntypedStorage will be the only storage class. This should only matter to you if you are using storages directly.  To access UntypedStorage directly, use tensor.untyped_storage() instead of tensor.storage()
  tensor = torch.as_tensor(storage, dtype=torch.bfloat16)

We need to update the code so that it doesn't use TypedStorage anymore.

@borzunov borzunov added the bug Something isn't working label Apr 14, 2023
@borzunov borzunov added good first issue Good for newcomers help wanted Extra attention is needed and removed bug Something isn't working labels Apr 14, 2023
@borzunov
Copy link
Member Author

Fixed in #565.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants