System Info
This issue is related to prior issue 3101, but it hasn’t been fully resolved yet. The current workaround is to avoid using safetensors.
@Narsil suggested using load_file/save_file. However, I noticed that accelerate currently uses save_file for saving and use load_model for loading.
Is there any known workaround or recommended fix for this inconsistency?
Information
Tasks
Reproduction
Please see the prior issue 3101.
Expected behavior
Please see the prior issue 3101.
System Info
This issue is related to prior issue 3101, but it hasn’t been fully resolved yet. The current workaround is to avoid using
safetensors.@Narsil suggested using
load_file/save_file. However, I noticed that accelerate currently uses save_file for saving and use load_model for loading.Is there any known workaround or recommended fix for this inconsistency?
Information
Tasks
no_trainerscript in theexamplesfolder of thetransformersrepo (such asrun_no_trainer_glue.py)Reproduction
Please see the prior issue 3101.
Expected behavior
Please see the prior issue 3101.