AI & ML
KOSMOS: Self-scheduling Persistent Kernels for Communication-Compute Overlap
arXiv cs.DC0 views
arXiv:2611.07477v1 Announce Type: new Abstract: Tensor and sequence parallelism (TP+SP) and expert parallelism (EP) put collectives on the critical path of transformer layers. State-of-the-art fused kernels mitigate this with fixed roles or schedules, but this rigidity leaves large idle windows. Predicting a communication-computation split does not remove them either; a predetermined split cannot follow data readiness. We present KOSMOS, a library for self-scheduling persistent kernels whose workgroups use queues ordered by consumer demand to switch between communication and computation roles as data become ready, with no scheduler, per-call cost model, or tuned split. KOSMOS fuses every TP+SP collective of a transformer layer with its GEMM, and runs an entire expert layer, from router to fold, in one launch per direction. Evaluated on AMD Instinct MI350X and AMD Instinct MI355X GPUs, KOSMOS speeds up TP+SP end-to-end training in Megatron-LM by 1.10-1.28x in BF16 and 1.10-1.25x in MXFP8. KOSMOS accelerates end-to-end training of DeepSeek-V3 and Qwen3-235B proxies by 1.29-1.83x over DeepEP.
Source:https://arxiv.org/abs/2611.07477PreviousNot All Loops Cost the Same: Phase-Dependent Depth for Serving Looped TransformersNextZYFA: Speed and Accuracy of FP8 FlashAttention on AMD CDNA4
Related posts
When a tool goes silent after execution: retry or verify first?
0dev.to Discuss
Conductor Cloud shuts down Nov 20: how to move your agent work
0dev.to Productivity

CUA-Master-27B: Modelo Aberto com 80,2% no OSWorld e Treinamento em Laço Duplo
0dev.to Machine Learning

OpenAI Lança Rosalind-6: Raciocínio de Fronteira para Ciências Biológicas, Governança de Acesso Confiável e o Padrão de Engenhar
0dev.to Machine Learning
Why Our Transformer Agent Remembers Every Oil Test (Built with Hindsight)
0dev.to Machine Learning
We built our own inference engine and put it up against vLLM and SGLang on four models and three kinds of GPU.
0dev.to Machine Learning