-
Notifications
You must be signed in to change notification settings - Fork 21.3k
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
module 'torch.cuda' has no attribute '_UntypedStorage' #88839
Comments
This problem doesn't exist in the newer pytorch 1.13. I could fix this on the 1.12 branch, but will there be a 1.12.2 release? |
No, 1.13 is out, thanks for confirming @kurtamohler. @emailweixu please reopen if error repros on pytorch 1.13 |
Hi @ngimel, @kurtamohler , I'm stuck with this issue and the problem is I cannot use the latest version of pytorch (currently using 1.12+cu11.3). Is there a workaround? or can I please get some context of why this is occuring? |
I ran into this problem as well. At this moment we are not planning to move to pytorch 1.13 yet. Can we reopen this issue and maybe get a backport to 1.12? Thanks! |
Pytorch doesn't do backport fixes. |
Thanks for the clarification. |
馃悰 Describe the bug
On a machine with PyTorch version: 1.12.1+cu116, running the following code gets error message
module 'torch.cuda' has no attribute '_UntypedStorage'
. However, the error disappears if not using cuda. The same code can run correctly on a different machine with PyTorch version: 1.8.2+cu111Error message:
Versions
Collecting environment information...
PyTorch version: 1.12.1+cu116
Is debug build: False
CUDA used to build PyTorch: 11.6
ROCM used to build PyTorch: N/A
OS: Ubuntu 22.04.1 LTS (x86_64)
GCC version: (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0
Clang version: Could not collect
CMake version: version 3.22.1
Libc version: glibc-2.35
Python version: 3.8.15 (default, Oct 12 2022, 19:15:16) [GCC 11.2.0] (64-bit runtime)
Python platform: Linux-5.15.0-52-generic-x86_64-with-glibc2.35
Is CUDA available: True
CUDA runtime version: Could not collect
CUDA_MODULE_LOADING set to:
GPU models and configuration: GPU 0: NVIDIA GeForce RTX 3090
Nvidia driver version: 510.47.03
cuDNN version: Could not collect
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True
Versions of relevant libraries:
[pip3] numpy==1.23.4
[pip3] torch==1.12.1+cu116
[pip3] torchaudio==0.12.1+cu116
[pip3] torchvision==0.13.1+cu116
[conda] Could not collect
The text was updated successfully, but these errors were encountered: