Trace single op.SplitToSequence#2817
Merged
titaiwangms merged 1 commit intoFeb 19, 2026
Merged
Conversation
Collaborator
|
I am curious what motivated this. What does this change? Is there a unit test, if this is fixing a bug? |
justinchuby
approved these changes
Feb 19, 2026
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2817 +/- ##
==========================================
+ Coverage 70.40% 70.42% +0.01%
==========================================
Files 228 228
Lines 27140 27140
Branches 2727 2727
==========================================
+ Hits 19108 19113 +5
+ Misses 7096 7091 -5
Partials 936 936 ☔ View full report in Codecov by Sentry. |
xadupre
approved these changes
Feb 19, 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.
This pull request updates several operator registrations in
onnxscript/function_libs/torch_lib/ops/core.pyto mark them astrace_only, which affects how these ops are handled during tracing and export. The most important changes are:Operator registration updates (trace-only):
aten::splitandaten::split.Tensoroperators astrace_onlyin theaten_splitfunction registration.aten::split_with_sizesoperator astrace_onlyin theaten_split_with_sizesfunction registration.aten::unsafe_split.Tensoroperator astrace_onlyin theaten_unsafe_splitfunction registration.