My apologies, I took too much domain-specific (embedded Linux) knowledge for granted. Let me rephrase:
I am looking for a pytorch/libtorch bitbake recipe which would compile libtorch from source and allow me to include it in our (embedded Linux) distribution.
Additionally, such a recipe would allow libtorch to be available across all platforms/hardware and architectures supported by the Yocto build system, thus facilitating the deployment of, pytorch, edge computing applications.