Repository navigation
[None][fix] Cherry-pick optional native RankInfo authentication - #21486
Conversation
|
/bot help |
GitHub Bot Help
Provide a user friendly way for developers to interact with a Jenkins server. Run See details below for each supported subcommand. Details
Launch build/test pipelines. All previously running jobs will be killed.
kill
Kill all running builds associated with pull request. skip
Skip testing for latest commit on pull request. reuse-pipeline
Reuse a previous pipeline to validate current commit. This action will also kill all currently running builds associated with the pull request. IMPORTANT NOTE: This is dangerous since lack of user care and validation can cause top of tree to break. |
|
/bot run |
|
PR_Github #82125 [ run ] triggered by Bot. Commit: |
JunyiXu-nv
left a comment
There was a problem hiding this comment.
Runtime part reads correct to me: opt-in, single-use HMAC challenge with compare_digest, bounded exchange, and admission agreed across ranks before publication. But test_rank_info_auth.py cannot import on main: NATIVE_TRANSFER_PROTOCOL_VERSION came from release/1.3-only #20723. So none of the new auth or admission tests have run here, including the new idle-poll interaction. Please drop that import and kwarg, then run the file.
|
PR_Github #82125 [ run ] completed with state
|
|
Waiting for #21538 to merge first. |
ac371f0 to
0109a87
Compare
|
/bot run |
|
PR_Github #84083 [ run ] triggered by Bot. Commit: |
|
PR_Github #84083 [ run ] completed with state |
|
/bot run |
|
PR_Github #84158 [ run ] triggered by Bot. Commit: |
|
PR_Github #84158 [ run ] completed with state
|
|
/bot run |
…tion (NVIDIA#20796) Signed-off-by: Yibin Li <[email protected]> (cherry picked from commit 219677e) Signed-off-by: Yibin Li <[email protected]>
Signed-off-by: Yibin Li <[email protected]>
Signed-off-by: Yibin Li <[email protected]>
Signed-off-by: Yibin Li <[email protected]>
Signed-off-by: Yibin-Li <[email protected]>
Signed-off-by: berryz <[email protected]>
e1dfffd to
8eb8cb2
Compare
|
/bot run |
|
PR_Github #84352 [ run ] triggered by Bot. Commit: |
|
PR_Github #84352 [ run ] completed with state
|
|
/bot run |
|
PR_Github #84378 [ run ] triggered by Bot. Commit: |
|
PR_Github #84378 [ run ] completed with state |
Signed-off-by: berryz <[email protected]>
|
/bot run |
|
PR_Github #84629 [ run ] triggered by Bot. Commit: |
|
PR_Github #84629 [ run ] completed with state Resource maintenance in LLM/main/L0_Test-x86_64-Single-GPU #10918: nsc-svg-slurm-1 compute outage with no backup route, 2026-11-13 00:00-07:00 Beijing time. H100_PCIe-PyTorch-Perf-1 was retired from main; skip the legacy stage in older PR revisions. |
Summary
Cherry-pick #20796 from
release/1.3tomain, commit219677efe6781700bd8c6f80f22cf8db1e934ffc.internal_request_auth_key, with bounded, expiring, single-use challenges.Authentication remains opt-in; peers without a configured key retain the existing unauthenticated behavior with a warning. This does not authenticate the callback endpoint or provide general denial-of-service protection.
Validation
git diff --checkSKIP=type-check,clang-format,ruff-legacy pre-commit runon the staged changes.Dev Engineer Review
internal_request_auth_keythrough HTTP and gRPC serving configuration. The key remains private to the transceiver config and is excluded from model serialization.QA Engineer Review
tests/unittest/disaggregated/test_rank_info_auth.py. Modifiestests/unittest/disaggregated/test_chunked_transfer.py,tests/unittest/disaggregated/test_transceiver_bounded_polling.py,tests/unittest/llmapi/test_disagg_telemetry_launcher.py, andtests/unittest/llmapi/test_llm_args.py.tests/integration/test_lists/test-db/l0_cpu.yml. It lists the new authentication test file and two launcher-test selectors. No manual-QA list was changed.Per-File QA Perspective
examples/disaggregated/README.md— Verify the documented timeout, challenge limits, and mixed-key compatibility behavior against deployment behavior.tensorrt_llm/_torch/disaggregation/native/messenger.py— Verify timed receives raiseTimeoutErrorand permit a subsequent receive.tensorrt_llm/_torch/disaggregation/native/transfer.py— Verify authentication, expiry, cache-full, timeout, and request-local failure behavior. Check callers against the changed receive and constructor APIs.tensorrt_llm/_torch/disaggregation/transceiver.py— Verify keyed synchronous and asynchronous admissions reach rank agreement before buffer publication, including cancellation and shutdown.tensorrt_llm/commands/serve.py— Verify HTTP and gRPC launch paths pass the key to the transceiver when configured, and preserve behavior when no transceiver config is present.tensorrt_llm/llmapi/llm_args.py— Verify the private key defaults toNoneand remains excluded from model serialization.tensorrt_llm/llmapi/llm_utils.py— Verify model-default merging preserves the transceiver config and its private key.tests/integration/test_lists/test-db/l0_cpu.yml— Adds the authentication test file and two launcher-test selectors to the CPU CI list.tests/unittest/disaggregated/test_chunked_transfer.py— Updates a transceiver fixture with pending-admission state. No selector for this file was added in the changed list entries.tests/unittest/disaggregated/test_rank_info_auth.py— Adds CPU tests for authentication, challenge limits and expiry, timeouts, failures, cancellation, and multi-rank admission. The file is listed intest-db/l0_cpu.yml.tests/unittest/disaggregated/test_transceiver_bounded_polling.py— Updates a fixture with the private-key setting. No selector for this file was added in the changed list entries.tests/unittest/llmapi/test_disagg_telemetry_launcher.py— Adds tests for private config handling and gRPC key propagation across protocols and config cases. Both new selectors are listed intest-db/l0_cpu.yml.tests/unittest/llmapi/test_llm_args.py— Adds a regression test for preserving the private key through model-default handling and serialization. No selector for this file was added in the changed list entries.