Skip to content

Commit c7a7746

Browse files
authored
change the default value of fsdp_min_num_params to int (#3902)
1 parent 27ed776 commit c7a7746

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/accelerate/commands/launch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,7 @@ def launch_command_parser(subparsers=None):
526526
fsdp_args.add_argument(
527527
"--fsdp_min_num_params",
528528
type=int,
529-
default=1e8,
529+
default=int(1e8),
530530
help="FSDP's minimum number of parameters for Default Auto Wrapping. (useful only when `use_fsdp` flag is passed).",
531531
)
532532
# We enable this for backwards compatibility, throw a warning if this is set in `FullyShardedDataParallelPlugin`

0 commit comments

Comments
 (0)