How to install to PyTorch 1.1(stable) without CUDA in arm64/aarch64?

username: yjx
cooked: <p>Succeed to install pytorch by NVIDIA’s website(torch-1.1.0-cp36-cp36m-linux_aarch64.whl),<br>
but my device only suits for cpu only version.NO GPU,NO CUDA.</p>
<blockquote>
<blockquote>
<blockquote>
<p>import torch<br>
Traceback (most recent call last):<br>
File “”, line 1, in <br>
File “/usr/local/lib/python3.6/dist-packages/torch/<strong>init</strong>.py”, line 79, in <br>
from torch._C import *<br>
ImportError: libcudart.so.10.0: cannot open shared object file: No such file or directory</p>
</blockquote>
</blockquote>
</blockquote>
<p>So, how to import pytorch without cuda on aarch64 processor?Thank you.</p>

username: albanD
cooked: <p>Hi,</p>
<p>Do you absolutely want 1.1?<br>
You can find the instructions to install pytorch <a href="https://pytorch.org/get-started/locally/">here</a>.</p>

username: yjx
cooked: <p>No , python -version or pytorch -version is not necessary.<br>
I use the pip3 at first , fail ,  wheel only applies to linux_x86_64/win_amd64.<br>
Fortunately, NVIDIA provide aarch64’s whl for NVIDIA Jetson TX2,SO I want to turn cuda to no-cuda.<br>
I almost give up this meaningless pursuits.</p>

username: albanD
cooked: <p>Ho sorry I missed the fact that you were on arm. We don’t provide official binaries.<br>
But you can find in the issue tracker discussions about this <a href="https://github.com/pytorch/pytorch/issues/13130">here</a>. And people providing their own binaries <a href="https://github.com/pytorch/pytorch/issues/23233">here</a>.</p>

username: Henry-Dg
cooked: <p>Have you solved this problem<br>
I have a khadas development board<br>
and I encountered the same problem as you</p>

username: WMF1997
cooked: <p>Hello,<br>
I face the same problem here.<br>
I have compiled and installed the newest pytorch 1.6.0a0 on raspberry pi 4 4GB all by myself (I might change some choices in CMakeLists.txt) (Operating System: raspbian, armv7l)<br>
but… I failed to compile it on ubuntu server on raspberry pi.</p>
<p>The building and installing procedure is just</p>
<pre data-code-wrap="bash"><code class="lang-bash">python3 setup.py bdist_wheel
</code></pre>
<p>to get pytorch, and</p>
<pre data-code-wrap="bash"><code class="lang-bash">python3 tools/build_libtorch.py
</code></pre>
<p>to build libtorch. (P.S. cmake+make is not recommended)</p>
<p>Now I give up building from myself. Perhaps it is the hardware that counts? (no SWAP partition in my OS?)</p>
<p>Use built wheel from others might be a good choice.</p>
<p>If you just want to use Libtorch? …<br>
You can find TorchConfig.cmake, which is very essential. And that is the key to using libtorch.</p>
<p><img src="/uploads/default/original/3X/1/9/19e98a9cc7c14392a96562cb04b418e06a149600.png" alt="image" data-base62-sha1="3HeipKhYbJVjYiRoLHpCHhnlGZG" width="690" height="351"><br>
<img src="/uploads/default/original/3X/2/b/2bd0b3518d2d1d86aab9660c2b7da01a63628cd9.png" alt="image" data-base62-sha1="6fBFx8a2sZ9DD5SHnJyPrxHBPTj" width="690" height="351"><br>
The two clip above shows an pytorch installed on anaconda3 on my Microsoft Windows 10. Other operating systems (Linux, or some others) may be a little different.</p>
<p>For more instructions on using libtorch, see the libtorch’s turtorial.</p>