You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found you directly used time.time() to calculate time in your code.
However, it's not accurate in GPU mode. torch.cuda.synchronize() should be added to get precise time.
From my test, the jit version is a little slower in fact?