Skip to content

Commit 4535a54

Browse files
committed
Change default serialization for push_to_hf_hub to 'both'
1 parent 5cce218 commit 4535a54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

timm/models/_hub.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ def push_to_hf_hub(
285285
model_config: Optional[dict] = None,
286286
model_card: Optional[dict] = None,
287287
model_args: Optional[dict] = None,
288-
safe_serialization: Union[bool, Literal["both"]] = False,
288+
safe_serialization: Union[bool, Literal["both"]] = 'both',
289289
):
290290
"""
291291
Arguments:

0 commit comments

Comments
 (0)