|
I am testing GPT2 model training using TransformerLayer. Training slows down significantly when Do you have any recommendation to achieve better throughput with Model is ~4.3B with 12 layers, |
Replies: 8 comments
|
Which toolkit (e.g. NeMo) are you using to enable sequence parallelism? Does that toolkit support sequence parallel? Simply passing If this is the case, an |
|
Could you confirm if this is the issue? Either way, I will make a change soon that catches this behavior and reports an error. |
|
Yes thanks for the help |
|
Facing the same error, how can I set |
|
It's not that the |
|
I am still seeing performance drop when sequence-parallel is enabled even after sharding input during the forward pass before passing it to TE's TransformerLayer. Model is Do you have any recommendation? What should be the optimal configuration of these environment variables? |
It's not that the
sequence-parallelarg does not have to be passed into TE (it must be), but the underlying toolkit, i.e. NeMo must also be aware of SP being used so that it can split the input. This can be done by setting the correspondingsequence-parallelarg in NeMo.