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 73120b8 commit e677b9cCopy full SHA for e677b9c
nemo_rl/algorithms/grpo.py
@@ -415,7 +415,11 @@ def refit_policy_generation(
415
policy_generation.prepare_for_generation(tags=["weights"])
416
417
# Create a context manager that does nothing when timer is None
418
- timer_context = timer.time("prepare_for_generation/refit_policy_generation") if timer is not None else nullcontext()
+ timer_context = (
419
+ timer.time("prepare_for_generation/transfer_and_update_weights")
420
+ if timer is not None
421
+ else nullcontext()
422
+ )
423
with timer_context:
424
# update weights
425
update_success = False
0 commit comments