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

Support saving & loading via Safetensors #692

Merged
merged 2 commits into from
May 11, 2024

Conversation

calpt
Copy link
Member

@calpt calpt commented Apr 27, 2024

Resolves #661.

Methods for saving & loading adapters, prediction heads & adapter fusions get a new parameter use_safetensors to save & load via Safetensors.

@calpt calpt marked this pull request as ready for review April 30, 2024 20:22
@calpt calpt requested review from hSterz, TimoImhof and lenglaender May 5, 2024 19:48
Copy link
Contributor

@TimoImhof TimoImhof left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

@TimoImhof TimoImhof merged commit 0c0e034 into adapter-hub:main May 11, 2024
3 checks passed
@calpt calpt deleted the dev/safetensors branch May 11, 2024 08:41
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.

load adapters from safetensor files (enhancement)
2 participants