Skip to content

[#18151][feat] Admit trusted KV hints and carry immutable request metadata - #20269

Merged
chienchunhung merged 1 commit into
NVIDIA:mainfrom
chienchunhung:dev/ri-04-request-hints
Nov 3, 2026
Merged

chienchunhung merged 1 commit into
NVIDIA:mainfrom
chienchunhung:dev/ri-04-request-hints

Conversation

@chienchunhung

@chienchunhung chienchunhung commented Oct 14, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Carry optional KV reuse hints through Python and HTTP requests, and freeze admitted metadata before queueing. Ignore untrusted, unsupported, oversized or malformed envelopes without changing ordinary request validation or required P/D handoff.

Scope

  • HTTP ingress strips hints by default; trusted admission checks schema, version, the 64 KiB JSON limit and MessagePack compatibility.
  • Immutable snapshots preserve opaque metadata through proxy batching, worker conversion, rank broadcasts and child requests; HTTP request text omits hints.
  • The private collector returns supported fetch actions in producer order with supporting families and ignored-action counts.
  • Documentation defines trust, endpoint authorization, LoRA exclusion and other requirements for later consumer integration.
  • Tests cover admission and transport; related test-harness fixes bound subprocesses, restore import paths and correct conflicting capture fixtures.

This PR does not execute actions or activate a backend. gRPC hint transport is not included. Explicit logging of serialized hints still requires redaction.

Verification

Current head: 760abefe826af867b1d304ffb4c3d9eafd8a589a.

Check Result at the current head
Complete source and test-quality review No actionable findings; all 31 changed files reviewed
Targeted tests on H200 NVL 1,296 passed; no failures, errors or skips
Full CI #67707 UNSTABLE: 117,074 passed, 1 failed, 15,450 skipped
Same-head CI recovery #67823 Running; exact head confirmed, 53 successful stages reused from #67707

The CI failure was TestNanoV3Omni::test_auto_dtype[fp8] in DGX_H100-PyTorch-4. Its MPI worker aborted in PyTorch shared-memory cleanup with could not unlink the shared memory file. The same error appears in other PRs; the captured failure has no hint-related code fingerprint. No product code or test waiver was added.

In #67707, the x86 multi-GPU dispatch was blocked by the incomplete single-GPU stage. The approval label was accepted, and SBSA multi-GPU passed. Recovery #67823 started at 2026-11-03 04:52 UTC after this single rerun request. It must complete the H100 stage and the previously blocked x86 multi-GPU coverage before CI can be reported as passing.

Current-head targeted test commands and complete results

1,296 tests passed in 173.20 seconds, with no failures, errors or skips, on one H200 NVL. The run used normal TensorRT-LLM imports, native bindings and repository pytest plugins, including pytest-threadleak.

Target Passed Failed / errors / skipped
tests/unittest/llmapi/test_kv_hints.py 187 0 / 0 / 0
tests/unittest/disaggregated/test_kv_hint_selection.py 10 0 / 0 / 0
tests/unittest/api_stability/ 64 0 / 0 / 0
tests/unittest/_torch/visual_gen/test_attention_importable.py 8 0 / 0 / 0
tests/unittest/llmapi/test_trtllm_serve_config_schemas.py 143 0 / 0 / 0
tests/unittest/others/test_maintain_prims_ts.py 167 0 / 0 / 0
tests/unittest/others/test_vendor_bot.py 319 0 / 0 / 0
tests/unittest/scripts/test_bolt.py 24 0 / 0 / 0
tests/unittest/scripts/test_perf_agentx_aiperf_probe.py 9 0 / 0 / 0
tests/unittest/scripts/test_perf_agentx_client.py 13 0 / 0 / 0
tests/unittest/_torch/pyexecutor/test_request_utils.py 175 0 / 0 / 0
tests/unittest/executor/test_generation_request_array_prompt.py 6 0 / 0 / 0
tests/unittest/executor/test_proxy_request_sender.py 15 0 / 0 / 0
tests/unittest/disaggregated/test_disagg_openai_client.py 140 0 / 0 / 0
tests/unittest/llmapi/apps/test_openai_protocol_chat_agent_fields.py 16 0 / 0 / 0
python3 -m pytest -c tests/unittest/pytest.ini -v -ra \
  tests/unittest/llmapi/test_kv_hints.py \
  tests/unittest/disaggregated/test_kv_hint_selection.py \
  tests/unittest/api_stability/ \
  tests/unittest/_torch/visual_gen/test_attention_importable.py \
  tests/unittest/llmapi/test_trtllm_serve_config_schemas.py \
  tests/unittest/others/test_maintain_prims_ts.py \
  tests/unittest/others/test_vendor_bot.py \
  tests/unittest/scripts/test_bolt.py \
  tests/unittest/scripts/test_perf_agentx_aiperf_probe.py \
  tests/unittest/scripts/test_perf_agentx_client.py \
  tests/unittest/_torch/pyexecutor/test_request_utils.py \
  tests/unittest/executor/test_generation_request_array_prompt.py \
  tests/unittest/executor/test_proxy_request_sender.py \
  tests/unittest/disaggregated/test_disagg_openai_client.py \
  tests/unittest/llmapi/apps/test_openai_protocol_chat_agent_fields.py

All 2,372 package Python files and all 31 changed files matched the frozen source before and after execution. The native wheel came from PostMerge #3050, source b6bb149fac583ed231f807047d909e4d250bfede; its complete C++ tree and build/dependency inputs match the PR base. The runtime used PyTorch 26.09 and CUDA 13.4. This run reused compatible native artifacts; it did not rebuild native code or run model inference, GPU-kernel correctness tests, or actual multi-rank serving.

All required hooks passed for the published commit. Source review, git diff --check, and syntax checks of all 26 changed Python files passed. Targeted test results below were retained from the verified run at this head.

Previous-head verification and CI

At 4a38ad70b0409159f0d1bf9b92a4c472795ff01b, 196 distinct targeted tests passed on one H200 NVL. Three additional 48-case HTTP ingress runs brought the total to 340 successful executions, with no failures, errors or skips. Normal package imports, native bindings and repository pytest plugins were enabled. This evidence is historical and does not validate the rebased revision.

The previous-head CI result is green. Run #67288 executed the broad build and test matrix. Run #67406 reused its successful results and reran the failed B200 MoE wrapper on the same SHA; both inner tests passed. No failure waiver cleared that test. Run #67406 was a recovery run, not a fresh execution of the complete matrix.

Earlier verification on prior revisions

At 1389ebfd6d65d4538c90f85a74b8e22d5cc15351, 1,031 tests passed, with no failures, errors or skips, in 248.28 seconds on one H200. This broader run used normal TensorRT-LLM imports, native bindings and repository pytest plugins, without import stubs or a marker filter. It included the child-request hint inheritance regression test.

python3 -m pytest -c tests/unittest/pytest.ini -v -ra \
  tests/unittest/llmapi/test_kv_hints.py \
  tests/unittest/disaggregated/test_kv_hint_selection.py \
  tests/unittest/api_stability/ \
  tests/unittest/_torch/visual_gen/test_attention_importable.py \
  tests/unittest/llmapi/test_trtllm_serve_config_schemas.py \
  tests/unittest/others/test_maintain_prims_ts.py \
  tests/unittest/others/test_vendor_bot.py \
  tests/unittest/scripts/test_bolt.py \
  tests/unittest/scripts/test_perf_agentx_aiperf_probe.py \
  tests/unittest/scripts/test_perf_agentx_client.py \
  tests/unittest/_torch/executor/test_request_utils.py \
  tests/unittest/executor/test_generation_request_array_prompt.py

All 2,138 tracked package Python files matched that source snapshot before and after the run. That earlier run used compatible native artifacts from CI #67130. Full-diff self-review before and after that rebase, diff checks and required hooks passed for that revision.

CI build 66524 at 9f2fad264b50a70519764a8d2d4dc4cb0e0848a2 recorded 88,975 passed, 0 failed and 12,577 skipped. It was marked unstable because both multi-GPU dispatches were blocked by the missing approval label.

Other earlier evidence: 10 candidate tests passed at efeb4088; 157 selected tests passed at 9f2fad2; nine timeout/recovery tests passed at ee1790eb; and 694 selected tests passed on B300 at ee8242a, including the earlier subprocess-timeout and Blackwell numerical cases. No numerical threshold was changed.

Request-broadcast measurements (before rebase)

These tables are historical evidence for efeb4088ae5bf64f7472fcdac0c863ec05b7a00b. They have not been rerun on the current head. These measurements exclude admission, including the new JSON and MessagePack checks. The rebase adopted upstream request-field collection and child-request construction changes; it retained full-envelope transport.

A standalone benchmark exercised the real RequestBroadcaster with native requests and MPIDist on one AMD EPYC 7313P node with two H800 NVL GPUs. The tested source was 9f2fad264b50a70519764a8d2d4dc4cb0e0848a2 plus candidate-helper, test, and documentation changes now committed as efeb4088ae5bf64f7472fcdac0c863ec05b7a00b (patch SHA256 229e3c0157c9289471dc5f19e5856c265c31683d91cf71489ee5a2f1342ed32b). The measured broadcast code matches that pre-rebase revision. A compatible prebuilt native wheel was used; this was not a full native rebuild.

For TP2, batch size 1, and 256-token requests, each trial offered 10,000 requests/s for 5 seconds. Values below are medians across three trials.

Hint envelope Root broadcast-call p50 Completed requests/s
None 52 µs 10,000
1 KiB 61 µs 10,000
64 KiB 97 µs 9,985

The 64 KiB case completed 9,631–10,000 requests/s across trials and accumulated backlog in some trials. Its worst trial had 189 ms p99 lateness against the synthetic arrival schedule. At batch size 32 and the same offered rate, all sizes completed approximately 10,000 requests/s. In separate saturated TP2 trials with batch size 32 (200 broadcasts per trial, three trials), component throughput fell from 78,514 requests/s without hints to 29,554 with 64 KiB (62.4% lower).

The wider matrix also covered synchronous PP2, long prompts, and batches that crossed the MPI chunk boundary. All seven runs completed, and cross-rank payload checks passed. Prebuilt requests isolate metadata collection, serialization, communication, and receiver deserialization. These results exclude admission, model execution, provider access, and serving TTFT; they do not qualify TorchDist/NCCL or multiple nodes. Large hints with short inputs are transport stress cases, not verified reuse workloads.

Full-envelope broadcast remains unchanged. The measured cost is material at the maximum envelope size. Selecting on rank 0 remains a possible optimization that needs a defined selection owner and a common decision for all ranks. The benchmark is outside the PR diff; these measurements do not establish production performance acceptance.

Complete aggregate results — all 57 measured configurations

The tables contain every non-smoke configuration from the six measurement runs. Each configuration has three trials; 57 × 3 trials plus six smoke checks give 177 cases per rank, or 354 rank-trials across two ranks. All runs completed, with no missing cases or cross-rank payload mismatches.

  • Values are medians across three trials. The p50 and p99 columns each report the median of that per-trial percentile.
  • Hint size 0 is the same-source no-hint baseline. Throughput changes compare the same topology, input length, batch size, and arrival rate.
  • Root call duration includes metadata collection and serialization. Completed throughput includes a final barrier that waits for both ranks.
  • Root CPU is process CPU time per request over the timed loop, before the final drain barrier. Root lag is lateness against the synthetic arrival schedule; it is not serving queue delay.
  • Serialized batch size is the pickle payload size, not measured network wire bytes. The 64 KiB, batch-128 case crosses the 4 MiB MPI chunk threshold.
  • Initial singleton trials at 10,000 offered requests/s have short windows: approximately 20 ms for TP2 and 10 ms for PP2. Use the added five-second TP2 trials for the longer high-rate comparison.
  • The first batch is submitted at time zero. Finite trials can therefore report completed rates slightly above the offered rate; this does not establish extra capacity.

Smoke check

Passed six smoke cases per rank. These checks validate execution and payloads; their timings are not performance results.

TP2, 256-token requests — initial trials (200 broadcasts per trial)

Batch Offered req/s Hint KiB Serialized batch KiB Root p50/p99 µs Completed req/s (Δ) Root CPU µs/req Root lag p99 ms
1 saturated 0 1.5 53.8/68.0 18196.5 (+0.0%) 54.87 —
1 saturated 1 2.6 63.3/75.1 15514.0 (-14.7%) 64.36 —
1 saturated 64 65.6 93.8/108.0 10499.7 (-42.3%) 95.11 —
1 1000.0 0 1.5 48.1/55.8 1004.4 (+0.0%) 56.48 0.058
1 1000.0 1 2.6 53.0/62.0 1004.3 (-0.0%) 60.93 0.058
1 1000.0 64 65.6 75.6/84.0 1004.2 (-0.0%) 84.07 0.057
1 10000.0 0 1.5 54.0/71.4 10005.7 (+0.0%) 57.10 0.057
1 10000.0 1 2.6 60.6/76.5 9985.8 (-0.2%) 62.75 0.057
1 10000.0 64 65.6 95.2/113.5 9954.1 (-0.5%) 98.46 0.098
32 saturated 0 36.7 406.9/420.4 78513.9 (+0.0%) 12.73 —
32 saturated 1 69.4 518.7/540.5 61378.2 (-21.8%) 16.27 —
32 saturated 64 2085.6 1080.7/1136.9 29554.4 (-62.4%) 33.82 —
32 1000.0 0 36.7 479.2/734.1 1004.9 (+0.0%) 18.67 0.096
32 1000.0 1 69.4 480.9/505.4 1004.9 (-0.0%) 15.85 0.080
32 1000.0 64 2085.6 1446.4/1499.4 1004.7 (-0.0%) 43.77 0.097
32 10000.0 0 36.7 594.1/623.4 10037.9 (+0.0%) 17.51 0.068
32 10000.0 1 69.4 534.4/566.1 10038.2 (+0.0%) 16.72 0.065
32 10000.0 64 2085.6 1053.1/1205.2 10028.4 (-0.1%) 33.09 0.068

Synchronous PP2, 256-token requests (100 broadcasts per trial)

Batch Offered req/s Hint KiB Serialized batch KiB Root p50/p99 µs Completed req/s (Δ) Root CPU µs/req Root lag p99 ms
1 saturated 0 1.5 48.1/58.1 20297.1 (+0.0%) 49.12 —
1 saturated 1 2.6 53.4/62.2 18301.5 (-9.8%) 54.40 —
1 saturated 64 65.6 67.8/77.4 14449.9 (-28.8%) 69.03 —
1 1000.0 0 1.5 59.1/64.0 1008.6 (+0.0%) 67.18 0.058
1 1000.0 1 2.6 63.8/69.3 1008.6 (-0.0%) 72.09 0.058
1 1000.0 64 65.6 77.3/83.3 1008.4 (-0.0%) 85.20 0.058
1 10000.0 0 1.5 57.0/64.9 9961.3 (+0.0%) 59.87 0.058
1 10000.0 1 2.6 61.1/66.0 9953.5 (-0.1%) 63.80 0.057
1 10000.0 64 65.6 70.9/81.6 9937.5 (-0.2%) 76.19 0.057
32 saturated 0 36.7 288.0/298.3 109980.6 (+0.0%) 9.05 —
32 saturated 1 69.4 347.5/355.6 91233.9 (-17.0%) 10.91 —
32 saturated 64 2085.6 966.2/995.1 33062.3 (-69.9%) 30.18 —
32 1000.0 0 36.7 432.8/612.6 1009.9 (+0.0%) 14.20 0.094
32 1000.0 1 69.4 506.6/788.9 1009.9 (-0.0%) 17.48 0.096
32 1000.0 64 2085.6 1125.9/1421.0 1009.7 (-0.0%) 36.95 0.093
32 10000.0 0 36.7 364.8/563.7 10083.4 (+0.0%) 12.12 0.067
32 10000.0 1 69.4 551.2/574.0 10081.7 (-0.0%) 16.95 0.068
32 10000.0 64 2085.6 1058.9/1208.4 10057.6 (-0.3%) 33.85 0.065

TP2, 131,072-token requests (100 broadcasts per trial)

Batch Offered req/s Hint KiB Serialized batch KiB Root p50/p99 µs Completed req/s (Δ) Root CPU µs/req Root lag p99 ms
1 saturated 0 512.5 386.7/499.5 2506.9 (+0.0%) 398.13 —
1 saturated 1 513.6 460.5/572.4 2149.4 (-14.3%) 464.15 —
1 saturated 64 576.6 467.1/556.5 2198.0 (-12.3%) 453.99 —
1 1000.0 0 512.5 247.8/268.0 1005.7 (+0.0%) 257.93 0.058
1 1000.0 1 513.6 214.4/227.4 1006.0 (+0.0%) 222.68 0.058
1 1000.0 64 576.6 233.8/242.2 1005.7 (-0.0%) 242.25 0.058
32 saturated 0 16388.9 18061.2/21056.6 1801.2 (+0.0%) 553.72 —
32 saturated 1 16421.6 18170.9/21179.4 1777.5 (-1.3%) 561.90 —
32 saturated 64 18437.9 19930.2/23110.0 1627.2 (-9.7%) 613.90 —
32 1000.0 0 16388.9 13751.1/15242.0 1004.8 (+0.0%) 433.14 0.065
32 1000.0 1 16421.6 13901.1/15231.4 1004.3 (-0.1%) 436.47 0.065
32 1000.0 64 18437.9 15345.1/16751.9 1002.7 (-0.2%) 479.61 0.065

TP2, batch 128 — MPI chunk stress (100 broadcasts per trial)

Batch Offered req/s Hint KiB Serialized batch KiB Root p50/p99 µs Completed req/s (Δ) Root CPU µs/req Root lag p99 ms
128 saturated 0 145.6 1529.8/1600.5 83589.9 (+0.0%) 11.93 —
128 saturated 1 276.3 1993.3/2054.9 64072.9 (-23.3%) 15.55 —
128 saturated 64 8341.4 7906.4/8706.2 16193.7 (-80.6%) 61.74 —

TP2, batch 1 — five-second arrival windows (50,000 broadcasts per trial)

Batch Offered req/s Hint KiB Serialized batch KiB Root p50/p99 µs Completed req/s (Δ) Root CPU µs/req Root lag p99 ms
1 10000.0 0 1.5 52.1/65.0 10000.0 (+0.0%) 55.19 0.057
1 10000.0 1 2.6 61.3/70.3 10000.0 (-0.0%) 62.16 0.057
1 10000.0 64 65.6 96.8/111.7 9985.0 (-0.2%) 98.35 7.430

TP2, batch 32 — 6.4-second arrival windows (2,000 broadcasts per trial)

Batch Offered req/s Hint KiB Serialized batch KiB Root p50/p99 µs Completed req/s (Δ) Root CPU µs/req Root lag p99 ms
32 10000.0 0 36.7 369.6/468.1 10004.1 (+0.0%) 12.08 0.065
32 10000.0 1 69.4 442.4/556.0 10003.9 (-0.0%) 14.34 0.062
32 10000.0 64 2085.6 1073.4/1182.3 10002.9 (-0.0%) 33.76 0.062

Notes

Related to #18151 and #18153. One signed implementation commit is based on main at cbef70dbc9879798b4106c694928d59976cf0ac1, with no dependency on backend or lender integration PRs.

  • Contribution checklist reviewed: scoped tests and documentation included, additive APIs labeled api-compatible, and no new dependencies or LLM configuration fields.

@chienchunhung chienchunhung added the api-compatible Accepted LLM API contract change that is backwards-compatible label Oct 14, 2026
@chienchunhung

Copy link
Copy Markdown
Collaborator Author

/bot run

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #77705 [ run ] triggered by Bot. Commit: b549b2d Link to invocation

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #77705 [ run ] completed with state SUCCESS. Commit: b549b2d
/LLM/main/L0_MergeRequest_PR pipeline #64055 completed with status: 'FAILURE'

CI Report

⚠️ Action Required:

  • Please check the failed tests and fix your PR
  • If you cannot view the failures, ask the CI triggerer to share details
  • Once fixed, request an NVIDIA team member to trigger CI again

CI Agent Failure Analysis

Link to invocation

@chienchunhung

Copy link
Copy Markdown
Collaborator Author

/bot run --disable-fail-fast

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #77927 [ run ] triggered by Bot. Commit: b549b2d Link to invocation

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #77927 [ run ] completed with state FAILURE. Commit: b549b2d
/LLM/main/L0_MergeRequest_PR pipeline #64238 completed with status: 'UNSTABLE'

CI Report

⚠️ Multi-GPU Label Required:
Multi-GPU tests require the ci: full pre-merge approved label on this PR. Either:

  • Wait for the PR to be fully approved — the label is added automatically once approval is complete. Having unresolved open comments is fine, or
  • If needed, ask a member of NVIDIA/trt-llm-ci-approvers to add the label manually.
    Then re-trigger CI with the same bot command (no rebase needed).

⚠️ Action Required:

  • Please check the failed tests and fix your PR
  • If you cannot view the failures, ask the CI triggerer to share details
  • Once fixed, request an NVIDIA team member to trigger CI again

Link to invocation

Comment thread tensorrt_llm/serve/openai_protocol.py Resolved
Comment thread docs/source/features/kv-hints.md Resolved
Comment thread tensorrt_llm/llmapi/llm.py Resolved
Comment thread tensorrt_llm/kv_hints/protocol.py Resolved
@Shixiaowei02
Shixiaowei02 requested a review from bo-nv October 15, 2026 08:54
Comment thread tensorrt_llm/kv_hints/protocol.py Resolved
Comment thread docs/source/features/kv-hints.md Resolved
Comment thread docs/source/features/kv-hints.md Resolved
Comment thread tensorrt_llm/kv_hints/__init__.py Resolved
@chienchunhung
chienchunhung force-pushed the dev/ri-04-request-hints branch from b549b2d to 61ff6a9 Compare October 15, 2026 23:12
@chienchunhung chienchunhung changed the title [#18151][feat] Carry versioned KV hints through request admission (RI-04) [#18151][feat] Admit trusted KV hints and carry immutable request metadata (RI-04) Oct 15, 2026
@chienchunhung
chienchunhung force-pushed the dev/ri-04-request-hints branch from 61ff6a9 to 8645ea4 Compare October 15, 2026 23:26

Copy link
Copy Markdown
Collaborator Author

/bot run --disable-fail-fast

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #78251 [ run ] triggered by Bot. Commit: 8645ea4 Link to invocation

@chienchunhung

Copy link
Copy Markdown
Collaborator Author

@Shixiaowei02 Thanks for the review. I addressed all of your comments as part of the design update.

  • Servers now ignore and count untrusted hints by default. Unknown versions and hints above 64 KiB are also ignored and counted. Invalid data in a supported version still fails validation.
  • The docs clarify content naming, batch message IDs and supported entry points. The hint types are also available from llmapi.
  • The docs now require endpoint authorization before any connection. The consumer integration must implement and test this check before activation. This PR only transports hints.

Please take a look; thanks!

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #78251 [ run ] completed with state FAILURE. Commit: 8645ea4
/LLM/main/L0_MergeRequest_PR pipeline #64498 completed with status: 'UNSTABLE'

CI Report

⚠️ Multi-GPU Label Required:
Multi-GPU tests require the ci: full pre-merge approved label on this PR. Either:

  • Wait for the PR to be fully approved — the label is added automatically once approval is complete. Having unresolved open comments is fine, or
  • If needed, ask a member of NVIDIA/trt-llm-ci-approvers to add the label manually.
    Then re-trigger CI with the same bot command (no rebase needed).

⚠️ Action Required:

  • Please check the failed tests and fix your PR
  • If you cannot view the failures, ask the CI triggerer to share details
  • Once fixed, request an NVIDIA team member to trigger CI again

Link to invocation

@chienchunhung
chienchunhung marked this pull request as ready for review October 16, 2026 18:54
@chienchunhung
chienchunhung requested review from a team as code owners October 16, 2026 18:54
@chienchunhung
chienchunhung force-pushed the dev/ri-04-request-hints branch from 1389ebf to 4a38ad7 Compare October 30, 2026 06:52

Copy link
Copy Markdown
Collaborator Author

/bot run

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #81617 [ run ] triggered by Bot. Commit: 4a38ad7 Link to invocation

@chienchunhung

Copy link
Copy Markdown
Collaborator Author

/bot run --disable-fail-fast

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #81622 [ run ] triggered by Bot. Commit: 4a38ad7 Link to invocation

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #81617 [ run ] completed with state ABORTED. Commit: 4a38ad7

Link to invocation

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #81622 [ run ] completed with state FAILURE. Commit: 4a38ad7
/LLM/main/L0_MergeRequest_PR pipeline #67288 completed with status: 'FAILURE'

CI Report

⚠️ Action Required:

  • Please check the failed tests and fix your PR
  • If you cannot view the failures, ask the CI triggerer to share details
  • Once fixed, request an NVIDIA team member to trigger CI again

CI Agent Failure Analysis

Link to invocation

@chienchunhung

Copy link
Copy Markdown
Collaborator Author

/bot run --disable-fail-fast

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #81749 [ run ] triggered by Bot. Commit: 4a38ad7 Link to invocation

@chang-l chang-l left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Approved from the VisualGen side.

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #81749 [ run ] completed with state SUCCESS. Commit: 4a38ad7
/LLM/main/L0_MergeRequest_PR pipeline #67406 completed with status: 'SUCCESS'

CI Report

Link to invocation

@chienchunhung
chienchunhung force-pushed the dev/ri-04-request-hints branch from 4a38ad7 to 760abef Compare November 2, 2026 20:09

Copy link
Copy Markdown
Collaborator Author

/bot run

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #82072 [ run ] triggered by Bot. Commit: 760abef Link to invocation

@juney-nvidia juney-nvidia left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Approved from API perspective

@JunyiXu-nv JunyiXu-nv left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Runtime/serve part LGTM.

@chienchunhung
chienchunhung enabled auto-merge (squash) November 3, 2026 02:47
@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #82072 [ run ] completed with state SUCCESS. Commit: 760abef
/LLM/main/L0_MergeRequest_PR pipeline #67707 completed with status: 'UNSTABLE'

CI Report

⚠️ Action Required:

  • Please check the failed tests and fix your PR
  • If you cannot view the failures, ask the CI triggerer to share details
  • Once fixed, request an NVIDIA team member to trigger CI again

Link to invocation

Copy link
Copy Markdown
Collaborator Author

/bot run

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #82196 [ run ] triggered by Bot. Commit: 760abef Link to invocation

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #82196 [ run ] completed with state SUCCESS. Commit: 760abef
/LLM/main/L0_MergeRequest_PR pipeline #67823 completed with status: 'SUCCESS'

CI Report

Link to invocation

@chienchunhung
chienchunhung merged commit a649e41 into NVIDIA:main Nov 3, 2026
JunyiXu-nv added a commit to JunyiXu-nv/TensorRT-LLM that referenced this pull request Nov 4, 2026
…on the current main

The disaggregated frontend now registers its routes with KvHintsRoute
(NVIDIA#20269), which strips kv_hints from request bodies unless the server
trusts its ingress. Regenerate the route reference: the six
disaggregated configurations record KvHintsRoute where they recorded
APIRoute; their route sets and order are unchanged.

The route-class invariant, which a regenerated reference cannot hide,
now requires KvHintsRoute on every API route of the disaggregated
frontend and APIRoute on the coordinator app. Dropping the KV-hint
policy from the frontend fails it even after a regeneration, and both
apps still reject the aggregated server's msgpack route class.

The object.__new__ baseline records the sites on main at the merge base:
test_kv_hints.py builds one server that way (NVIDIA#20269), and
test_harmony_parsing.py no longer builds any (NVIDIA#21176).

The harmony parsing tests are now registered as a whole file (NVIDIA#21411),
so the node-id entry that the CPU-selection test used as its example is
gone. The node-id check now runs select_entries on a one-entry list of
its own, so it no longer depends on which node-id entries l0_cpu.yml
holds.

Signed-off-by: JunyiXu-nv <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api-compatible Accepted LLM API contract change that is backwards-compatible ci: full pre-merge approved

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants