<div dir="ltr">People should use /opt/rh/rh-python36<div><br></div><div>I did install /opt/miniconda3 </div><div><br></div><div>but I am not a big fan. </div><div><br></div><div>Predrag</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 5, 2018 at 5:12 PM, Benedikt Boecking <span dir="ltr"><<a href="mailto:boecking@andrew.cmu.edu" target="_blank">boecking@andrew.cmu.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space">Not sure this will help, but I (very) recently had issues with software installed via conda linking to some of my local python installations. Removing and reinstalling the packages did not help. Ultimately, I removed all my local installs in ~/.local/lib/python* and installed conda again from scratch. It has been working like a charm since then. <div><br></div><div>Best,</div><div>Ben<div><div class="h5"><br><div>
<div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="word-wrap:break-word"><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;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br></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;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br></div></div></div></div><div><blockquote type="cite"><div>On Sep 5, 2018, at 5:07 PM, Emre Yolcu <<a href="mailto:eyolcu@cs.cmu.edu" target="_blank">eyolcu@cs.cmu.edu</a>> wrote:</div><br class="m_-2480370260857031184Apple-interchange-newline"><div><div dir="ltr"><div>Manzil, could you share your `conda env export` (or equivalent) output for the environment you use for pytorch? It's still not working for me after reboot, maybe I can try replicating your exact setup and try with that.</div><div><br></div><div>Thanks,</div><div><br></div><div>Emre<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 5, 2018 at 4:56 PM, Predrag Punosevac <span dir="ltr"><<a href="mailto:predragp@andrew.cmu.edu" target="_blank">predragp@andrew.cmu.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>Manzil Zaheer <<a href="mailto:manzil@cmu.edu" target="_blank">manzil@cmu.edu</a>> wrote:<br>
<br>
> It was working me before reboot as well. PyTorch does work on all<br>
> nodes for me.<br>
<br>
</span>Aha! Gotcha. <br>
<span><br>
> <br>
> I am trying to say is that i think it is not issue at system level but<br>
> at user account level. I might be wrong though.<br>
<br>
</span>That was my hunch as well. They were trying to convince me in a 150<br>
e-mails chain over the weekend that pytorch was broken when I replaced a<br>
failed HDD on the main file server. That didn't make any sense.<br>
<br>
Could you please share your binaries and setup with outher pytorch<br>
users?<br>
<br>
Cheers,<br>
Predrag<br>
<span><br>
> <br>
> <br>
> -------- Original message --------<br>
> From: Predrag Punosevac <<a href="mailto:predragp@andrew.cmu.edu" target="_blank">predragp@andrew.cmu.edu</a>><br>
> Date: 9/5/18 4:44 PM (GMT-05:00)<br>
> To: Manzil Zaheer <<a href="mailto:manzil@cmu.edu" target="_blank">manzil@cmu.edu</a>><br>
> Cc: Biswajit Paria <<a href="mailto:bparia@cs.cmu.edu" target="_blank">bparia@cs.cmu.edu</a>>, Yichong Xu <<a href="mailto:yichongx@cs.cmu.edu" target="_blank">yichongx@cs.cmu.edu</a>>, Emre Yolcu <<a href="mailto:eyolcu@cs.cmu.edu" target="_blank">eyolcu@cs.cmu.edu</a>>, <a href="mailto:users@autonlab.org" target="_blank">users@autonlab.org</a><br>
> Subject: Re: PyTorch problem<br>
> <br>
> Should I go ahead and reboot all GPU computing nodes? Can somebody else confirm that a reboot fixes the issue?<br>
> <br>
> Predrag<br>
> <br>
</span><span>> On Wed, Sep 5, 2018 at 4:42 PM, Manzil Zaheer <<a href="mailto:manzil@cmu.edu" target="_blank">manzil@cmu.edu</a><mailto:<a href="mailto:manzil@cmu.edu" target="_blank">manzil@<wbr>cmu.edu</a>>> wrote:<br>
> It does work for me and my friends<br>
> <br>
> <br>
> <br>
> <br>
> -------- Original message --------<br>
</span><span>> From: Predrag Punosevac <<a href="mailto:predragp@andrew.cmu.edu" target="_blank">predragp@andrew.cmu.edu</a><mailt<wbr>o:<a href="mailto:predragp@andrew.cmu.edu" target="_blank">predragp@andrew.cmu.edu</a>>><br>
> Date: 9/5/18 4:40 PM (GMT-05:00)<br>
</span><span>> To: Biswajit Paria <<a href="mailto:bparia@cs.cmu.edu" target="_blank">bparia@cs.cmu.edu</a><mailto:<a href="mailto:bparia@cs.cmu.edu" target="_blank">bpar<wbr>ia@cs.cmu.edu</a>>><br>
> Cc: Manzil Zaheer <<a href="mailto:manzil@cmu.edu" target="_blank">manzil@cmu.edu</a><mailto:<a href="mailto:manzil@cmu.edu" target="_blank">manzil@<wbr>cmu.edu</a>>>, Yichong Xu <<a href="mailto:yichongx@cs.cmu.edu" target="_blank">yichongx@cs.cmu.edu</a><mailto:<a href="mailto:yichongx@cs.cmu.edu" target="_blank">yi<wbr>chongx@cs.cmu.edu</a>>>, Emre Yolcu <<a href="mailto:eyolcu@cs.cmu.edu" target="_blank">eyolcu@cs.cmu.edu</a><mailto:<a href="mailto:eyolcu@cs.cmu.edu" target="_blank">eyol<wbr>cu@cs.cmu.edu</a>>>, <a href="mailto:users@autonlab.org" target="_blank">users@autonlab.org</a><mailto:<a href="mailto:users@autonlab.org" target="_blank">user<wbr>s@autonlab.org</a>><br>
> Subject: Re: PyTorch problem<br>
> <br>
> I just rebooted GPU8. All packages are up to date. NVidia driver appears to be working properly and I can do GPU computations from MATLAB. Let's try now to get pytorch working on GPU8.<br>
> <br>
> Predrag<br>
> <br>
</span><span>> On Wed, Sep 5, 2018 at 12:19 AM, Biswajit Paria <<a href="mailto:bparia@cs.cmu.edu" target="_blank">bparia@cs.cmu.edu</a><mailto:<a href="mailto:bparia@cs.cmu.edu" target="_blank">bpar<wbr>ia@cs.cmu.edu</a>>> wrote:<br>
> I am facing a similar error on all GPU machines. Did someone find a solution yet?<br>
> <br>
> <br>
> 2018-09-05 00:27:41.546064: E tensorflow/stream_executor/cud<wbr>a/<a href="http://cuda_blas.cc:459" target="_blank">cuda_blas.cc:459</a>] failed to create cublas handle: CUBLAS_STATUS_NOT_INITIALIZED<br>
> <br>
</span><span>> On Tue, Sep 4, 2018 at 10:03 PM Manzil Zaheer <<a href="mailto:manzil@cmu.edu" target="_blank">manzil@cmu.edu</a><mailto:<a href="mailto:manzil@cmu.edu" target="_blank">manzil@<wbr>cmu.edu</a>>> wrote:<br>
> Hi Yichong<br>
> <br>
> Yes I am able to run TF and PyTorch on these machines. Recently someone else also had similar issue, but it got fixed by reinstalling some local packages.<br>
> <br>
> Thanks,<br>
> Manzil<br>
> <br>
> <br>
> -------- Original message --------<br>
</span><span>> From: Yichong Xu <<a href="mailto:yichongx@cs.cmu.edu" target="_blank">yichongx@cs.cmu.edu</a><mailto:<a href="mailto:yichongx@cs.cmu.edu" target="_blank">yi<wbr>chongx@cs.cmu.edu</a>>><br>
> Date: 9/4/18 9:58 PM (GMT-05:00)<br>
</span><span>> To: Emre Yolcu <<a href="mailto:eyolcu@cs.cmu.edu" target="_blank">eyolcu@cs.cmu.edu</a><mailto:<a href="mailto:eyolcu@cs.cmu.edu" target="_blank">eyol<wbr>cu@cs.cmu.edu</a>>>, Predrag Punosevac <<a href="mailto:predragp@andrew.cmu.edu" target="_blank">predragp@andrew.cmu.edu</a><mailt<wbr>o:<a href="mailto:predragp@andrew.cmu.edu" target="_blank">predragp@andrew.cmu.edu</a>>><br>
> Cc: <a href="mailto:users@autonlab.org" target="_blank">users@autonlab.org</a><mailto:<a href="mailto:users@autonlab.org" target="_blank">user<wbr>s@autonlab.org</a>><br>
> Subject: Re: PyTorch problem<br>
> <br>
> Just wondering - can Tensorflow run well on these machines? I hope someone to confirm about this so that we can isolate the problem.<br>
</span>> OK so here?s a further test: I tried running the cuda examples from the cuda installation (in /usr/local/cuda/sample), on gpu2 in my scratch directory. Simple jobs like deviceQuery succeeds, but simpleCUBLAS failed:<br>
<span class="m_-2480370260857031184im m_-2480370260857031184HOEnZb">> yichongx@gpu2$ cd /home/scratch/yichongx/<br>
> yichongx@gpu2$ cd<br>
> 0_Simple/ 2_Graphics/ 4_Finance/ 6_Advanced/ bin/ conda/<br>
> 1_Utilities/ 3_Imaging/ 5_Simulations/ 7_CUDALibraries/ common/ miniconda3/<br>
> yichongx@gpu2$ cd 7_CUDALibraries/<br>
> yichongx@gpu2$ cd simpleCUBLAS<br>
> yichongx@gpu2$ CUDA_VISIBLE_DEVICES=3 ./simpleCUBLAS<br>
> GPU Device 0: "TITAN X (Pascal)" with compute capability 6.1<br>
> <br>
> simpleCUBLAS test running..<br>
> !!!! CUBLAS initialization error<br>
> yichongx@gpu2$<br>
> <br>
> <br>
> This is also consistent with our previous errors from pytorch, which say cublas library not initialized.<br>
> <br>
> So this means at least there is some problem with CUBLAS on gpu2. This post suggests that using sudo can resolve this problem, and this is probably because of some permission problems on CUBLAS libraries:<br>
> <a href="https://devtalk.nvidia.com/default/topic/1027602/cuda-setup-and-installation/cublas-libraries-with-incorrect-permissions/" rel="noreferrer" target="_blank">https://devtalk.nvidia.com/def<wbr>ault/topic/1027602/cuda-setup-<wbr>and-installation/cublas-librar<wbr>ies-with-incorrect-permissions<wbr>/</a><br>
> @Predrag: Can you try running the simpleCUBLAS example from the CUDA library, with and without root privilege? I think that might be something that you are more familiar with. Thank you very much!<br>
> <br>
> <br>
> Thanks,<br>
> Yichong<br>
> <br>
</span><div class="m_-2480370260857031184HOEnZb"><div class="m_-2480370260857031184h5">> On Sep 4, 2018, at 3:18 PM, Emre Yolcu <<a href="mailto:eyolcu@cs.cmu.edu" target="_blank">eyolcu@cs.cmu.edu</a><mailto:<a href="mailto:eyolcu@cs.cmu.edu" target="_blank">eyol<wbr>cu@cs.cmu.edu</a>>> wrote:<br>
> <br>
> Hi,<br>
> <br>
> We are trying to troubleshoot the PyTorch issue with Predrag and were wondering:<br>
> <br>
> Is anybody able to run PyTorch GPU models on gpu1-9? If you can, we would appreciate if you can respond.<br>
> <br>
> Also, is it a problem for anyone if gpu8 is rebooted today?<br>
> <br>
> Thanks,<br>
> <br>
> Emre<br>
> <br>
> <br>
> <br>
> --<br>
> Biswajit Paria<br>
> PhD in ML @ CMU<br>
> <br>
> <br>
</div></div></blockquote></div><br></div>
</div></blockquote></div><br></div></div></div></div></blockquote></div><br></div>