arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.27656cs.DC
收藏

fabric-lib: 用于LLM系统的RDMA点对点通信

fabric-lib: RDMA Point-to-Point Communication for LLM Systems

Perplexity AI

Nandor Licker, Kevin Hu, Vladimir Zaytsev, Lequn Chen

AI总结:

fabric-lib通过统一接口实现灵活的点对点通信,支持异步强化学习微调和MoE路由,提升吞吐量并增强硬件兼容性。

摘要:

新兴的大语言模型(LLM)系统模式,如解耦推断、专家混合(MoE)路由和异步强化学习微调,需要超越简单集体的灵活点对点通信。现有实现受限于特定网络接口控制器(NIC),阻碍了推断引擎的集成和跨硬件供应商的可移植性。我们提出了fabric-lib,它桥接了常见NIC的功能,以暴露统一的接口。fabric-lib通过ImmCounter原语提供单向WriteImm操作用于完成通知,无需网络传输的顺序假设,透明管理每个GPU的多个NIC。我们在NVIDIA ConnectX-7和AWS Elastic Fabric Adapter(EFA)上展示了峰值吞吐量为400 Gbps。我们通过三个生产系统展示了fabric-lib:(1)KvCache传输用于解耦推断的动态扩展,(2)RL权重更新实现万亿参数模型的1.3秒,(3)MoE调度/组合实现超过DeepEP解码延迟的ConnectX-7,首次在EFA上实现可行延迟。我们证明了我们的可移植点对点通信在不锁定的情况下补充集体通信。fabric-lib在https://github.com/perplexityai/pplx-garden上开源。

英文摘要:

Emerging Large Language Model (LLM) system patterns, such as disaggregated inference, Mixture-of-Experts (MoE) routing, and asynchronous reinforcement fine-tuning, require flexible point-to-point communication beyond simple collectives. Existing implementations are locked to specific Network Interface Controllers (NICs), hindering integration into inference engines and portability across hardware providers. We present fabric-lib, which bridges the functionality of common NICs to expose a uniform interface. fabric-lib exposes one-sided WriteImm operations with a ImmCounter primitive for completion notification, without ordering assumptions of network transport, transparently managing multiple NICs per GPU. We demonstrate peak throughput of 400 Gbps on both NVIDIA ConnectX-7 and AWS Elastic Fabric Adapter (EFA). We showcase fabric-lib through three production systems: (1) KvCache transfer for disaggregated inference with dynamic scaling, (2) RL weight updates achieving 1.3 seconds for trillion-parameter models, and (3) MoE dispatch/combine implementation exceeding DeepEP decode latency on ConnectX-7, with the first viable latencies on EFA. We demonstrate that our portable point-to-point communication complements collectives while avoiding lock-in. fabric-lib is open-sourced at https://github.com/perplexityai/pplx-garden/

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑