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
Change torch.load to use the safer option of only loading weights.
The torch.load function is hard coded to use the default value
within the open_clip package. The code will set
TORCH_FORCE_WEIGHTS_ONLY_LOAD environment variable to 'true' if
not already set to override the default.
Fixes#32
0 commit comments