Is there an efficient way to compare two different torch.profilers?

Hi All,

I’m currently comparing my code by using a custom autograd function and I’ve noticed that my function is considerably slower than pytorch’s default function. (the function of choice is torch.linalg.det).

I’ve been using torch.profier to compare how my code runs between using torch.linalg.det and my CustomDet. Is there any efficient way to compare between 2 different profilers? (i.e. compare number of calls between versions, or perhaps similar operation called between them and different operations called between them?

Any help would be greatly appreicated!