Unable to install pytorch >=1.6 with CUDA 10.0

Pritesh_Gohil: <p>I’m trying to install Pytorch version &gt;= 1.6 with CUDA 10.0 using anaconda environment. However, I’m getting conflicts and not able to install it.</p>
<p>To minimize conflict, now I’m creating a new environment with only numpy, python, pytorch and cudatoolkit. Even says that conflict and process hang at examining conflicts.</p>
<p>Last time I had a workaround to this problem (see <a href="https://discuss.pytorch.org/t/torch-cuda-is-available-is-false-after-cuda-9-0-176-installed-could-anyone-help-me-with-this-thanks/33360/6">here</a>) using pytorch 1.3. However, this time I strictly need pytorch &gt;= 1.6.</p>
<p>My remote system doesn’t support any other CUDA version and I can’t modify whats already in remote system.</p>
<p>Thanks you.</p>

ptrblck: <aside class="quote no-group" data-username="Pritesh_Gohil" data-post="1" data-topic="106256">
<div class="title">
<div class="quote-controls"></div>
<img loading="lazy" alt="" width="24" height="24" src="https://discuss.pytorch.org/user_avatar/discuss.pytorch.org/pritesh_gohil/48/14828_2.png" class="avatar"> Pritesh_Gohil:</div>
<blockquote>
<p>My remote system doesn’t support any other CUDA version</p>
</blockquote>
</aside>
<p>Note that your system doesn’t need a local CUDA installation, if you just want to use PyTorch, since the conda binaries and pip wheels whip with their own CUDA runtimes. You would need a local CUDA installation, if you want to build PyTorch from source or build any custom CUDA extension.<br>
Your workstation would thus only need a sufficiently new NVIDIA driver for the used CUDA runtime.</p>
<aside class="quote no-group" data-username="Pritesh_Gohil" data-post="1" data-topic="106256">
<div class="title">
<div class="quote-controls"></div>
<img loading="lazy" alt="" width="24" height="24" src="https://discuss.pytorch.org/user_avatar/discuss.pytorch.org/pritesh_gohil/48/14828_2.png" class="avatar"> Pritesh_Gohil:</div>
<blockquote>
<p>I’m trying to install Pytorch version &gt;= 1.6 with CUDA 10.0 using anaconda environment.</p>
</blockquote>
</aside>
<p>The binaries ship now with CUDA9.2, 10.1, 10.2, and 11.0, so I’m unsure where you can find the 10.0 version.</p>

Pritesh_Gohil: <p>So is it possible I only install pytorch without CUDA runtime and let the pytorch use cuda library present in my system? My system has CUDA 10.0 already installed.</p>
<aside class="quote no-group" data-username="ptrblck" data-post="2" data-topic="106256">
<div class="title">
<div class="quote-controls"></div>
<img loading="lazy" alt="" width="24" height="24" src="https://discuss.pytorch.org/user_avatar/discuss.pytorch.org/ptrblck/48/1823_2.png" class="avatar"> ptrblck:</div>
<blockquote>
<p>conda binaries and pip wheels whip with their own CUDA runtimes</p>
</blockquote>
</aside>
<p>Does it mean I should not use conda virtual environment? and do local installation of required packages?</p>

ptrblck: <aside class="quote no-group" data-username="Pritesh_Gohil" data-post="3" data-topic="106256">
<div class="title">
<div class="quote-controls"></div>
<img loading="lazy" alt="" width="24" height="24" src="https://discuss.pytorch.org/user_avatar/discuss.pytorch.org/pritesh_gohil/48/14828_2.png" class="avatar"> Pritesh_Gohil:</div>
<blockquote>
<p>So is it possible I only install pytorch without CUDA runtime and let the pytorch use cuda library present in my system? My system has CUDA 10.0 already installed.</p>
</blockquote>
</aside>
<p>Yes, that’s possible if you build from source as described <a href="https://github.com/pytorch/pytorch#from-source">here</a>.</p>
<aside class="quote no-group" data-username="Pritesh_Gohil" data-post="3" data-topic="106256">
<div class="title">
<div class="quote-controls"></div>
<img loading="lazy" alt="" width="24" height="24" src="https://discuss.pytorch.org/user_avatar/discuss.pytorch.org/pritesh_gohil/48/14828_2.png" class="avatar"> Pritesh_Gohil:</div>
<blockquote>
<p>Does it mean I should not use conda virtual environment? and do local installation of required packages?</p>
</blockquote>
</aside>
<p>No, you can still use virtual environments (and I would also recommend to do so).</p>