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

Rework the safetensor error wrapping. #720

Merged
merged 2 commits into from
May 22, 2023
Merged

Conversation

LaurentMazare
Copy link
Owner

Make the error wrapping more uniform using a helper function, this should also result in the path being mentioned if the file is missing (which is a std::io::Error rather than a safetensor one) and so help with diffusers-rs/65.

@LaurentMazare LaurentMazare merged commit 3953ce9 into main May 22, 2023
@LaurentMazare LaurentMazare deleted the safetensor-error-wrapping branch May 23, 2023 07:14
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.

1 participant