# torch@Xavier NX

**URL:** <https://forums.developer.nvidia.com/t/torch-xavier-nx/122273>\
**Category:** Jetson Xavier NX\
**Created:** [May 7, 2020, 9:22am UTC](https://forums.developer.nvidia.com/t/torch-xavier-nx/122273 "2020-05-07T09:22:39Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![j.ogniewski](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@j.ogniewski](https://forums.developer.nvidia.com/u/j.ogniewski)\
**Post date:** [May 7, 2020, 9:22am UTC](https://forums.developer.nvidia.com/t/torch-xavier-nx/122273/1 "2020-05-07T09:22:40Z")

</div>

I tried to install torch 1.3 for JetPack 4.4 according to:

> [@PyTorch for Jetson](https://forums.developer.nvidia.com/t/pytorch-for-jetson-nano-version-1-5-0-now-available/72048):
>
> Below are pre-built PyTorch pip wheel installers for Jetson Nano, TX1/TX2, Xavier, and Orin with JetPack 4.2 and newer. Download one of the PyTorch binaries from below for your version of JetPack, and see the installation instructions to run on your Jetson. These pip wheels are built for ARM aarch64 architecture, so run these commands on your Jetson (not on a host PC). You can also use the pre-built [l4t-pytorch](https://ngc.nvidia.com/catalog/containers/nvidia:l4t-pytorch) and [l4t-ml](https://ngc.nvidia.com/catalog/containers/nvidia:l4t-ml) container images and [Dockerfiles](https://github.com/dusty-nv/jetson-containers). PyTorch pip wheels JetPack 5 
> 
> > **PyTo…**
> >

However, trying to use torch will ultimately lead to a segmentation fault. A complete system reinstall didn’t solve the problem either.

EDIT: same problem after complete system reinstall and installation of the wheel for torch 1.4

---

<div class="post-metadata">

**Author:** ![juns](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/juns/32/17730_2.png) [@juns](https://forums.developer.nvidia.com/u/juns)\
**Post date:** [May 7, 2020, 12:36pm UTC](https://forums.developer.nvidia.com/t/torch-xavier-nx/122273/2 "2020-05-07T12:36:21Z")

</div>

Have you tried the pytorch in the following link?  
There is prebuilt pytorch for JP4.4 DP  
[https://elinux.org/Jetson\_Zoo](https://elinux.org/Jetson_Zoo)

---

<div class="post-metadata">

**Author:** ![j.ogniewski](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@j.ogniewski](https://forums.developer.nvidia.com/u/j.ogniewski)\
**Post date:** [May 7, 2020, 12:40pm UTC](https://forums.developer.nvidia.com/t/torch-xavier-nx/122273/3 "2020-05-07T12:40:36Z")

</div>

I might miss something. But if I look under PyTorch on the page you linked the links to the pip wheels seem to be the same as the one from the link I posted, i.e. that this to be the same installation procedure that I followed.

---

<div class="post-metadata">

**Author:** ![j.ogniewski](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@j.ogniewski](https://forums.developer.nvidia.com/u/j.ogniewski)\
**Post date:** [May 7, 2020, 12:48pm UTC](https://forums.developer.nvidia.com/t/torch-xavier-nx/122273/4 "2020-05-07T12:48:38Z")

</div>

But you gave me an idea. Controlled that all other packages needed by torch were installed correctly.  
Re-installation of libopenblas-base solved the problem.

---

<div class="post-metadata">

**Author:** ![Andrey1984](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/andrey1984/32/14130_2.png) [@Andrey1984](https://forums.developer.nvidia.com/u/Andrey1984)\
**Post date:** [May 7, 2020, 2:53pm UTC](https://forums.developer.nvidia.com/t/torch-xavier-nx/122273/5 "2020-05-07T14:53:23Z")

</div>

you may also like to try torch l4t ngc container

---

<div class="post-metadata">

**Author:** ![nadeemm](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/nadeemm/32/367020_2.png) [@nadeemm](https://forums.developer.nvidia.com/u/nadeemm)\
**Post date:** [October 18, 2021, 6:44pm UTC](https://forums.developer.nvidia.com/t/torch-xavier-nx/122273/6 "2021-10-18T18:44:09Z")

</div>

Closed on October 18, 2021, 6:44pm UTC


