You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FEAT][distributed]: implement Sequence-Parallel aware LogProb and Loss reductions #49
component: distributedTasks involving Ray actor management, cross-node scheduling, and communication synchronization.component: kernelsTasks involving the development of CUDA and Triton underlying operatorstype: designIssues requiring in-depth discussion of architecture design
Training on extreme long-context tasks (32k+ tokens) requires Sequence Parallelism or Context Parallelism , where a single sequence is sharded across multiple GPUs. Our current loss functions (LogP, KL, Masked-Mean) assume the full sequence resides on a single device.
Tasks:
Update the selected_logprobs and KL operators to accept sharded input sequences.
Implement cross-rank reductions (e.g., partial sum of masked tokens -> AllReduce -> global division) for metrics like masked_mean and masked_sum.
Ensure that gradients route back to the correct sequence shards during the backward pass seamlessly.
component: distributedTasks involving Ray actor management, cross-node scheduling, and communication synchronization.component: kernelsTasks involving the development of CUDA and Triton underlying operatorstype: designIssues requiring in-depth discussion of architecture design
Activity
LG-0927 commentedon Aug 17, 2026
Hi,I would like to take this issue
Flink-ddd commentedon Aug 17, 2026
sure, assigned. Thank you.