Repository navigation
test(cuda): pin dynamic-output capture refusal - #2180
Merged
Merged
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: d60eb808-7cc6-4abc-b48d-2a6dd3841624
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2180 +/- ##
==========================================
+ Coverage 80.60% 81.03% +0.43%
==========================================
Files 432 432
Lines 218383 218383
Branches 218383 218383
==========================================
+ Hits 176027 176975 +948
+ Misses 36511 35563 -948
Partials 5845 5845
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
This was referenced Aug 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
begin_graph_capturerefusal and prove it occurs before either kernel phase executesReproduction
On
origin/main, the exact contract command ran 2 tests: 1 passed andunconditional_syncs_are_limited_to_capture_unsupported_pathsfailed becauseunique.rs::materializeandnon_max_suppression.rs::materializewere unreviewed.Validation
cargo test --locked -p onnx-runtime-ep-cuda --features cuda --test capture_sync_contract(3 passed)cargo test --locked -p onnx-runtime-ep-cuda --features cuda --lib capture::tests(3 passed)cargo test --locked -p onnx-runtime-ep-cuda --features cuda --lib kernels::unique::tests::(2 passed, 2 CUDA tests ignored as expected)nms_gputarget, including default DeviceWorkspace path and capture refusal (9 passed)cargo clippy -p onnx-runtime-ep-cuda --all-targets --features cuda,gpu-tests -- -D warningscargo fmt -p onnx-runtime-ep-cuda --checkMutation evidence
CaptureSupport::Supportedfails the new guard on the missing explicit refusal8-byte count D2H synchronizationcontractDFT and MultiHeadAttention entries are unchanged and remain covered by the existing allowlist equality check.