How to transplant Pytorch to arm development board?

the MCU of development board:i.mx6dl.
The system on the arm development board has no interface.
How to transplant Pytorch to arm development board?
I want my QT program to call the pytorch model(file with the suffix pt)。How can I achieve this requirement?

My QT program include the libtorch.so,then can load module.pt file。But It is failed when My QT program compile to arm executable program。Becase libtorch.so can not be compiled。what can I do?