Skip to content

docs(vllm): cherry-pick worker-role flag corrections and --kv-transfer-config reference - #12666

Merged
pvijayakrish merged 1 commit into
release/1.4.0from
dagil-nvidia/cp-6550447-vllm-config-docs
Aug 4, 2026
Merged

docs(vllm): cherry-pick worker-role flag corrections and --kv-transfer-config reference#12666
pvijayakrish merged 1 commit into
release/1.4.0from
dagil-nvidia/cp-6550447-vllm-config-docs

Conversation

@dagil-nvidia

@dagil-nvidia dagil-nvidia commented Aug 4, 2026

Copy link
Copy Markdown
Collaborator

Cherry-pick of #12568 (merged to main as 27e6820 on Aug 3) onto release/1.4.0, for NVBug 6550447 / DYN-3726 (P0).

Why this is not a clean cherry-pick

main has since restructured the Fern docs tree. The file lives at docs/fern/pages/reference/backends/vllm-configuration.mdx on main and at docs/fern/backends/vllm/vllm-config-reference.mdx here, so git cherry-pick does not apply. The content change is the same; the relative link to the runtime config reference uses this branch's path, and the launch-script link points at release/1.4.0 instead of main.

What changed

  • Adds a Native KV transfer configuration section documenting --kv-transfer-config as a native vLLM engine argument, and warns that --disaggregation-mode prefill raises a ValueError at argument parsing without it.
  • Records that --connector / DYN_CONNECTOR are no longer accepted, with the message each rejected value produces.
  • Cross-references the new section from the --disaggregation-mode field.
  • Removes the --is-prefill-worker and --is-decode-worker entries and their two validation rules. The backend no longer accepts either flag, so the page documented them as working.

Following the page as written on this branch fails: the removed role flags are shown as usable and the mandatory --kv-transfer-config is absent.

Fixes 6550447


Open in Devin Review

Cherry-pick of #12568 (27e6820) onto release/1.4.0, adapted for the
pre-restructure docs layout: the fix lives at
docs/fern/backends/vllm/vllm-config-reference.mdx here, not at
docs/fern/pages/reference/backends/vllm-configuration.mdx.

Documents --kv-transfer-config as a native vLLM argument, records that
--disaggregation-mode prefill fails without it, and removes the
--is-prefill-worker / --is-decode-worker entries and their validation
rules, which the backend no longer accepts.

Fixes 6550447

Signed-off-by: Dan Gil <dagil@nvidia.com>
@dagil-nvidia
dagil-nvidia requested a review from a team as a code owner August 4, 2026 22:06
@github-actions github-actions Bot added docs documentation Improvements or additions to documentation labels Aug 4, 2026

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Devin Review found 1 potential issue.

Open in Devin Review

--kv-transfer-config '{"kv_connector":"NixlConnector","kv_role":"kv_both"}'
```

Only the prefill worker is required to set it, but both halves of a NIXL pair must agree on a connector for transfers to succeed. Pass the same `--kv-transfer-config` value to the decode worker, as the [disaggregated vLLM launch script](https://github.com/ai-dynamo/dynamo/blob/release/1.4.0/examples/backends/vllm/launch/disagg.sh) does.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Documentation link points at a release branch instead of the required main branch

The new launch-script link is written against the release/1.4.0 branch (https://github.com/ai-dynamo/dynamo/blob/release/1.4.0/examples/backends/vllm/launch/disagg.sh at docs/fern/backends/vllm/vllm-config-reference.mdx:92) instead of the branch the docs rules mandate, so the published page diverges from every other outbound source link.
Impact: Readers of the published docs follow a link pinned to an old snapshot rather than the current source, which will go stale as the example evolves.

Docs style rule on links outside docs/

docs/fern/documentation-style-guide.md:277-280 requires links to targets outside docs/ to be absolute GitHub URLs of the form https://github.com/ai-dynamo/dynamo/blob/main/<path>. Every other GitHub link on this page and in the sibling vLLM pages uses blob/main/ (e.g. docs/fern/backends/vllm/vllm-config-reference.mdx:8, docs/fern/backends/vllm/vllm-examples.mdx:48).

Suggested change
Only the prefill worker is required to set it, but both halves of a NIXL pair must agree on a connector for transfers to succeed. Pass the same `--kv-transfer-config` value to the decode worker, as the [disaggregated vLLM launch script](https://github.com/ai-dynamo/dynamo/blob/release/1.4.0/examples/backends/vllm/launch/disagg.sh) does.
Only the prefill worker is required to set it, but both halves of a NIXL pair must agree on a connector for transfers to succeed. Pass the same `--kv-transfer-config` value to the decode worker, as the [disaggregated vLLM launch script](https://github.com/ai-dynamo/dynamo/blob/main/examples/backends/vllm/launch/disagg.sh) does.
Open in Devin Review

Was this helpful? React with 👍 or 👎 to provide feedback.

@github-actions

github-actions Bot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

@pvijayakrish
pvijayakrish merged commit 4222e0e into release/1.4.0 Aug 4, 2026
90 of 91 checks passed
@pvijayakrish
pvijayakrish deleted the dagil-nvidia/cp-6550447-vllm-config-docs branch August 4, 2026 23:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs documentation Improvements or additions to documentation size/M

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants