Fix `save_pretrained` for partially offloaded models #34890
delete unnecessary reference
b8cc091d
kylesayrs
marked this pull request as draft 1 year ago
update comment, explicit delete state_dict
041a2a5a
kylesayrs
marked this pull request as ready for review 1 year ago
Merge branch 'main' into neural-magic/patch-get_state_dict_from_offload
8d9f484d
muellerzr
approved these changes
on 2024-11-25
SunMarc
approved these changes
on 2024-11-25
Update src/transformers/modeling_utils.py
c7600493
Merge branch 'main' into neural-magic/patch-get_state_dict_from_offload
4f446740
Merge branch 'main' into neural-magic/patch-get_state_dict_from_offload
b6e8bea9
fix style
c890858f
Merge branch 'main' into neural-magic/patch-get_state_dict_from_offload
c246f5bb
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub