Skip to content

Commit

Permalink
Deprecate resume_download (#586)
Browse files Browse the repository at this point in the history
  • Loading branch information
Wauplin authored Jun 4, 2024
1 parent a033e04 commit a3bb344
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion optimum/neuron/distributed/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -1124,7 +1124,7 @@ def from_pretrained_for_mp(
kwargs.pop("state_dict", None)
kwargs.pop("from_tf", False)
kwargs.pop("from_flax", False)
resume_download = kwargs.pop("resume_download", False)
resume_download = kwargs.pop("resume_download", None)
proxies = kwargs.pop("proxies", None)
kwargs.pop("output_loading_info", False)
kwargs.pop("use_auth_token", None)
Expand Down
2 changes: 1 addition & 1 deletion optimum/neuron/utils/misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ def download_checkpoints_in_cache(
kwargs.pop("state_dict", None)
from_tf = kwargs.pop("from_tf", False)
from_flax = kwargs.pop("from_flax", False)
resume_download = kwargs.pop("resume_download", False)
resume_download = kwargs.pop("resume_download", None)
proxies = kwargs.pop("proxies", None)
kwargs.pop("output_loading_info", False)
kwargs.pop("use_auth_token", None)
Expand Down

0 comments on commit a3bb344

Please sign in to comment.