Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
150d9e63
Unverified
Commit
150d9e63
authored
Jul 28, 2025
by
Ning Xie
Committed by
GitHub
Jul 28, 2025
Browse files
[Bugfix] fix max-file-size type from str to int (#21675)
Signed-off-by:
Andy Xie
<
andy.xning@gmail.com
>
parent
139a97ec
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
examples/offline_inference/save_sharded_state.py
examples/offline_inference/save_sharded_state.py
+1
-1
No files found.
examples/offline_inference/save_sharded_state.py
View file @
150d9e63
...
@@ -47,7 +47,7 @@ def parse_args():
...
@@ -47,7 +47,7 @@ def parse_args():
)
)
parser
.
add_argument
(
parser
.
add_argument
(
"--max-file-size"
,
"--max-file-size"
,
type
=
str
,
type
=
int
,
default
=
5
*
1024
**
3
,
default
=
5
*
1024
**
3
,
help
=
"max size (in bytes) of each safetensors file"
,
help
=
"max size (in bytes) of each safetensors file"
,
)
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment