Need help with CUDA_VERSION

username: ToxaDev
cooked: <p>UserWarning:<br>
Found GPU0 Tesla V100-SXM2-16GB which requires CUDA_VERSION &gt;= 9000 for<br>
optimal performance and fast startup time, but your PyTorch was compiled<br>
with CUDA_VERSION 8000. Please install the correct PyTorch binary<br>
using instructions from <a href="http://pytorch.org" rel="nofollow noopener">http://pytorch.org</a><br>
…<br>
…<br>
RuntimeError: CUDNN_STATUS_MAPPING_ERROR</p>
<p>But i did install pytorch for CUDA 9.0 and Python 3.5…</p>
<p>Debian 4.9.88-1+deb9u1<br>
Cuda compilation tools, release 9.1, V9.1.85<br>
cuDNN 7.1</p>

username: ptrblck
cooked: <p>How did you install PyTorch?<br>
Did you compile from source or install the pre-built binaries?<br>
You can find the install command on the <a href="https://pytorch.org/">website</a>.</p>
<p>This should be the command you are looking for:</p>
<pre><code class="lang-auto">conda install pytorch torchvision cuda90 -c pytorch
</code></pre>

username: ToxaDev
cooked: <p>I using this commands <div class="lightbox-wrapper"><a class="lightbox" href="https://discuss.pytorch.org/uploads/default/original/2X/2/2f8a3384b76ac3453e4f7ed669d674c9792cc335.png" data-download-href="https://discuss.pytorch.org/uploads/default/2f8a3384b76ac3453e4f7ed669d674c9792cc335" title="image"><img src="https://discuss.pytorch.org/uploads/default/optimized/2X/2/2f8a3384b76ac3453e4f7ed669d674c9792cc335_2_690x328.png" alt="image" data-base62-sha1="6Myxe2t4VBcaCZkref4XU60sQmN" width="690" height="328" srcset="https://discuss.pytorch.org/uploads/default/optimized/2X/2/2f8a3384b76ac3453e4f7ed669d674c9792cc335_2_690x328.png, https://discuss.pytorch.org/uploads/default/optimized/2X/2/2f8a3384b76ac3453e4f7ed669d674c9792cc335_2_1035x492.png 1.5x, https://discuss.pytorch.org/uploads/default/original/2X/2/2f8a3384b76ac3453e4f7ed669d674c9792cc335.png 2x" data-dominant-color="F1F1F1"><div class="meta"><svg class="fa d-icon d-icon-far-image svg-icon" aria-hidden="true"><use href="#far-image"></use></svg><span class="filename">image</span><span class="informations">1124×535 30.6 KB</span><svg class="fa d-icon d-icon-discourse-expand svg-icon" aria-hidden="true"><use href="#discourse-expand"></use></svg></div></a></div></p>
<p>I double checked for torch uninstalled from python2.7 and python3.5 and after that apply next commands:<br>
pip3 install <a href="http://download.pytorch.org/whl/cu90/torch-0.4.0-cp35-cp35m-linux_x86_64.whl" rel="noopener nofollow ugc">http://download.pytorch.org/whl/cu90/torch-0.4.0-cp35-cp35m-linux_x86_64.whl</a><br>
pip3 install torchvision</p>
<p>but this not helps</p>
<p>Thanks for advice, i’ll try using anaconda now</p>

username: ptrblck
cooked: <p>After installation, could you check the current CUDA version used in PyTorch with <code>torch.version.cuda</code>?</p>

username: ToxaDev
cooked: <p>Before that i checked version<br>
<img src="https://discuss.pytorch.org/uploads/default/original/2X/3/302ec9d6b470e63218ebb09ea24805af63144382.png" alt="image" data-base62-sha1="6Sfa417HmFKXDT476NAWuqn2Pl0" width="618" height="175"></p>
<p>this is strange</p>
<p>now i’ll try to using anaconda…</p>

username: ToxaDev
cooked: <p>Ok, now it’s looking good<br>
<img src="https://discuss.pytorch.org/uploads/default/original/2X/3/324d5a04321cdf3e81b9fb222bf16af575d63fc3.png" alt="image" data-base62-sha1="7aZB75q7hpefFis1pXjuuE79bJ9" width="311" height="62"></p>
<p><strong>Thank you!</strong></p>
<p>But now i try to launch deepvoice3_pytorch/train.py<br>
and got this error</p>
<pre><code class="lang-auto">`ModuleNotFoundError: No module named 'inflect'`
</code></pre>
<p>I did try install this module from anaconda but no luck</p>
<pre><code class="lang-auto">Solving environment: failed
PackagesNotFoundError: The following packages are not available from current channels:
  - inflect
Current channels:
  - https://repo.anaconda.com/pkgs/main/linux-64
  - https://repo.anaconda.com/pkgs/main/noarch
  - https://repo.anaconda.com/pkgs/free/linux-64
  - https://repo.anaconda.com/pkgs/free/noarch
  - https://repo.anaconda.com/pkgs/r/linux-64
  - https://repo.anaconda.com/pkgs/r/noarch
  - https://repo.anaconda.com/pkgs/pro/linux-64
  - https://repo.anaconda.com/pkgs/pro/noarch
</code></pre>

username: ptrblck
cooked: <p>If it’s not in the conda channels, you could try to install it via <code>pip</code>.<br>
Usually conda finds the packages (although you should install it via <code>conda</code> if possible).</p>

username: dragen
cooked: <p><a class="mention" href="/u/toxadev">@ToxaDev</a> How do you install cuda90 pytorch? could you share your solution, thanks.</p>

username: 111193
cooked: <p>Hi I’m using google colab with my project whichi needs torch&lt;=1.2, but each time i installed the corrct version the colab will need to restartsession and the torch.version.cuda will again be 9.0. how can i fix it?</p>