Skip to content

Commit 1211ecd

Browse files
authored
enable weight cleanup (#289)
1 parent 287d828 commit 1211ecd

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,5 @@ wandb/
197197
assets/wheels/vllm*.whl
198198

199199
# DCP artifacts
200-
model_state_dict/
201200
forge_dcp_tmp/
202201
demo_top_down.md

apps/grpo/main.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -455,9 +455,9 @@ async def continuous_training():
455455
await policy.update_weights.fanout(training_step)
456456
t.step("update_weights")
457457

458-
# if training_step >= 2:
459-
# await drop_weights(training_step - 1)
460-
# t.step("drop_weights")
458+
if training_step >= 2:
459+
await drop_weights(training_step - 1)
460+
t.step("drop_weights")
461461

462462
t.stop()
463463
restart_tracer = True

0 commit comments

Comments
 (0)