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

6104 remove deprecated tensor.storage usage #6105

Merged
merged 1 commit into from
Mar 6, 2023

Conversation

wyli
Copy link
Contributor

@wyli wyli commented Mar 6, 2023

Fixes #6104

Description

workaround adapted from https://github.com/pytorch/pytorch/blob/44dac51/torch/_tensor.py#L231-L233

Types of changes

  • Non-breaking change (fix or new feature that would not break existing functionality).
  • Breaking change (fix or new feature that would cause existing functionality to change).
  • New tests added to cover the changes.
  • Integration tests passed locally by running ./runtests.sh -f -u --net --coverage.
  • Quick tests passed locally by running ./runtests.sh --quick --unittests --disttests.
  • In-line docstrings updated.
  • Documentation updated, tested make html command in the docs/ folder.

Signed-off-by: Wenqi Li <[email protected]>
@wyli wyli changed the title remove deprecated tensor.storage usage 6104 remove deprecated tensor.storage usage Mar 6, 2023
@wyli wyli marked this pull request as ready for review March 6, 2023 17:28
@wyli
Copy link
Contributor Author

wyli commented Mar 6, 2023

/build

tested
Screenshot 2023-03-06 at 21 48 47

@wyli wyli enabled auto-merge (squash) March 6, 2023 21:49
@wyli wyli merged commit fa884a2 into Project-MONAI:dev Mar 6, 2023
@wyli wyli deleted the 6104-remove-warning-msg branch March 7, 2023 08:19
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.

UserWarning: TypedStorage is deprecated.
2 participants