Skip to main content

One post tagged with "MoRI"

MoRI (Modular RDMA Interface) for KV transfer and expert parallelism

View All Tags

MoRI in llm-d: P/D Disaggregation and Expert Parallelism for Long Context with GLM-5.3 on MI355X

· 24 min read

Serving a large mixture-of-experts (MoE) model with llm-d moves two kinds of data between GPUs. With prefill/decode disaggregation (P/D), the KV cache that prefill computes has to reach the decode GPUs. With expert parallelism, every MoE layer sends tokens to the GPUs that hold their experts and gathers the results. We wanted AMD users of llm-d to carry both through the AMD communication library MoRI (Modular RDMA Interface), straight from stock llm-d and vLLM.

We wired MoRI upstream into the llm-d routing sidecar and vLLM's KV connector and expert-parallel backend. We then ran amd/GLM-5.3-Quark-MXFP4-AttnFP8, a MoE model, at 128k–512k context on AMD Instinct™ MI355X GPUs. The first half of this post covers the stack; the second covers the case study: where P/D helped and what it cost.