Lua Torch

Predrag Punosevac predragp at andrew.cmu.edu
Mon Mar 26 21:00:21 EDT 2018


Manzil Zaheer <manzil at cmu.edu> wrote:

> Hi Predrag,
> 
> I am not able to use any GPUSs on gpu5,6,7,9. I tried all 3 versions of cuda, but I get the following error:
> 


I was able to build it after adding this

export TORCH_NVCC_FLAGS="-D__CUDA_NO_HALF_OPERATORS__"

per 

https://github.com/torch/torch7/issues/1086

When I try to run it I get errors that Lua packages are missing (probably
due to my path variables). I have a vague recollection that Simon and I
halped you once with this thing in the past. IIRC it was very picky about
the version of some Lua package and required their version not the one 
which comes with yum . 

Anyhow I am forwarding this to users at autonlab in hope somebody is using
it and might be of more help. Please stop by NSH 3119 and let us try to 
debug this. 

Predrag




> THCudaCheck FAIL file=/pytorch/torch/lib/THC/THCGeneral.c line=70 error=30 : unknown error
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File "/zfsauton/home/manzilz/local/lib/python3.6/site-packages/torch/cuda/__init__.py", line 384, in _lazy_new
>     _lazy_init()
>   File "/zfsauton/home/manzilz/local/lib/python3.6/site-packages/torch/cuda/__init__.py", line 142, in _lazy_init
>     torch._C._cuda_init()
> RuntimeError: cuda runtime error (30) : unknown error at /pytorch/torch/lib/THC/THCGeneral.c:70
> 
> Can you kindly look into it?
> 
> Thanks,
> Manzil


More information about the Autonlab-users mailing list