Hi, I’m getting a Segmentation Fault when using model.cuda.
Torch version =1.2.0  , gpu Quadro RTX 5000 , Cuda :11.2
Here is output of gdb:
New Thread 0x7fff63ff5700 (LWP 110466)]
Thread 1 “python” received signal SIGSEGV, Segmentation fault.
0x00007ffef9e3faae in ?? () from /lib64/libcuda.so.1
(gdb)
(gdb) where
#0 0x00007ffef9e3faae in ?? () from /lib64/libcuda.so.1
#1 0x00007ffef9e2b2f9 in ?? () from /lib64/libcuda.so.1
#2 0x00007ffef9c4ab7e in ?? () from /lib64/libcuda.so.1
#3 0x00007ffef9cac3a0 in ?? () from /lib64/libcuda.so.1
#4 0x00007ffef9c66b7f in ?? () from /lib64/libcuda.so.1
#5 0x00007ffef9da56ec in cuDevicePrimaryCtxRetain () from /lib64/libcuda.so.1
#6 0x00007fffe35b8d30 in ?? () from …/lib/python3.7/site-packages/torch/lib/libcudart-1581fefa.so.10.0
#7 0x00007fffe35b9832 in ?? () from …/lib/python3.7/site-packages/torch/lib/libcudart-1581fefa.so.10.0
#8 0x00007fffe35ba2e8 in ?? () from …/lib/python3.7/site-packages/torch/lib/libcudart-1581fefa.so.10.0
#9 0x00007fffe35ad43e in ?? () from …./lib/python3.7/site-packages/torch/lib/libcudart-1581fefa.so.10.0
#10 0x00007fffe359cde8 in ?? () from …/lib/python3.7/site-packages/torch/lib/libcudart-1581fefa.so.10.0
#11 0x00007fffe35ce23c in cudaMalloc () from …/lib/python3.7/site-packages/torch/lib/libcudart-1581fefa.so.10.0