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'm trying to improve inference latency for VIT-H-14 and VIT-L-14 using torch compile following @rwightman's suggestion.
The inference latency is actually worse with default torch.compile on torch 2.2 as compared to running forward pass with just torch.save'd model. Are there any compile flags or settings I can use to improve?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm trying to improve inference latency for VIT-H-14 and VIT-L-14 using torch compile following @rwightman's suggestion.
The inference latency is actually worse with default torch.compile on torch 2.2 as compared to running forward pass with just torch.save'd model. Are there any compile flags or settings I can use to improve?
Beta Was this translation helpful? Give feedback.
All reactions