Hello,
I am working on a two-layer MLP setup within a tensor parallelism context (e.g., tp=2), which consists of a TEColumnParallelLinear followed by a TERowParallelLinear.
I’m looking to perform a LayerNorm operation right after the output from TEColumnParallelLinear, and importantly, I want each tensor parallel split (tp slice) to have its own independent LayerNorm.
Could you provide any suggestions on whether there is an existing module that supports this, or how one might go about adding this functionality?
Thank you for your assistance!
Hello,
I am working on a two-layer MLP setup within a tensor parallelism context (e.g., tp=2), which consists of a TEColumnParallelLinear followed by a TERowParallelLinear.
I’m looking to perform a LayerNorm operation right after the output from TEColumnParallelLinear, and importantly, I want each tensor parallel split (tp slice) to have its own independent LayerNorm.
Could you provide any suggestions on whether there is an existing module that supports this, or how one might go about adding this functionality?
Thank you for your assistance!