Torch.cuda.is_available() is False for cuda 11.4 on Xavier Nx

Baran_Yucecengiz: <p>I have tried many version of torch but torch still cant find cuda</p>
<p><div class="lightbox-wrapper"><a class="lightbox" href="https://discuss.pytorch.org/uploads/default/original/3X/4/d/4d3704dd2b0ca8be79a2768a54481424e53bb0e9.png" data-download-href="https://discuss.pytorch.org/uploads/default/4d3704dd2b0ca8be79a2768a54481424e53bb0e9" title="deviceQuery"><img src="https://discuss.pytorch.org/uploads/default/optimized/3X/4/d/4d3704dd2b0ca8be79a2768a54481424e53bb0e9_2_686x500.png" alt="deviceQuery" data-base62-sha1="b14DRgbOHZVBZwwAQOuT1TPHJXP" width="686" height="500" srcset="https://discuss.pytorch.org/uploads/default/optimized/3X/4/d/4d3704dd2b0ca8be79a2768a54481424e53bb0e9_2_686x500.png, https://discuss.pytorch.org/uploads/default/optimized/3X/4/d/4d3704dd2b0ca8be79a2768a54481424e53bb0e9_2_1029x750.png 1.5x, https://discuss.pytorch.org/uploads/default/original/3X/4/d/4d3704dd2b0ca8be79a2768a54481424e53bb0e9.png 2x" data-dominant-color="39152E"><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">deviceQuery</span><span class="informations">1169×851 149 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 did a clean installation, but the result is still the same. My setup is as follows: I am using the nvidia SDK. Since Nvidia Xavier has 16 GB of space, I format it as necessary, then transfer the downloads to my 250 GB SSD and continue the Cuda installations from there.</p>

Baran_Yucecengiz: <p>I installed this package.<br>
<div class="lightbox-wrapper"><a class="lightbox" href="https://discuss.pytorch.org/uploads/default/original/3X/1/5/15a02cc6dbbef213025d154fd83031d132718831.png" data-download-href="https://discuss.pytorch.org/uploads/default/15a02cc6dbbef213025d154fd83031d132718831" title="torch_version"><img src="https://discuss.pytorch.org/uploads/default/optimized/3X/1/5/15a02cc6dbbef213025d154fd83031d132718831_2_690x85.png" alt="torch_version" data-base62-sha1="35jcoX85YUTWaCQhvBrpJ9FW2QN" width="690" height="85" srcset="https://discuss.pytorch.org/uploads/default/optimized/3X/1/5/15a02cc6dbbef213025d154fd83031d132718831_2_690x85.png, https://discuss.pytorch.org/uploads/default/optimized/3X/1/5/15a02cc6dbbef213025d154fd83031d132718831_2_1035x127.png 1.5x, https://discuss.pytorch.org/uploads/default/original/3X/1/5/15a02cc6dbbef213025d154fd83031d132718831.png 2x" data-dominant-color="F1F7E9"><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">torch_version</span><span class="informations">1145×142 17.2 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>Now the torch can find the cuda. I also need torchvision, but I cannot find the torchvision version compatible with this torch version. I would be happy if you help.</p>

ptrblck: <p>You might want to build <code>torchvision</code> and other libs from source.</p>