Skip to content

Commit d309616

Browse files
andyxningepwalsh
authored andcommitted
[Bugfix] fix max-file-size type from str to int (vllm-project#21675)
Signed-off-by: Andy Xie <andy.xning@gmail.com>
1 parent 76f9cbf commit d309616

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/offline_inference/save_sharded_state.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def parse_args():
4747
)
4848
parser.add_argument(
4949
"--max-file-size",
50-
type=str,
50+
type=int,
5151
default=5 * 1024**3,
5252
help="max size (in bytes) of each safetensors file",
5353
)

0 commit comments

Comments
 (0)