Repository navigation
feat(sc): abort stale in-flight rollouts early in non Gym path - #3263
Conversation
5aaedbb to
cc02515
Compare
|
/ok to test cc02515 |
cc02515 to
728de3f
Compare
|
/ok to test 728de3f |
|
/ok to test 2019c54 |
yuki-97
left a comment
There was a problem hiding this comment.
thanks for supporting this, changes overall LGTM. left some comments and one q for nemo-gym path.
0416763 to
43baf36
Compare
|
/ok to test 0510d09 |
|
Had a quick question on the graphs (haven't read the changes yet) - Why do we not see any evicted stale groups when not aborting? |
Yes, we also evict groups when we don't abort in-flight samples. Because the two panels are added in this PR, and no-abort version runs are running on main, so there're no panels for the runs. In theory, in scenarios without abort, the evict count should be the sum of the values from the two current panels. |
Signed-off-by: ruit <[email protected]>
Signed-off-by: ruit <[email protected]>
Signed-off-by: ruit <[email protected]>
Signed-off-by: ruit <[email protected]>
Signed-off-by: ruit <[email protected]>
Signed-off-by: ruit <[email protected]>
0510d09 to
bec1089
Compare
|
/ok to test bec1089 |
Signed-off-by: ruit <[email protected]>
|
/ok to test d1a1bbe |
_sync_weights now gates stale-abort on _should_use_nemo_gym(master_config),
which reads master_config.env. The _train_pump test builds its MasterConfig
via model_construct without env, so the real-actor training step hit
AttributeError: 'MasterConfig' object has no attribute 'env'. Add env={} so
the gate resolves to the native (non-gym) path.
Signed-off-by: ruit <[email protected]>
|
/ok to test 132f9d9 |
upstream NVIDIA-NeMo#3263 added a _should_use_nemo_gym check and a stale-in-flight abort to _sync_weights, so the minimal controller this fixture builds no longer reaches the refit -- it dies on AttributeError: no attribute '_master_config'. An empty env dict selects the native path and an empty registry makes _abort_stale_inflight a no-op. Neither is what these tests are about; both just have to exist for the refit to be reached at all. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Signed-off-by: asolergibert <[email protected]>
Summary
train/evicted_stale_prompt_groups) and aborted stale in-flight groups (train/aborted_stale_inflight_groups).Tests
Recipe: examples/configs/recipes/llm/performance/grpo-llama3.1-8b-instruct-2n8g-async-1off.yaml
disable kv cache recompute
enable kv cache recompute