Cherry pick into 1.20.1#7560
Merged
justinchuby merged 5 commits intorel-1.20.1from Jan 8, 2026
Merged
Conversation
Member
justinchuby
commented
Jan 8, 2026
- Export functions #7505
- Revert ONNX CMake changes #7515
- Export functions used in PyTorch #7524
- Export protobuf symbols #7525
This PR exports more functions about schema registration needed when static schema registration is disabled. Signed-off-by: cyy <cyyever@outlook.com> Signed-off-by: Justin Chu <justinchuby@users.noreply.github.com>
### Motivation and Context It turns out that the CMake object libraries have portability issues on some platforms. Fixes #7514 --------- Signed-off-by: Yuanyuan Chen <cyyever@outlook.com> Signed-off-by: cyy <cyyever@outlook.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
### Motivation and Context This PR exports more symbols which are used by PyTorch and other libraries. Specifically, header symbols are no longer hidden to export Protobuf symbols by removing ``` set_target_properties(onnx PROPERTIES VISIBILITY_INLINES_HIDDEN ON) ``` This PR fixes #7377 Signed-off-by: Yuanyuan Chen <cyyever@outlook.com>
### Motivation and Context This PR exports protobuf symbols to fix PyTorch build. Signed-off-by: cyy <cyyever@outlook.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## rel-1.20.1 #7560 +/- ##
=============================================
Coverage ? 55.12%
=============================================
Files ? 512
Lines ? 32107
Branches ? 2885
=============================================
Hits ? 17700
Misses ? 13618
Partials ? 789 ☔ View full report in Codecov by Sentry. |
andife
approved these changes
Jan 8, 2026
titaiwangms
approved these changes
Jan 8, 2026
gramalingam
approved these changes
Jan 8, 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.