verl
verl copied to clipboard
dynamic-cp split the batch into local_cp_size sub-batches bug
System Info
https://github.com/verl-project/verl/blob/main/verl/utils/megatron_utils.py#L1629 Assuming len(seq_len_effective) = 9 and local_dp_size = 4, then when distributing data, there will be a DP rank that receives no data. This situation also exists when len(seq_len_effective) < local_dp_size.
Information
- [ ] The official example scripts
- [ ] My own modified scripts
Tasks
- [ ] An officially supported task in the
examplesfolder (such as GLUE/SQuAD, ...) - [ ] My own task or dataset (give details below)