Closed ArvinZhuang closed 1 month ago
this _save follows the original transformers trainer implementation. The previous implementation will case RuntimeError: Error(s) in loading state_dict for PeftModel when loading saved safetensors. This update can fix that.
_save
RuntimeError: Error(s) in loading state_dict for PeftModel
this
_save
follows the original transformers trainer implementation. The previous implementation will caseRuntimeError: Error(s) in loading state_dict for PeftModel
when loading saved safetensors. This update can fix that.