Add meta device support to _UntypedStorage and _TypedStorage#78008
Add meta device support to _UntypedStorage and _TypedStorage#78008kurtamohler wants to merge 1 commit intopytorch:masterfrom
_UntypedStorage and _TypedStorage#78008Conversation
🔗 Helpful links
✅ No Failures (0 Pending)As of commit 75b566a (more details on the Dr. CI page): Expand to see more💚 💚 Looks good so far! There are no failures yet. 💚 💚 This comment was automatically generated by Dr. CI (expand for details).Please report bugs/suggestions to the (internal) Dr. CI Users group. |
|
It's very possible that some of the functions for a meta storage will fail in an ugly way at the moment (like assuming that the data pointer is valid and trying to access it). I will take a look into all of them |
3e95a93 to
0c42edd
Compare
08ec2cb to
3c0dd84
Compare
|
Need to disable the test when run on xla |
|
@pytorchbot merge this |
|
Hey @kurtamohler. |
) (#78008) Summary: Fixes #77885 Pull Request resolved: #78008 Approved by: https://github.com/ezyang Test Plan: contbuild & OSS CI, see https://hud.pytorch.org/commit/pytorch/pytorch/e9afb43676a2427d0437198995a83165b41a39b5 Reviewed By: seemethere Differential Revision: D36783688 Pulled By: seemethere fbshipit-source-id: 965157d25639efe19876c17522b75956d9049a48
Fixes #77885