forked from pytorch/pytorch
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix deepcopy for tensor with MTIA device key. (pytorch#107427)
Summary: Pull Request resolved: pytorch#107427 Tensor with MTIA device type doesn't have storage and we need to treat it same as other tensors which don't have storage. Test Plan: CI tests. Differential Revision: D48456004 fbshipit-source-id: ec3e87caf86d6df16866b3fbec878355a6c0707f
- Loading branch information
1 parent
2e05403
commit b936f82
Showing
1 changed file
with
4 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters