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
HI any chance you could change the checkpoint to be safetensor format, and maybe change the code not to assume the device is CUDA.
There are a lot of people that want to run stuff like this on MPS for example, and pickle files can contain executable code so should not be offered as a file format for security reasons.
The text was updated successfully, but these errors were encountered:
Should be able to convert, safe tensors is just a way to store tensors without the possibility of embedded code running while loading. I'm not an expert though, but no one should be using formats that can execute code just by loading the files these days.
HI any chance you could change the checkpoint to be safetensor format, and maybe change the code not to assume the device is CUDA.
There are a lot of people that want to run stuff like this on MPS for example, and pickle files can contain executable code so should not be offered as a file format for security reasons.
The text was updated successfully, but these errors were encountered: