Thank you, that compiles now.
I’m compiling a python module using pybind11, and now when I import my module (which imported ok before I started trying this pytorch stuff) I get:
importerror: undefined symbol: _ZTVN5torch5optim9OptimizerE
I’ll try to debug in c++, but I was wondering if you’d seen anything like that before?