Skip to content

Commit 6d43f53

Browse files
authored
set recompute_loss_function to false by default (#1089)
1 parent d1cfaa0 commit 6d43f53

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

slime/utils/arguments.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -149,9 +149,8 @@ def add_train_arguments(parser):
149149
help="The method to convert megatron weights to hugging face weights for SGLang.",
150150
)
151151
parser.add_argument(
152-
"--disable-recompute-loss-function",
153-
action="store_false",
154-
dest="recompute_loss_function",
152+
"--recompute-loss-function",
153+
action="store_true",
155154
help="Whether to disable recompute loss function to save memory during training.",
156155
)
157156

0 commit comments

Comments
 (0)