-
Notifications
You must be signed in to change notification settings - Fork 43
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
[Feature] Convert Pretrained models to safetensors format #271
Comments
Thanks for reporting, discussing internally now. |
Do YOLO models support safetensors? If there's a way to do this please let us know. |
Answering this part of your question:
Yes |
No response after a week so I'm closing this out. Happy to discuss conversion to safetensors but need some assistance to get there. If you have insights please let us know and we can discuss further. |
Hi @MattCarrickPL - apologies. You brought up a valid point with the way the Ultralytics models/library works. It would likely need to be converted back. For now this format works until I can compare what might happen when converting to safetensors. However this also brings up a couple of follows I have; how do you plan on versioning your pretrained files? Do you think you could include a files like ubuntu has here: https://releases.ubuntu.com/24.10/ ? Basically: https://bucket.ltsnet.net/torchsig/models/models.list
then:
https://bucket.ltsnet.net/torchsig/models/SHA256SUMS.gpg
This would make it easier to verify downloads similar to: https://ubuntu.com/tutorials/how-to-verify-ubuntu Even just starting with the models.list and checksums without pgp would be good so we can match versions up by hash. Thanks. |
This is a good recommendation. I'm not sure if we will do checksums. Would adding a release number to the model filename get you the versioning you're looking for? We've still got something of a checklist for additional features we want to push into 1.0+ but I'll reopen this issue so we can revisit this later. |
Is there an existing feature already?
Description
Hi,
Can you please convert all pretrained models to safetensors? I noticed https://github.com/TorchDSP/torchsig/blob/main/examples/13_example_pretrained_models.ipynb contains .pth, .ckpt etc and it would be much better, logistically, if this was in safetensors.
Additionally, is there full list of all pretrained models? Are the models listed in 13_example_pretrained_models.ipynb the extensive list?
Thank you.
The text was updated successfully, but these errors were encountered: