We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76f9cbf commit d309616Copy full SHA for d309616
examples/offline_inference/save_sharded_state.py
@@ -47,7 +47,7 @@ def parse_args():
47
)
48
parser.add_argument(
49
"--max-file-size",
50
- type=str,
+ type=int,
51
default=5 * 1024**3,
52
help="max size (in bytes) of each safetensors file",
53
0 commit comments