-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Description
Describe the bug
With pytorch 2, I'm getting lots of instances of this warning:
/home/rbrown/miniconda3/envs/py3.11/lib/python3.11/site-packages/torch/_tensor.py:1287: 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()
ret = func(*args, **kwargs)
The only usage of torch.storage() is here, so I suspect that's the problem. @wyli I see you added the code, can we do without it or modify it?
Metadata
Metadata
Assignees
Labels
No labels