Closed CynthiaChuang closed 1 month ago
remove import in train.py will fix it.
@CynthiaChuang Sorry for the inconvinience. I forgot to remove the import line in the code. Thanks for reporting it.
Closing the issue, that I'm using the safe_save_model_for_hf_trainer
again now.
I get this error when I finetune ImportError: cannot import name 'safe_save_model_for_hf_trainer' from 'training.train_utils' (/home/ocisadmin/cynthia/phi3v/Phi3-Vision-ft/src/training/train_utils.py)