Debugging slow TorchDynamo Cache Lookup

We have a model that is slowed down occasionally. It spends 847 ms in __get_attr__. I am not sure why or how to begin debugging.

Any assistance would be much appreciated. Thanks!

that doesn’t seem good, do you have a script we could run to reproduce this?