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

Signed-off-by: Andy Xie <andy.xning@gmail.com>
This commit is contained in:
Ning Xie 2025-07-28 15:06:52 +08:00 committed by GitHub
parent 139a97ec56
commit 150d9e6337
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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",
)