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
As reported in #5819, hashing functions/transforms that reference a model, or a function, optimized with torch.compile currently fails due to them not being picklable (the concrete error can be found in the linked issue).
The solutions to consider:
hashing/pickling the original, uncompiled version of a compiled model/function (attributes _orig_mod/_torchdynamo_orig_callable) (less precise than the 2nd option as it ignores the other params of torch.compute)