-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Missing files when saving vision models #1475
Comments
and whenever i try loading them i get the following error : ValueError: Supplied state dict for vision_model.global_transformer.layers.0.mlp.fc1.weight does not contain |
Same issue here with those files not being created for either of those commands |
the files issues is semi-solved , only file is missing right now is model.safetensors.index but the error when loading is still there |
This function currently:
This means that all the other files for the original model aren't pushed to the Hub (or save to local folder). Copying over these files from the original model fixes the issue. |
Oh hey - much apologies on the delay @ThomasDh-C @Ammar-Alnagar - I was trying to refactor everything to make saving much simpler - it looks like I might have forgotten to download all other files from the original repo - I'll recheck and fix it! HNY as well! |
@danielhanchen it's totally alright, i think the major issue here is the one with loading, most probably due to dynamic quantization. |
when saving a finetuned multimodal llm using :
the missing files are the following :
1-tokenizer.json
2-tokenizer_config.json
3-special_toekns_map.json
4-model.safetensors.index
5-preprocessor_config.json
6-chat_template.json
The text was updated successfully, but these errors were encountered: