<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
I tried installing the nightly version and the same error appears. I guess it is a recent problem - a few weeks ago I can also run pytorch but now it breaks (at that time there were only 3 gpus available on gpu10).
<div class=""><br class="">
</div>
<div class=""><br class="">
<div class="">
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;">
<i class="">Thanks,</i></div>
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;">
<i class="">Yichong</i></div>
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">
<br class="">
</div>
<br class="Apple-interchange-newline">
</div>
<div><br class="">
<blockquote type="cite" class="">
<div class="">On Mar 10, 2019, at 3:05 PM, Yotam Hechtlinger <<a href="mailto:yhechtli@andrew.cmu.edu" class="">yhechtli@andrew.cmu.edu</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div dir="ltr" class="">
<div dir="ltr" class="">
<div class="">Regarding tensorflow you don't need to compile from source.<br class="">
<pre class="gmail-lang-bsh"><code class="gmail-devsite-terminal"><span class="gmail-pln">pip install tf</span><span class="gmail-pun">-</span><span class="gmail-pln">nightly</span><span class="gmail-pun">-</span><span class="gmail-pln">gpu</span></code></pre>
</div>
Should get it done. I think that's what I've done, but it's been few weeks ago, so try it out and if it doesn't work I'll try to debug it.</div>
<div class="">Notice that you'll have to uninstall it and install the regular version when you switch back to the other GPUs.
<br class="">
</div>
<div class=""><br class="">
</div>
<div class="">Not sure regarding pytorch, I haven't tried to install it yet.</div>
<div class=""><br class="">
</div>
<div class="">Yotam.</div>
<div class=""><br class="">
</div>
</div>
<br class="">
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Sun, Mar 10, 2019 at 2:24 PM Yichong Xu <<a href="mailto:yichongx@cs.cmu.edu" class="">yichongx@cs.cmu.edu</a>> wrote:<br class="">
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div style="overflow-wrap: break-word;" class="">It seems like tensorflow does not support cuda10 right now - it has to be installed from source.
<div class="">But I’m mainly using pytorch though and the version with cuda10 does not run either.</div>
<div class="">Plus, I tried the original cuda example and it cannot find the gpu either:</div>
<div class="">
<div class="">(base) yichongx@gpu10$ ls</div>
<div class="">Makefile  readme.txt  simplePrintf  simplePrintf.cu  simplePrintf.o</div>
<div class="">(base) yichongx@gpu10$ ./simplePrintf</div>
<div class="">CUDA error at ../../common/inc/helper_cuda.h:744 code=999(cudaErrorUnknown) "cudaGetDeviceCount(&device_count)"</div>
<div class="">(base) yichongx@gpu10$</div>
</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
<div class="">
<div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;" class="">
<i class="">Thanks,</i></div>
<div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;" class="">
<i class="">Yichong</i></div>
<div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;" class="">
<br class="">
</div>
<br class="gmail-m_1836210367494301620Apple-interchange-newline">
</div>
<div class=""><br class="">
<blockquote type="cite" class="">
<div class="">On Mar 10, 2019, at 9:52 AM, Yotam Hechtlinger <<a href="mailto:yhechtli@andrew.cmu.edu" target="_blank" class="">yhechtli@andrew.cmu.edu</a>> wrote:</div>
<br class="gmail-m_1836210367494301620Apple-interchange-newline">
<div class="">It's not the same cuda version on GPU 10 and the rest, I think different version of tensorflow has to be installed.
<div class=""><br class="">
</div>
<div class="">Check your tensorflow version and if it supports the cuda version on gpu10.</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
<br class="">
On Saturday, March 9, 2019, Predrag Punosevac <<a href="mailto:predragp@andrew.cmu.edu" target="_blank" class="">predragp@andrew.cmu.edu</a>> wrote:<br class="">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="auto" class="">Try CUDA 10.0 instead of 10.1</div>
<div class="gmail_extra"><br class="">
<div class="gmail_quote">On Mar 9, 2019 5:28 PM, Yichong Xu <<a href="mailto:yichongx@cs.cmu.edu" target="_blank" class="">yichongx@cs.cmu.edu</a>> wrote:<br type="attribution" class="">
<blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="">
<div dir="auto" class="">Same issue here.<br class="">
<br class="">
<div dir="ltr" class="">From my iPhone</div>
<div dir="ltr" class=""><br class="">
On Mar 9, 2019, at 4:01 PM, Emre Yolcu <<a href="mailto:eyolcu@andrew.cmu.edu" target="_blank" class="">eyolcu@andrew.cmu.edu</a>> wrote:<br class="">
<br class="">
</div>
<blockquote class="">
<div dir="ltr" class="">
<div class="">
<p class="">Hi,</p>
<div class=""> <br class="gmail-m_1836210367494301620webkit-block-placeholder">
</div>
<p class="">Right now on gpu10 `nvcc --version` and `nvidia-smi` seem to work, but `python -c ‘import torch; print(torch.cuda.is_available())’` prints False. Is anybody running into the same issue?</p>
<div class=""> <br class="gmail-m_1836210367494301620webkit-block-placeholder">
</div>
<p class="">Emre</p>
</div>
</div>
</blockquote>
</div>
</blockquote>
</div>
<br class="">
</div>
</blockquote>
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
</blockquote>
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>