-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Split-20 - change uneven split behavior to be more torch-like #5321
Draft
p-wysocki
wants to merge
16
commits into
onnx:main
Choose a base branch
from
p-wysocki:split20
base: main
Could not load branches
Branch not found: {{ refName }}
Could not load tags
Nothing to show
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from 9 commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
6db44ff
Add Split20
p-wysocki 9c6938f
Minor change
p-wysocki 2aa2fd1
Merge remote-tracking branch 'upstream/main' into split20
p-wysocki 3b8cfca
Rename mode to minimize_diff
p-wysocki aab6d3f
attempt to fix build
p-wysocki b0010da
Merge remote-tracking branch 'upstream/main' into split20
p-wysocki a911415
some CR changes
p-wysocki 4a0ab8e
Update docs
p-wysocki 7c50c89
hopefully fix build on CI
p-wysocki 2587995
CI:apply auto updated documentation/backend test data
p-wysocki 6d57f33
Merge remote-tracking branch 'upstream/main' into split20
p-wysocki c5c6a75
Try to fix compilation on CI
p-wysocki a39060b
cast vector size to int64
p-wysocki 9a4b19e
Change attribute to req, add tests
p-wysocki 9af3089
remove whitespaces
p-wysocki aed30e7
CI:apply auto updated documentation/backend test data
p-wysocki File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains 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
Binary file added
BIN
+254 Bytes
onnx/backend/test/data/node/test_split_1d_uneven_split_opset20/model.onnx
Binary file not shown.
Binary file added
BIN
+41 Bytes
onnx/backend/test/data/node/test_split_1d_uneven_split_opset20/test_data_set_0/input_0.pb
Binary file not shown.
Binary file added
BIN
+24 Bytes
onnx/backend/test/data/node/test_split_1d_uneven_split_opset20/test_data_set_0/output_0.pb
Binary file not shown.
Binary file added
BIN
+24 Bytes
onnx/backend/test/data/node/test_split_1d_uneven_split_opset20/test_data_set_0/output_1.pb
Binary file not shown.
Binary file added
BIN
+24 Bytes
onnx/backend/test/data/node/test_split_1d_uneven_split_opset20/test_data_set_0/output_2.pb
Binary file not shown.
Binary file added
BIN
+20 Bytes
onnx/backend/test/data/node/test_split_1d_uneven_split_opset20/test_data_set_0/output_3.pb
Binary file not shown.
Binary file added
BIN
+251 Bytes
onnx/backend/test/data/node/test_split_2d_uneven_split_2_opset20/model.onnx
Binary file not shown.
Binary file added
BIN
+71 Bytes
onnx/backend/test/data/node/test_split_2d_uneven_split_2_opset20/test_data_set_0/input_0.pb
Binary file not shown.
Binary file added
BIN
+42 Bytes
onnx/backend/test/data/node/test_split_2d_uneven_split_2_opset20/test_data_set_0/output_0.pb
Binary file not shown.
Binary file added
BIN
+34 Bytes
onnx/backend/test/data/node/test_split_2d_uneven_split_2_opset20/test_data_set_0/output_1.pb
Binary file not shown.
Binary file added
BIN
+34 Bytes
onnx/backend/test/data/node/test_split_2d_uneven_split_2_opset20/test_data_set_0/output_2.pb
Binary file not shown.
Binary file added
BIN
+249 Bytes
onnx/backend/test/data/node/test_split_2d_uneven_split_opset20/model.onnx
Binary file not shown.
Binary file added
BIN
+79 Bytes
onnx/backend/test/data/node/test_split_2d_uneven_split_opset20/test_data_set_0/input_0.pb
Binary file not shown.
Binary file added
BIN
+42 Bytes
onnx/backend/test/data/node/test_split_2d_uneven_split_opset20/test_data_set_0/output_0.pb
Binary file not shown.
Binary file added
BIN
+42 Bytes
onnx/backend/test/data/node/test_split_2d_uneven_split_opset20/test_data_set_0/output_1.pb
Binary file not shown.
Binary file added
BIN
+34 Bytes
onnx/backend/test/data/node/test_split_2d_uneven_split_opset20/test_data_set_0/output_2.pb
Binary file not shown.
Binary file added
BIN
+232 Bytes
onnx/backend/test/data/node/test_split_equal_parts_1d_opset20/model.onnx
Binary file not shown.
Binary file added
BIN
+37 Bytes
onnx/backend/test/data/node/test_split_equal_parts_1d_opset20/test_data_set_0/input_0.pb
Binary file not shown.
Binary file added
BIN
+24 Bytes
onnx/backend/test/data/node/test_split_equal_parts_1d_opset20/test_data_set_0/output_0.pb
Binary file not shown.
Binary file added
BIN
+24 Bytes
onnx/backend/test/data/node/test_split_equal_parts_1d_opset20/test_data_set_0/output_1.pb
Binary file not shown.
Binary file added
BIN
+24 Bytes
onnx/backend/test/data/node/test_split_equal_parts_1d_opset20/test_data_set_0/output_2.pb
Binary file not shown.
Binary file added
BIN
+210 Bytes
onnx/backend/test/data/node/test_split_equal_parts_2d_opset20/model.onnx
Binary file not shown.
Binary file added
BIN
+63 Bytes
onnx/backend/test/data/node/test_split_equal_parts_2d_opset20/test_data_set_0/input_0.pb
Binary file not shown.
Binary file added
BIN
+42 Bytes
onnx/backend/test/data/node/test_split_equal_parts_2d_opset20/test_data_set_0/output_0.pb
Binary file not shown.
Binary file added
BIN
+42 Bytes
onnx/backend/test/data/node/test_split_equal_parts_2d_opset20/test_data_set_0/output_1.pb
Binary file not shown.
Binary file added
BIN
+229 Bytes
onnx/backend/test/data/node/test_split_equal_parts_default_axis_opset20/model.onnx
Binary file not shown.
Binary file added
BIN
+37 Bytes
...end/test/data/node/test_split_equal_parts_default_axis_opset20/test_data_set_0/input_0.pb
Binary file not shown.
Binary file added
BIN
+24 Bytes
...nd/test/data/node/test_split_equal_parts_default_axis_opset20/test_data_set_0/output_0.pb
Binary file not shown.
Binary file added
BIN
+24 Bytes
...nd/test/data/node/test_split_equal_parts_default_axis_opset20/test_data_set_0/output_1.pb
Binary file not shown.
Binary file added
BIN
+24 Bytes
...nd/test/data/node/test_split_equal_parts_default_axis_opset20/test_data_set_0/output_2.pb
Binary file not shown.
Binary file added
BIN
+209 Bytes
onnx/backend/test/data/node/test_split_variable_parts_1d_opset20/model.onnx
Binary file not shown.
Binary file added
BIN
+37 Bytes
onnx/backend/test/data/node/test_split_variable_parts_1d_opset20/test_data_set_0/input_0.pb
Binary file not shown.
Binary file added
BIN
+29 Bytes
onnx/backend/test/data/node/test_split_variable_parts_1d_opset20/test_data_set_0/input_1.pb
Binary file not shown.
Binary file added
BIN
+24 Bytes
onnx/backend/test/data/node/test_split_variable_parts_1d_opset20/test_data_set_0/output_0.pb
Binary file not shown.
Binary file added
BIN
+32 Bytes
onnx/backend/test/data/node/test_split_variable_parts_1d_opset20/test_data_set_0/output_1.pb
Binary file not shown.
Binary file added
BIN
+221 Bytes
onnx/backend/test/data/node/test_split_variable_parts_2d_opset20/model.onnx
Binary file not shown.
Binary file added
BIN
+63 Bytes
onnx/backend/test/data/node/test_split_variable_parts_2d_opset20/test_data_set_0/input_0.pb
Binary file not shown.
Binary file added
BIN
+29 Bytes
onnx/backend/test/data/node/test_split_variable_parts_2d_opset20/test_data_set_0/input_1.pb
Binary file not shown.
Binary file added
BIN
+34 Bytes
onnx/backend/test/data/node/test_split_variable_parts_2d_opset20/test_data_set_0/output_0.pb
Binary file not shown.
Binary file added
BIN
+50 Bytes
onnx/backend/test/data/node/test_split_variable_parts_2d_opset20/test_data_set_0/output_1.pb
Binary file not shown.
Binary file added
BIN
+206 Bytes
onnx/backend/test/data/node/test_split_variable_parts_default_axis_opset20/model.onnx
Binary file not shown.
Binary file added
BIN
+37 Bytes
.../test/data/node/test_split_variable_parts_default_axis_opset20/test_data_set_0/input_0.pb
Binary file not shown.
Binary file added
BIN
+29 Bytes
.../test/data/node/test_split_variable_parts_default_axis_opset20/test_data_set_0/input_1.pb
Binary file not shown.
Binary file added
BIN
+24 Bytes
...test/data/node/test_split_variable_parts_default_axis_opset20/test_data_set_0/output_0.pb
Binary file not shown.
Binary file added
BIN
+32 Bytes
...test/data/node/test_split_variable_parts_default_axis_opset20/test_data_set_0/output_1.pb
Binary file not shown.
Binary file added
BIN
+229 Bytes
onnx/backend/test/data/node/test_split_zero_size_splits_opset20/model.onnx
Binary file not shown.
Binary file added
BIN
+13 Bytes
onnx/backend/test/data/node/test_split_zero_size_splits_opset20/test_data_set_0/input_0.pb
Binary file not shown.
Binary file added
BIN
+37 Bytes
onnx/backend/test/data/node/test_split_zero_size_splits_opset20/test_data_set_0/input_1.pb
Binary file not shown.
Binary file added
BIN
+16 Bytes
onnx/backend/test/data/node/test_split_zero_size_splits_opset20/test_data_set_0/output_0.pb
Binary file not shown.
Binary file added
BIN
+16 Bytes
onnx/backend/test/data/node/test_split_zero_size_splits_opset20/test_data_set_0/output_1.pb
Binary file not shown.
Binary file added
BIN
+16 Bytes
onnx/backend/test/data/node/test_split_zero_size_splits_opset20/test_data_set_0/output_2.pb
Binary file not shown.
This file contains 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
This file contains 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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of changing the
axis
, it would make sense to change the new attribute introducedminimize_diff
or whatever it is called. At least, I am looking for some test-case to show the difference that attribute makes, whether that is this test or some other test.