NextGen-GameDev / LibTorch-UE

Integrate LibTorch Unreal to create and use neural networks without leveraging Python.
MIT License
19 stars 4 forks source link

Throwing compile errors in Lazy.h and AtumTensorDeviceType.h #12

Open Kaleidio opened 5 days ago

Kaleidio commented 5 days ago

Describe the bug Unreal's build system throws a lot of API error logs when trying to compile with LibTorch 2.4.1+.

Snippet of Build Log spam https://pastebin.com/u6q43vW5

Environment Information

Additional context 2.4.1 is quite young, so I assume these are breaking changes.

Is there more info on the version of LibTorch this plugin was built against? In the meantime, here are some hints as to what is going on.

Kaleidio commented 5 days ago

I have now tried the versions of LibTorch below which all throw the same issue

Kaleidio commented 5 days ago

seems to all stem from a template called cl0:OptimisticLazy<T> that fails to compile resulting in syntax errors.