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

Error: HeaderTooLarge #202

Open
Vizzana opened this issue May 2, 2024 · 4 comments
Open

Error: HeaderTooLarge #202

Vizzana opened this issue May 2, 2024 · 4 comments

Comments

@Vizzana
Copy link

Vizzana commented May 2, 2024

the pretrained stable difussion model can not be loaded sucessfully, the returned error is as below:

with safe_open(checkpoint_file, framework="pt") as f:
safetensors_rust.SafetensorError: Error while deserializing header: HeaderTooLarge

@yushan777
Copy link
Contributor

JoePenna's trainer doesn't support safetensors. it expects a ckpt format. You will need to convert it or use a more up-to-date trainer such as kohya

@Vizzana
Copy link
Author

Vizzana commented May 2, 2024

JoePenna's trainer doesn't support safetensors. it expects a ckpt format. You will need to convert it or use a more up-to-date trainer such as kohya

but, in fact, the format i used is just 'ckpt' ! I don't kown why this program always occurs this problem. it has exhaused me for one afternoon

@yushan777
Copy link
Contributor

I haven't used it in a very long time. are you running it locally or on vast.ai? also which model are you trying to train on top of a finetuned model or the base SD1.5?

if all else fails you can try using kohya_ss or onetrainer which is actively maintained.

@Vizzana
Copy link
Author

Vizzana commented May 3, 2024

i have solved this problem by re-download all pretrained models used in this program. and now the program is wording on my server!

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

No branches or pull requests

2 participants