Issue Description
I am trying to install PyTorch on Jetson Orin by following the steps mentioned on this site (PyTorch for Jetson ).
I am trying to install : PyTorch v1.13.0
JetPack 5.0 (L4T R34.1) / JetPack 5.0.2 (L4T R35.1) / JetPack 5.1 (L4T R35.2.1) / JetPack 5.1.1 (L4T R35.3.1)
Error String

Hi,
Could you share more info about the error?
It doesn’t look like comes from the PyTorch or TorchVision installation but something relates to image loading.
Do you meet the error when running a custom app?
Thanks.
Error info:
I have not tried on custom app as of now.
Hi,
Could you check if the below link helps?
opened 01:34PM - 07 Feb 22 UTC
closed 09:41AM - 10 Feb 22 UTC
I suspect this issue is not directly related to instant-ngp's code, but I'll pos… t it here all the same in case anyone else sees a similar issue.
TL;DR there's an issue compiling `std_function.h`, a dependency of `tiny-cuda-nn`.
```
> cmake --build build --config RelWithDebInfo
Consolidate compiler generated dependencies of target tiny-cuda-nn
[ 1%] Building CUDA object dependencies/tiny-cuda-nn/src/CMakeFiles/tiny-cuda-nn.dir/common.cu.o
/usr/include/c++/11/bits/std_function.h:435:145: error: parameter packs not expanded with ‘...’:
435 | function(_Functor&& __f)
| ^
/usr/include/c++/11/bits/std_function.h:435:145: note: ‘_ArgTypes’
/usr/include/c++/11/bits/std_function.h:530:146: error: parameter packs not expanded with ‘...’:
530 | operator=(_Functor&& __f)
| ^
/usr/include/c++/11/bits/std_function.h:530:146: note: ‘_ArgTypes’
gmake[2]: *** [dependencies/tiny-cuda-nn/src/CMakeFiles/tiny-cuda-nn.dir/build.make:76: dependencies/tiny-cuda-nn/src/CMakeFiles/tiny-cuda-nn.dir/common.cu.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:306: dependencies/tiny-cuda-nn/src/CMakeFiles/tiny-cuda-nn.dir/all] Error 2
gmake: *** [Makefile:91: all] Error 2
```
Here's a bit more info on my setup. I'm using CUDA v11.4.4 and GCC v.11.2.0 on Debian. I saw an identical issue when compiling with CUDA v11.6.0.
```
> nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2021 NVIDIA Corporation
Built on Mon_Oct_11_21:27:02_PDT_2021
Cuda compilation tools, release 11.4, V11.4.152
Build cuda_11.4.r11.4/compiler.30521435_0
> gcc --version
gcc (Debian 11.2.0-13) 11.2.0
Copyright (C) 2021 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.
```
Any tips appreciated!
If the TorchVision still cannot work on your environment, would you mind upgrading the device to JetPack 6?
We have a prebuilt PyTorch/TorchVision/TorchAudio package available for JetPack 6, so you don’t need to build it manually.
Thanks.
Hi,
My error has been resolved with the help of the link you provided.
Thanks!
system
Closed
November 20, 2024, 5:13am
9
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.