Open oranshayer opened 1 month ago
This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.
Please note that issues that do not follow the contributing guidelines are likely to be ignored.
cc @muellerzr @SunMarc !
Hey @oranshayer, could you share a minimal reproducer ? This shouldn't happens as we make sure to remove the shared tensors prior to saving. Having the entire traceback will also help us figuring out here the problem is. Thanks !
System Info
transformers
version: 4.44.2Who can help?
@muellerz @SunMarc
Information
Tasks
examples
folder (such as GLUE/SQuAD, ...)Reproduction
I am finetuning
google/gemma-2-2b
and these are the arguments and trainer call:I am getting the following error when trainer tries to save the model:
I have currently disabled saving as safetensors through the training arguments:
save_safetensors=False,
Expected behavior
Should save in safetensors without raising an error.