Skip to content

Commit

Permalink
Change default serialization for push_to_hf_hub to 'both'
Browse files Browse the repository at this point in the history
  • Loading branch information
rwightman committed Jun 7, 2024
1 parent 5cce218 commit 4535a54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion timm/models/_hub.py
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ def push_to_hf_hub(
model_config: Optional[dict] = None,
model_card: Optional[dict] = None,
model_args: Optional[dict] = None,
safe_serialization: Union[bool, Literal["both"]] = False,
safe_serialization: Union[bool, Literal["both"]] = 'both',
):
"""
Arguments:
Expand Down

0 comments on commit 4535a54

Please sign in to comment.