Skip to content

Commit 23b5525

Browse files
committed
fix
Signed-off-by: Hemil Desai <hemild@nvidia.com>
1 parent 7dd5808 commit 23b5525

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/test_suites/llm/grpo-moonlight-16b-automodel-1n8g-ep8.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,7 @@ if [[ $(jq 'to_entries | .[] | select(.key == "train/loss") | .value | keys | ma
3939
'data["train/reward"]["30"] > 0.4' \
4040
'data["train/grad_norm"]["30"] < 0.2' \
4141
'data["train/grad_norm"]["30"] > 0.1'
42+
43+
# Clean up checkpoint directory after successful run to save space.
44+
rm -rf "$CKPT_DIR"
4245
fi

0 commit comments

Comments
 (0)