3 ms·
You'd hope, but a lot of models are still distributed as .pt files, which are Pickle — which means they can contain and execute arbitrary code on load. Some po
by Filligree 3y ago
You'd hope, but a lot of models are still distributed as .pt files, which are Pickle — which means they can contain and execute arbitrary code on load.
Some popular applications (Automatic1111 etc.) take measures against that, but the real fix is to ignore anything that isn't safetensors.
- fragmede 3y agoWhich, large platforms like Hugging Faces bear the responsibility to do what they can to prohibit python pickles.