ParallelismCP
Context parallelism
Also known as PCP, DCP, sequence parallelism
In plain English
Context parallelism splits one long prompt across several chips so they share the work of reading it and of scanning its stored attention state.
Technical Definition
Context parallelism distributes attention computation or KV state along the sequence dimension across accelerators, including prefill context parallelism (PCP) and decode context parallelism (DCP).
Engineering Details
PCP partitions new query-token computation and exchanges the needed keys and values, using a gather or a ring depending on the implementation. DCP shards KV state by token position, then combines local attention results and normalization statistics. A DCP-sharded cache can also be used during prefill; the names describe common optimization goals rather than mutually exclusive execution phases.
Why It Matters
Tensor parallelism can shard KV heads when the architecture has enough independent heads. Replication becomes a problem when the TP degree exceeds that head count or the model shares a latent cache across heads. Context parallelism can reduce that duplication or distribute long-prompt work, with communication and memory trade-offs that depend on the recipe.
How to Read It in InferenceX
InferenceX surfaces DCP and PCP degrees alongside TP, EP, and DP. The November 2026 TPU AgentX article describes DCP for GLM and its use during Kimi K3 prefill. Support must be checked for the selected engine, model, and version rather than inferred from an older vendor support matrix.
See the Concept in Real Benchmarks
All articlesThe Iron(wood) Throne: Google's TPU Stakes Its Claim on Inference
TPUv7 AgentX results across Muse Spark Open, GLM, Qwen3.5, and Kimi K3, with TorchTPU, megakernels, and llm-d disaggregation.
AgentX - InferenceXv3: Does the CUDA Moat Hold Up in Agentic Inferencing?
$3 Million USD dataset open sourced, 1 Mil+ Context Length, Multiturn, Sub Agents 95%+ KVCache HitRate, GB300 NVL72, MI355X, B200
InferenceX v2: NVIDIA Blackwell Vs AMD vs Hopper - Formerly InferenceMAX
GB300 NVL72, MI355X, B200, H100, Disaggregated Serving, Wide Expert Parallelism, Large Mixture of Experts, SGLang, vLLM, TRTLLM
MiniMax M3 on AgentX: Why B200 and B300 Beat Their Rack-Scale GB200 NVL72 & GB300 NVL72 Counterparts
The Dynamo router becomes the bottleneck, no submission runs context parallelism, and AMD leaves KV offload on the table