Fill CUDA Transpose operator opset gap (23 → 25)#27740
Merged
Conversation
Co-authored-by: tianleiwu <30328909+tianleiwu@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
tianleiwu
March 18, 2026 18:03
View session
Contributor
|
/azp run Windows GPU Doc Gen CI Pipeline |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Contributor
|
@copilot, please update docs/OperatorKernels.md, and merge latest main branch to this branch. |
…ose-cuda-operator
Co-authored-by: tianleiwu <30328909+tianleiwu@users.noreply.github.com>
Contributor
Author
Updated |
…ose-cuda-operator
Contributor
|
/azp run Linux QNN CI Pipeline, Win_TRT_Minimal_CUDA_Test_CI, Windows ARM64 QNN CI Pipeline, Windows GPU Doc Gen CI Pipeline |
|
Azure Pipelines successfully started running 4 pipeline(s). |
tianleiwu
approved these changes
Apr 2, 2026
titaiwangms
approved these changes
Apr 6, 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.
Description
Extends the CUDA Transpose kernel registration from opset 23 to opset 25.
transpose.cc: Cap existing opset 23 kernel to versioned(23, 24), add new non-versioned kernel at opset 25cuda_execution_provider.cc: Update forward declarations andBuildKernelCreateInfoentries to match; add new// Opset 25sectiondocs/OperatorKernels.md: Update CUDA Transpose entry from23+to25+with new[23, 24]versioned rangeNo functional or type constraint changes — the kernel implementation is identical across these opsets.
Motivation and Context
CUDA EP's Transpose registration stopped at opset 23 while the ONNX spec defines it through opset 25. This is one of the P1 gaps tracked in #27729, following the same pattern as #27728.
Limitation
This PR does not add support of new data type for Transpose: