noman-anjum-retro

Results 24 comments of noman-anjum-retro

@andi4191 I'm not sure how to load it. When I tried to load it via this code: `import torch import ctypes hllDll = ctypes.WinDLL ("D:/Codes/RetroActivity/experiments/src/exploration/action_recognition/torchtrt_runtime.dll") print("DLL Loaded") #torch.ops.load_library("D:/Codes/RetroActivity/experiments/src/exploration/action_recognition/torchtrt_runtime.dll") model =...

update: I checked all the dependent files of torchtrt_runtime.dll and I found some more libraries with it. I got some of them from TensorRT and some from libtorch. Now the...

@andi4191 What's the solution you are suggesting? Should I recompile my TRT module on C++ with this change and try to load it in python?

Hello @andi4191 , no it didn't help it popped the same errors in series mentioned above.

## Progress: Hello @andi4191 @narendasan, I tried loading compiled TRT module on C++ and python. On C++ it worked fine on Debug mode, but on C++ Release mode and In...

No it didn't work. Can you please try to load a TRT on your side, maybe you'll catch something that I am missing. It's weird that it's loading in C++...

## Update: I tried loading torchtrt_runtime.dll without importing torch in python and it loaded gracefully. Then I tried importing torch, but it failed with same error [WinError 1114] A dynamic...

Thanks for the help, I tried it and .dll got loaded along with torch, however torch.jit.load() throwed the same error as in start: `RuntimeError: Unknown type name 'torch.torch.classes.tensorrt.Engine': File "code/torch/movinets/models.py",...