IMPORTANT: To view this page as Markdown, append `.md` to the URL (e.g. /get-started.md). For the complete documentation index, see llms.txt.
Skip to main content
For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /get-started.md).

Python data

PCP_MIN_STEP_TOKENS

PCP_MIN_STEP_TOKENS​

max.nn.common_layers.context_parallel.PCP_MIN_STEP_TOKENS = 7168

source

A step takes the PCP path only with at least this many rows. PCP pays a mostly fixed cost per layer (the prefix fill and the row exchange): on 8xB200 a PCP8 prefill step takes about 305 ms from 500 to 8000 new tokens, with or without a 32K prefix, while a DCP8 step grows from 87 ms (500) through 195 ms (4000) to 347 ms (8000). They cross near 7000 tokens, so shorter steps, chunked-prefill tails included, stay on the DCP path. These times were measured on the earlier build that branched (ops.cond) per layer; the predicated build inherits the crossover without re-measuring it.