Closed EthanCalvin closed 5 years ago
Did you find a solution to this problem?
I've got the same problem with the exact same version of CUDA and CuDNN.
This problem has been fixed if you're still interested.
This has to do with CUDA 9.0 attempting to allocate more registers to each thread. This can be fixed by setting a launch bound on the cuda kernels in im2col.h. You should be able to just pull the latest pytorch version and re-install it and it would work.
For more details look at this thread: https://github.com/pytorch/pytorch/issues/7680
Hi! Sorry for the late reply. I recently tried in Jetson TX2 with the latest CUDA and compiling PyTorch from scratch and it worked perfectly. So I'll close the issue and if you are still having trouble please reopen!
@ShreyasSkandan
Hi, I have compiling PyTorch from scrath, but I still meet the problem. Which file to add the __launch_bounds__(1024)
?
@Eromera Can you give me your pytorch wheel on TX2 ?Or more details about installing the pytorch on TX2?I have try many times but the problem still exists. this
Hi, I dunno about the launch_bounds issue but I followed this procedure. Had some issues I think but it ends up compiling successfully
What's your version of Pytorch, CUDA and CUDNN on TX2? @Eromera
Last pytorch from source, CUDA 9.0 and CuDNN 7
Hi, I want to run the erfnet model on Jeson tx2.
but When I try to run erfnet code, I got stuck
"RuntimeError : cuda runtime error(7) : too many resources requested for launch at /home/nvidia/pytorch/aten/src/THCUNN/im2col.h"
please help me!.