跳到正文
arXiv (AI + Vision + Imaging)· Jiakun Yan, Shiksha Patel, David Sidler, Gengyu Rao, Brandon Potter, Bradford Beckmann·· 6 天前AI 评分34

KIWI:面向GPU发起通信的可编程GPU-to-CPU反向卸载框架

A Fast, Programmable GPU-to-CPU Invocation Layer for GPU-Initiated Communication

AI 导读

KIWI是一个可编程反向卸载框架,实现亚微秒级单向device-to-host延迟和每秒数亿次操作,将反向卸载作为一等通信路径而非GDA的慢速回退。

正文 · 原文

arXiv:2611.23848v1 Announce Type: cross Abstract: Modern GPU workloads increasingly rely on device-initiated communication to let GPU kernels communicate directly without synchronizing with the host at kernel boundaries. Existing libraries commonly favor placing transport control on GPU threads, an approach known as GPUDirect Async (GDA), and treat reverse offload to host proxy threads as a slower fallback. We argue that reverse offload can outperform GDA and should be a first-class communication path. We further propose exposing reverse offload as a programming interface that lets users define workload-specific communication operations. We present KIWI, a programmable reverse-offload framework that achieves sub-microsecond one-way device-to-host latency and hundreds of millions of operations per second. We address practical challenges of scaling reverse offload, including contention on shared queues, polling overhead, and load imbalance across proxies. KIWI-P2P, a SHMEM-like library built on KIWI, outperforms state-of-the-art GDA implementations in both latency and bandwidth. More importantly, KIWI-EP redesigns low-latency mixture-of-experts dispatch and combine kernels around workload-defined operations, lowering expert-parallel communication latency by up to 2.3x over the best existing backend on AMD GPUs and time per output token in vLLM by up to 29%. The source code of KIWI is available at https://github.com/AMDResearch/kiwi.

来源:arXiv (AI + Vision + Imaging) · arxiv.org