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

Precalculate .safetensors model hashes after training #102

Merged
merged 1 commit into from
Jan 24, 2023

Conversation

space-nuko
Copy link
Contributor

This saves time when the file is loaded by additional-networks since the hash calculation is expensive for hundreds of files. It also allows you to move the model file somewhere and not have to recalculate the hash again

@kohya-ss kohya-ss changed the base branch from main to dev January 24, 2023 10:03
@kohya-ss kohya-ss merged commit e6bad08 into kohya-ss:dev Jan 24, 2023
@kohya-ss
Copy link
Owner

Thank you for this! It looks good!

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.

2 participants