Figured out how to link pytorch in to StrategyStudio. Basically you have to use cxx11_abi enabled version and link correctly. See makefile and bash script for details.
Did not test running the strategy, but backtester can load dll properly: