Do Jetson Xavier support PyTorch C++ API?

Do Jetson Xavier support PyTorch C++ API?

Thanks,
Avi

Hi,

YES.

But please remember to add -Wl,–no-as-needed flag when building to load the library correctly.

Thanks.

Where do I need to add it in the make file?
And which C++ API version is supported for Jetson with JetPack 4.3?

Hi,

You can check the Do Jetson Xavier support PyTorch C++ API? - #3 by AastaLLL for details.
There are some examples in the topic.

C++ pyTorch is supported for JetPack4.3
But please make sure you have installed the correct package which is built for JetPack4.3.

Thanks.

Can you please provide some information about using Libtorch inside a Pytorch docker on Xavier?