The Pulse
AMD details split serving design for coding agents on MI355X GPUs
AMD described how its ATOMesh stack separates prompt processing from token generation for coding-agent workloads. The company reported AgentX benchmark results for different ratios of prefill and decode engines.

AMD has detailed a serving design that puts prompt processing and token generation on separate engines to handle coding-agent workloads. In a December 4 post, the company described the ATOMesh configuration on Instinct MI355X GPUs and reported benchmark results using the GLM-5.2 model.
Source rocm.blogs.amd.com
AMD reported up to 42.1K total tokens per second per GPU on the InferenceX AgentX benchmark with one decode engine for each prefill engine. With three decode engines per prefill, it reported up to 150 tokens per second per user at p90.
Why separate the work?
Coding agents repeatedly send long conversations to a model, add new material and receive relatively short answers before pausing for tools or subagents. AMD said running prefill and decode together can let a long prefill interrupt generation for other agents, while cached histories from paused sessions can be evicted as active sessions need memory.
AgentX replays 393 recorded Claude Code sessions covering 98,827 model calls, according to the post. The median request contains 142K input tokens; with a perfect prefix cache, about 1.7K would still need computing. The median answer is 444 tokens.
In the described setup, prefill processes the input on a separate engine from the decode engine that generates output. That separation lets each role use a different approach to distributing work across GPUs, while requiring the request's KV cache to move between them.
Routing and retaining history
The ATOMesh router selects a prefill worker and a decode worker for each request. Its cache-aware policy directs a session's next turn to a worker that already holds most of its prefix; the router also supports retries, rate limiting and metrics.
A connector saves histories to a prefix pool, loads them again on a later turn and transfers each request's KV cache from prefill to decode. It can rearrange the cache when the engines use different parallelism schemes.
Paused histories spill from prefill GPU memory into a Mooncake Store pool in host memory, which can also draw on the decode side's idle host memory. The pool is pluggable: Mooncake Store or LMCache. The measured deployments placed the prefix pool on the prefill node.
Different methods for each stage
The company's prefill configuration uses chunked pipeline parallelism, making each GPU a pipeline stage. Instead of sending a long prompt through each stage as a whole, the system streams it in chunks so stages can work on different chunks at the same time; short requests can share the remaining space in a step.
For decode, the configuration uses tensor parallelism while running contexts fit on one GPU, then switches attention to decode context parallelism when they outgrow it. AMD said the latter spreads context across GPUs and fills the available cache pool evenly, though it adds an exchange at every layer of each decode step.
The model examples cover GLM-5.2 and GLM-5.3, but the reported InferenceX measurements use GLM-5.2. The post notes that some choices depend on the model's attention mechanism.
Trading throughput for interactivity
AMD said a high prefix-cache hit rate allows one prefill engine to serve several decode engines because relatively little input needs to be recomputed on each turn. More decode engines split the load into smaller batches and increase interactivity, while fewer increase tokens per GPU.
The company said workloads with lower cache-hit rates or shorter outputs shift the appropriate ratio toward prefill. The prefill-to-decode ratio and the parallelism used by each role are deployment choices rather than fixed properties of ATOMesh.
Sources
- Original source · Blog post AMD ROCm Blogs “Compute Less, Hold More: Prefill/Decode Disaggregation for Coding Agents with ATOMesh on AMD Instinct MI355X GPUs” rocm.blogs.amd.com