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

v1.1.2 Safetensors #4

Merged
merged 2 commits into from
Jul 30, 2023
Merged

v1.1.2 Safetensors #4

merged 2 commits into from
Jul 30, 2023

Conversation

glucauze
Copy link
Owner

Version 1.1.2 will use the safetensors format rather than the pkl format. I have chosen to convert pkl files to safetensors automatically with a warning. There is also a script for conversion.
https://gist.github.com/glucauze/4a3c458541f2278ad801f6625e5b9d3d

The idea is to be able to convert files that are deemed safe manually. Remember that pkl files can be used to execute arbitrary code. Don't use external pkl files. Pkl files support will be removed in future versions.

@glucauze glucauze merged commit 1f3bffc into main Jul 30, 2023
3 checks passed
@glucauze glucauze deleted the safetensors branch August 1, 2023 18:18
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

Successfully merging this pull request may close these issues.

None yet

1 participant