Training time for world-r1
Thanks for the great work!
I'm currently trying to reproduce the results with Wan2.1-T2V-14B. Using the default single-node training script, I noticed that each epoch, including both sampling rollouts and training optimization steps, takes around 8–10 hours to finish. May I ask whether this is expected?
In addition, when scaling to multi-node training, it seems that the current training code also scales up the global batch size, while keeping num_batches_per_epoch the same for each rank. As a result, the per-epoch training time does not really decrease with more nodes. May I ask whether this behavior is intended?
Finally, if possible, could you share how many epochs the 1.3B and 14B models were trained for?
Thanks a lot!
Hi @HL-hanlin .Thanks for your interest!
The default single-node training script is mainly provided as a reference implementation. Based on our experience, single-node training is usually not sufficient to obtain good/reproducible performance for this setting.
For reproducing the reported results, we recommend using the resource configuration described in the paper and training on the full dataset. Training for 1 epoch should be enough. Also, please keep the overall batch size unchanged, especially the on/off-policy update size, i.e. group_size * num_group, following the Flow-GRPO setting.
In practice, you should be able to observe meaningful results after training for a few dozen steps.
Hi @HL-hanlin .Thanks for your interest!
The default single-node training script is mainly provided as a reference implementation. Based on our experience, single-node training is usually not sufficient to obtain good/reproducible performance for this setting.
For reproducing the reported results, we recommend using the resource configuration described in the paper and training on the full dataset. Training for 1 epoch should be enough. Also, please keep the overall batch size unchanged, especially the on/off-policy update size, i.e.
group_size * num_group, following the Flow-GRPO setting.In practice, you should be able to observe meaningful results after training for a few dozen steps.
Hi @lhmd ! Would online GRPO become offline if it were trained for only 1 epoch?
Hi @HL-hanlin .Thanks for your interest!
The default single-node training script is mainly provided as a reference implementation. Based on our experience, single-node training is usually not sufficient to obtain good/reproducible performance for this setting.
For reproducing the reported results, we recommend using the resource configuration described in the paper and training on the full dataset. Training for 1 epoch should be enough. Also, please keep the overall batch size unchanged, especially the on/off-policy update size, i.e.
group_size * num_group, following the Flow-GRPO setting.In practice, you should be able to observe meaningful results after training for a few dozen steps.
Thanks for the clarification! Just to double-check, if we use the same 96 H200 GPU setup for World-R1-Large and train for 1 epoch, should we expect the total training time to be around 8-10 hours?
Yes, besides you need some extra gpus to run reward server.
Hi @HL-hanlin .Thanks for your interest! The default single-node training script is mainly provided as a reference implementation. Based on our experience, single-node training is usually not sufficient to obtain good/reproducible performance for this setting. For reproducing the reported results, we recommend using the resource configuration described in the paper and training on the full dataset. Training for 1 epoch should be enough. Also, please keep the overall batch size unchanged, especially the on/off-policy update size, i.e.
group_size * num_group, following the Flow-GRPO setting. In practice, you should be able to observe meaningful results after training for a few dozen steps.Hi @lhmd ! Would online GRPO become offline if it were trained for only 1 epoch?
We follow the setting in Flow-GRPO. The model generates some videos (rollout), and then we update the model in on and off policy mode (two steps). So the training process is online.
Closing as there has been no further activity. Feel free to reopen if needed.
Hi @HL-hanlin .Thanks for your interest!
The default single-node training script is mainly provided as a reference implementation. Based on our experience, single-node training is usually not sufficient to obtain good/reproducible performance for this setting.
For reproducing the reported results, we recommend using the resource configuration described in the paper and training on the full dataset. Training for 1 epoch should be enough. Also, please keep the overall batch size unchanged, especially the on/off-policy update size, i.e.
group_size * num_group, following the Flow-GRPO setting.In practice, you should be able to observe meaningful results after training for a few dozen steps.
Hi @lhmd, thanks for your great work!
As you mentioned before, we only need to train for one epoch to see reasonable results. However, I noticed the save config looks like this:
config.num_epochs = 100000 config.save_freq = 60 config.eval_freq = 30
Is this correct? It seems like we need to run 60 epochs before saving a single checkpoint -- and based on the current training speed, that could take up to ~20 days just for one checkpoint save. That feels way too long.
Could you double-check whether save_freq and eval_freq should be set to much smaller values? For example, if one epoch is already sufficient for reasonable results, perhaps saving every 1-5 epochs would be more appropriate and allow us to iterate much faster.
Thanks!
Yes, besides you need some extra gpus to run reward server.
@Shredded-Pork , you suggest that how many GPUs are used for two different run reward server to reproduce the paper results?
Thanks the authors! It would be great if you could provide a complete training script with the exact hyper-parameters, so that we could use the same GPU compute to reproduce the results. Thanks!