Replies: 2 comments 4 replies
-
yes, safetensors is a better format, i like it before it supports memory mapping so it loads faster from modern ssds. but security? i have not yet seen a single real-world exploit. ever. its all theory. and on the other hand, installing any extension gives that extension full permission to your system - it can do anything it wants, monkey-patch system calls, steal your data, wipe your files, anything - and people still install extensions from any random source without any considerations. and every time i try to establish some rules about badly behaving extensions i get pushback "but we really need that extension". |
Beta Was this translation helpful? Give feedback.
-
Looks like stability is finally taking a stand against the ckpt formats: https://www.reddit.com/r/StableDiffusion/comments/14mrl1g/warning_never_open_a_ckpt_file_without_knowing/
And in the discussion it was mentioned that webui (and presumably sdnext) would actually run ckpt/pt files that were renamed safetensor... but that it was "recently" fixed in webui and Stability held off making this particular announcement until it was.
Has that "fix" been propagated to sdNext yet?
Why not take it one step further, and give us a default Setting that will simply stop any ckpt/pt files from being run? (including TIs, loras, VAEs, etc.) I think blocking the pickle formats should be default and people who wish to take the risk should a) know it's a risk and b) have to takes steps to do so (i.e. turn off the block, like putting in a exception in their antivirus programs for certain files and accepting the risk.)
This has been an unnecessary risk for a long time.
Also in the discussion, it was mentioned that Kohya's new trainer for SDXL should produce safetensor by default in the future.
Beta Was this translation helpful? Give feedback.
All reactions