Error while importing torch

Hi, I made changes to and files to add some logging and time_perf analysis. Since then, I’m getting the below error.

I have not changed any other files and have not broken any code.

I think there is a circular import error but unable to figure out what exactly the issue is. I don’t want to update/re-install pytorch again as it takes lot of time to setup again.

Please help me !! Thanks !

PyTorch is installed in Nvidia Jetson Orin

Could you describe what exactly you have changed, which caused this ImportError?

1 Like

No worries, I was able to debug it