Unverified Commit 150d9e63 authored by Ning Xie's avatar Ning Xie Committed by GitHub
Browse files

[Bugfix] fix max-file-size type from str to int (#21675)


Signed-off-by: default avatarAndy Xie <andy.xning@gmail.com>
parent 139a97ec
......@@ -47,7 +47,7 @@ def parse_args():
)
parser.add_argument(
"--max-file-size",
type=str,
type=int,
default=5 * 1024**3,
help="max size (in bytes) of each safetensors file",
)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment