Repository navigation
[None][test] Guard C++ KV bounce stream independence - #21235
Conversation
Signed-off-by: Ruodi Lu <[email protected]>
Merge current main and exercise real C++ gather, NIXL transfer, scatter and terminal settlement while unrelated legacy-default-stream work remains pending. Remove the obsolete Python transport test and its CI entries; the C++ target runs in the existing H100 executor_bounce group. Signed-off-by: Ruodi Lu <[email protected]>
|
Migrated the obsolete Python bounce test to the current C++ NIXL bounce transport after the Python implementation was removed. The two cases check aligned/unaligned gather, scatter, terminal settlement and independent readback while unrelated legacy-default-stream work remains pending. Existing H100 |
|
/bot run |
|
PR_Github #82934 [ run ] triggered by Bot. Commit: |
|
PR_Github #82934 [ run ] completed with state
|
…round Signed-off-by: Ruodi Lu <[email protected]>
|
Current head: Both bounce/CMake PR files are unchanged by the merge. The preceding pipeline reported the H100 wrapper passed but failed on the same external MBART dependency issue as #19122. Draft is retained pending confirmed per-case GPU results. |
|
/bot run |
|
PR_Github #83318 [ run ] triggered by Bot. Commit: |
|
PR_Github #83318 [ run ] completed with state
|
Signed-off-by: Ruodi Lu <[email protected]>
|
Updated to |
|
/bot run |
|
PR_Github #83595 [ run ] triggered by Bot. Commit: |
|
PR_Github #83595 [ run ] completed with state
|
|
CI follow-up: current-head L0 #69109 failed outside this PR's changed files. The failure analysis identifies B200 |
|
/bot run |
|
PR_Github #83939 [ run ] triggered by Bot. Commit: |
|
PR_Github #83939 [ run ] completed with state
|
Signed-off-by: Ruodi Lu <[email protected]>
|
Updated to |
|
/bot run |
|
Both new H100 bounce cases now have verified non-skipped execution at the unchanged PR test sources (raw #69109 CTest log linked above). This satisfies the original Draft runtime-evidence condition, so I have marked the PR ready for Code Owner review while the new-head standard CI run proceeds. No required review or CI check is bypassed. |
|
No actionable comments were generated in the recent review. WalkthroughThe bounce transport test adds a legacy-stream gate and checks that parameterized transfers complete with byte-exact payloads while unrelated work remains pending. The test links against ChangesBounce transport test
Estimated code review effort: 3 (Moderate) | ~20 minutes Change: Other Possibly related PRs
Merge Risk:
|
|
PR_Github #84301 [ run ] triggered by Bot. Commit: |
|
CI follow-up (2026-11-13): the pending check is bot #84301 waiting on L0 #69710 at |
|
/bot run |
|
PR_Github #84606 [ run ] triggered by Bot. Commit: |
|
PR_Github #84301 [ run ] completed with state |
|
PR_Github #84606 [ run ] completed with state |
Description
Guard disaggregated C++ KV bounce gather/scatter and terminal transfer completion while unrelated legacy-default-stream work remains pending. The regression uses real NIXL transport and checks aligned and unaligned payloads byte for byte through an independent nonblocking readback stream.
All allocations, transfer setup and warmup occur before a bounded legacy-stream gate. The test requires successful transfer settlement and verifies unrelated legacy work remains pending after settlement and readback. RAII releases the gate before transport teardown, including on assertion failures; watchdog release fails the test.
Migrates the original stream-independence coverage to the C++ agent bounce implementation selected by kv_cache_bounce_size_mb after removal of the Python bounce transport. No production code changes.
Validation
cpp/test_unit_tests.py::test_unit_tests[executor_bounce-90]runs this target inH100_PCIe-CPP-1.Current CI status (2026-11-12)
Current head:
7e5357e09a2a, merging upstreammainat762a8dc2a2e2. The previous-head L0 #69429 failure is now attributed: six idle-cancellation fixture cases and their suite wrapper fail on each CPU architecture because staleSimpleNamespacefixtures lackguided_failures. This merge includes upstream #21994 (0c6ac5f6060c), which usesBatchState/SampleStateTorchand initializes the guided-decoder field. The failure is an upstream test-fixture defect, not an unproven infrastructure issue. Both PR-specific files are byte-for-byte unchanged. Selected-file pre-commit, whitespace and independent merge review passed. No PR-specific waiver or dependency pin was added. Raw H100 CTest stdout from L0 #69109 proves both newRoundTripSettlesWhileUnrelatedLegacyWorkIsPendingcases/32and/19passed without skips in 1.55 s and 1.53 s at parent head5cd905425dc5. These PR test files are unchanged by this merge. The later #69429 H100 stage was skipped and is not additional execution evidence. Both new H100 cases have the required non-skipped runtime evidence. The previously requested new-head CI has now completed successfully; Code Owner review remains required.PR Checklist
Verified merge status (2026-11-17)
Unchanged head
7e5357e09a2apassed L0 #69994 and has a successfulblossom-ciresult. GitHub reports no merge conflict or unresolved threads; the existing Code Owner review requests remain the merge gate. No additional CI retry is needed for this passing head.Dev Engineer Review
bounceTransportTestnow links directly toCUDA::cuda_driver. Confirm that the CMake target needs this direct link and does not depend on a transitive dependency.LegacyDefaultGateholds the legacy CUDA stream with a device-side wait. A failure path that skips release would block the stream. Check that RAII release runs before transport teardown on every exit path.kv_cache_bounce_size_mb. Confirm that no Python-side bounce coverage is still needed.QA Engineer Review
Test files changed:
cpp/tests/unit_tests/executor/bounce/bounceTransportTest.cpp(added, +170 lines)cpp/tests/unit_tests/executor/bounce/CMakeLists.txt(modified, +1 line)Test functions and IDs:
RoundTripSettlesWhileUnrelatedLegacyWorkIsPending, with cases/32and/19(descriptor sizes in bytes).test_unit_tests[executor_bounce-90]reports both cases as passed without skips. That log refers to test-source head5cd905425dc5.tests/integration/test_lists/test-db/is not established from the changed files.Behavior covered:
Coverage verdict: needs follow-up. Passing H100 evidence exists for the test-source head. CI status corrected on 2026-11-20: complete CI for unchanged current head
7e5357e09a2apassed L0 #69994 and its requiredblossom-cicheck. The earlier per-case H100 evidence remains as described above; this status update does not add a new per-case runtime claim. No local GPU runtime pass is claimed.Per-file QA perspective:
bounceTransportTest.cpp: Covers the C++ bounce round trip with legacy-stream ordering. Confirm the two cases pass on the current head.CMakeLists.txt: Adds theCUDA::cuda_driverlink to the bounce test target. Confirm that the target still builds in CUDA-enabled configurations.