On exporting Pytorch models to c++

I was trying to follow this tutorial https://pytorch.org/tutorials/advanced/cpp_export.html
however I am stuck at step 3 at the linking of the pytorch lib and headers. Where does that come from? the tutorial points the Pytorch webpage but I can’t find what they are talking about by saying " If you download and unzip the latest archive". I hoped those libs would be contained in the ubuntu package libtorch3-dev but it doesn’t seem to be the case.
Can anybody point me to the right direction?

Hi @mehditlili,

here is the minimal example on how to get libtorch running. Did you install Pytorch with pip or from Anaconda?