I’m building a network to run on CUDA and i’ve always used the Nvidia GTX 850M with 2GB, which never gave me any problems, but since i need more memory i’m trying out the Nvidia GT 730 with 4 GB.
When i try to run my network i get this error:
RuntimeError: cuda runtime error (8) : invalid device function at /py/conda-bld/pytorch_1493680494901/work/torch/lib/THC/generic/THCTensorMathPairwise.cu:40
It happens when in a line where i simply subtract a scalar from a tensor inside a Variable.
I’m sure it’s not a code problem, since on the 850M all my code works perfectly, so it’s probably a CUDA-Pytorch compatibility issue.
Any suggestions? The 730 should be supported since it’s compute capability is 3.5 (while the 850M is 3.0).