Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The "safetensors" files are NOT safetensors files! They are potentially dangerous pytorch saves, just with the ".safetensors" extension! #12

Open
ClownsharkBatwing opened this issue Jul 26, 2024 · 0 comments

Comments

@ClownsharkBatwing
Copy link

The "safetensors" files provided for UltraPixel (ultrapixel_t2i.safetensors, lora_cat.safetensors) are not actually safetensors files at all. They are pytorch saves - potentially dangerous binaries - that misleadingly are named with the ".safetensors" extension. I converted both of them to legitimate safetensors files, and submitted a PR to the HF repo:

https://huggingface.co/ClownsharkBatwing/ultrapixel_convert/blob/main/ultrapixel_t2i.safetensors
https://huggingface.co/ClownsharkBatwing/lora_cat_convert/blob/main/lora_cat.safetensors
https://huggingface.co/roubaofeipi/UltraPixel/discussions/1

Here is a link to my PR for the GitHub repo for the ComfyUI node version - it implements the ability to load these safetensor versions, in place of the pytorch saves:
2kpr/ComfyUI-UltraPixel#27

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant