Skip to content

[None][feat] Support disagg serving for post training - #19890

Draft
shuyixiong wants to merge 5 commits into
NVIDIA:mainfrom
shuyixiong:shuyix/disagg_rl
Draft

shuyixiong wants to merge 5 commits into
NVIDIA:mainfrom
shuyixiong:shuyix/disagg_rl

Conversation

@shuyixiong

Copy link
Copy Markdown
Collaborator

@coderabbitai summary

Description

Test Coverage

PR Checklist

Please review the following before submitting your PR:

  • PR description clearly explains what and why. If using CodeRabbit's summary, please make sure it makes sense.

  • PR Follows TRT-LLM CODING GUIDELINES to the best of your knowledge.

  • Test cases are provided for new code paths (see test instructions)

  • If PR introduces API changes, an appropriate PR label is added - either api-compatible or api-breaking. For api-breaking, include BREAKING in the PR title.

  • Any new dependencies have been scanned for license and vulnerabilities

  • CODEOWNERS updated if ownership changes

  • Documentation updated as needed

  • Update tava architecture diagram if there is a significant design change in PR.

  • The reviewers assigned automatically/manually are appropriate for the PR.

  • Please check this after reviewing the above items as appropriate for this PR.

GitHub Bot Help

To see a list of available CI bot commands, please comment /bot help.

shuyixiong and others added 5 commits October 6, 2026 00:53
…h-Ray squash

The upstream merge of "support NIXL cache transceiver with Ray" (NVIDIA#17295)
landed without three pieces that the squashed pick on this branch carried
and that the RL rollout path relies on:

- A drain=True control request also waits, bounded by
  TLLM_CONTROL_DRAIN_TRANSFER_TIMEOUT_S, for context-only requests whose KV
  is still in flight to the generation engine, so a weight update cannot
  land while KV built under the previous weights is still being pulled.
- The OpenAI HTTP client does not retry deterministic 4xx rejections; the
  retry budget is for transport failures only.
- ChatCompletionResponseChoice declares token_ids so the sampled ids survive
  the disaggregated server's re-validation of a worker response.

Re-applied on top of the merged upstream version of the transceiver work.

Signed-off-by: Zongfei Jing <[email protected]>
* Per-request response hooks class made substitutable; unknown response fields relayed through the
  disagg server; result registered before the RPC send in the proxy submit path.

Squashed by module from the per-change history, which is kept as
user/zongfeij/rl-rebase-main-20260918-pre-squash.

Signed-off-by: Zongfei Jing <[email protected]>
…agg transfer-bound check

On the C++ LlmRequest binding ``is_generation_only_request`` and
``is_context_only_request`` are read-only properties (def_prop_ro), while
the Python wrapper still exposes ``is_generation_only_request`` as a
method. ``_is_disagg_transfer_bound`` called the former as a method, so the
first in-flight weight refit on a disaggregated generation engine with
active requests failed on every rank with "'bool' object is not callable"
(the warmup refit runs with no active requests and never reached the call;
aggregated engines have no transceiver and skip the branch).

Read both predicates through a small helper that accepts a property, a
method or a missing attribute, and cover the property-shaped request in
the recompute unit tests.

Signed-off-by: Zongfei Jing <[email protected]>
…o not let one wedged receive park a rank (NVIDIA#19802)

Signed-off-by: Zongfei Jing <[email protected]>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants