Repository navigation
Add num_generators field to RLTrainer.Config - #3624
Conversation
| ], | ||
| "RL GRPO 2 generators TP=1 no compile", | ||
| "rl_grpo_2gen_tp1_no_compile", | ||
| ngpu=4, |
There was a problem hiding this comment.
We should make this 8 GPU, and use trainer 4, 2 generator each TP2. Seems fine to land this first, with TODO
There was a problem hiding this comment.
i would do 3 generator TP2. Rollout is the bottleneck
723cd1a to
04100b7
Compare
There was a problem hiding this comment.
we should update 4gpu one to use 8gpu, instead of creating a new yaml.
#3142 is doing so, maybe easier to rebase after it lands.
There was a problem hiding this comment.
@tianyu-l Another reason I added a new workflow for this test is, the new tests is adding another 15-20mins to the test time, and pushed the overall test time over the 45 minute timeout.
Q: is it okay to bump the timeout from 45min to 60min?
There was a problem hiding this comment.
Instead, I would suggest we delete / repurpose some existing tests.
There was a problem hiding this comment.
made the existing rl_grpo_tp2_no_compile use 3 generators.
1a6e5df to
690ca8e
Compare
690ca8e to
dda80aa
Compare
dda80aa to
4453a4d
Compare
GeneratorRouterwas added in #3583, but we currently do not have a way to spawn multiple generators. Subsequently router cannot be tested in CI with an integration test.In order to unblock, this PR adds a
num_generatorsfield toRLTrainer.Config. This field can only be used in the single-host mode.This field is meant to be temporary just to unblock the integration test (suggested by this comment). For the long run, we need to have a "placement" config, which contains the information regarding how to map gpus/hosts to different RL roles, such as trainer and generators. The
num_generatorsshould be there too. Hopefully we can get that done in the next few weeks.