Skip to content

Commit

Permalink
Update modeling_auto.py (#1499)
Browse files Browse the repository at this point in the history
Signed-off-by: Wang, Chang <[email protected]>
  • Loading branch information
changwangss committed Apr 21, 2024
1 parent 307ab8e commit 0fc6e01
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1032,7 +1032,7 @@ def load_low_bit(cls, pretrained_model_name_or_path, *model_args, **kwargs):
variant = kwargs.pop("variant", None)
offload_folder = kwargs.pop("offload_folder", None)
offload_state_dict = kwargs.pop("offload_state_dict", False)
torch_dtype = kwargs.get("torch_dtype", "auto")
torch_dtype = kwargs.pop("torch_dtype", "auto")
cache_dir = kwargs.pop("cache_dir", None)
force_download = kwargs.pop("force_download", False)
proxies = kwargs.pop("proxies", None)
Expand Down

0 comments on commit 0fc6e01

Please sign in to comment.