Hi,
I’m trying to run example of pytorch profiler from PyTorch Profiler — PyTorch Tutorials 2.6.0+cu124 documentation.
But there are errors as below:
AttributeError: partially initialized module ‘torchvision.models’ has no attribute ‘resnet18’ (most likely due to a circular import)
torch version - 2.6.0
torchvision version - 0.21.0
Does this example require some specific versions?