<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from text --><style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<div>
<div>Thanks for the detailed analysis. But I am using pytorch. I have not tried Lua torch. Can you please check? Thanks again!</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div id="x_composer_signature">
<div dir="auto" style="font-size:85%; color:#575757">Sent from my Samsung Galaxy smartphone.</div>
</div>
<div><br>
</div>
<div><br>
</div>
<div>-------- Original message --------</div>
<div>From: Predrag Punosevac <predragp@andrew.cmu.edu> </div>
<div>Date: 3/26/18 9:00 PM (GMT-05:00) </div>
<div>To: Manzil Zaheer <manzil@cmu.edu> </div>
<div>Cc: Barnabas Poczos <bapoczos@andrew.cmu.edu>, users@autonlab.org </div>
<div>Subject: Re: Lua Torch </div>
<div><br>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">Manzil Zaheer <manzil@cmu.edu> wrote:<br>
<br>
> Hi Predrag,<br>
> <br>
> 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:<br>
> <br>
<br>
<br>
I was able to build it after adding this<br>
<br>
export TORCH_NVCC_FLAGS="-D__CUDA_NO_HALF_OPERATORS__"<br>
<br>
per <br>
<br>
<a href="https://github.com/torch/torch7/issues/1086">https://github.com/torch/torch7/issues/1086</a><br>
<br>
When I try to run it I get errors that Lua packages are missing (probably<br>
due to my path variables). I have a vague recollection that Simon and I<br>
halped you once with this thing in the past. IIRC it was very picky about<br>
the version of some Lua package and required their version not the one <br>
which comes with yum . <br>
<br>
Anyhow I am forwarding this to users@autonlab in hope somebody is using<br>
it and might be of more help. Please stop by NSH 3119 and let us try to <br>
debug this. <br>
<br>
Predrag<br>
<br>
<br>
<br>
<br>
> THCudaCheck FAIL file=/pytorch/torch/lib/THC/THCGeneral.c line=70 error=30 : unknown error<br>
> Traceback (most recent call last):<br>
> File "<stdin>", line 1, in <module><br>
> File "/zfsauton/home/manzilz/local/lib/python3.6/site-packages/torch/cuda/__init__.py", line 384, in _lazy_new<br>
> _lazy_init()<br>
> File "/zfsauton/home/manzilz/local/lib/python3.6/site-packages/torch/cuda/__init__.py", line 142, in _lazy_init<br>
> torch._C._cuda_init()<br>
> RuntimeError: cuda runtime error (30) : unknown error at /pytorch/torch/lib/THC/THCGeneral.c:70<br>
> <br>
> Can you kindly look into it?<br>
> <br>
> Thanks,<br>
> Manzil<br>
</div>
</span></font>
</body>
</html>