TORCHLIB/C++ crash Unreal Engine 4 when loading torch_cpu.dll

Hi, I’m facing an issue when trying to run a network inside Unreal Engine.

I was able to successfully compile the Unreal project with torchlib and I’m also able to perform some basic operations inside the engine, like tensors creation and jit modules loading.
The issue arises when trying to run the forward method. I’ve seen the issue reported some times in other posts online but without a definitive solution. Trying to understand where the issue is actually, I realized it is (at least it looks like that) on the loading of the torch_cpu.dll, which crashed the engine.
I’m not able to understand if it’s a libtorch or an Unreal related problem.

Any help would be appreciated.