Pytorch nightly install unsatisfiable Error

username: Max_Muster
cooked: <p>Hello,</p>
<p>When trying to install pytorch nightly (specifically pytorch-cuda) I get the following error:</p>
<pre><code class="lang-auto">conda install -y -c pytorch-nightly pytorch-cuda
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: \ 
Found conflicts! Looking for incompatible packages.
This can take several minutes.  Press CTRL-C to abort.
failed                                                                                                                     

UnsatisfiableError: The following specifications were found to be incompatible with your system:

  - feature:/linux-64::__glibc==2.28=0
  - python=3.9 -&gt; libgcc-ng[version='&gt;=11.2.0'] -&gt; __glibc[version='&gt;=2.17']

Your installed version is: 2.28

</code></pre>
<p>Some additional Information:</p>
<pre><code class="lang-auto">which ldd
/usr/bin/ldd
</code></pre>
<pre><code class="lang-auto">ldd --version
ldd (GNU libc) 2.28
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.
</code></pre>
<p>I don’t understand the error message nor do I know if this is the right place to ask. (Perhaps a GitHub issue is the place to ask?)</p>
<p>slightly offtopic: I am trying to install pytorch with cuda 11.8 for the h100 GPU with CUDA 12. What would happen if I would use a 11.7 pytorch/cuda install? Would it only result in a performance loss or is not usable at all?</p>

username: ptrblck
cooked: <aside class="quote no-group" data-username="Max_Muster" data-post="1" data-topic="169696">
<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/max_muster/48/49068_2.png" class="avatar"> Max_Muster:</div>
<blockquote>
<p>slightly offtopic: I am trying to install pytorch with cuda 11.8 for the h100 GPU with CUDA 12. What would happen if I would use a 11.7 pytorch/cuda install? Would it only result in a performance loss or is not usable at all?</p>
</blockquote>
</aside>
<p>The current binaries do not support Hopper GPUs yet, as I’m still working on adding the <code>sm_90</code> support into the nightly CUDA 11.8 binaries.</p>
<p>Your install command seems to be missing the <code>-c nvidia</code> channel as indicated in the <a href="https://pytorch.org/get-started/locally/">install instructions</a>.</p>
<p>EDIT: to run on your H100 you could either build PyTorch from source or use any NGC container with CUDA 11.8+ from <a href="https://catalog.ngc.nvidia.com/orgs/nvidia/containers/pytorch">here</a>.</p>

username: funtuan
cooked: <p>hi could you provide more instructions on H100/sm90 build pytorch from source?</p>

username: ptrblck
cooked: <p>Double post with solution from <a href="https://discuss.pytorch.org/t/build-pytorch-for-h1000/179249/4">here</a>.</p>