-
Notifications
You must be signed in to change notification settings - Fork 21.3k
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
[ONNX] Fix for sequence of mutations in blocks #51577
[ONNX] Fix for sequence of mutations in blocks #51577
Commits on Jan 28, 2021
-
Configuration menu - View commit details
-
Copy full SHA for dc81f3d - Browse repository at this point
Copy the full SHA dc81f3dView commit details -
Configuration menu - View commit details
-
Copy full SHA for e368129 - Browse repository at this point
Copy the full SHA e368129View commit details -
Configuration menu - View commit details
-
Copy full SHA for c2370ed - Browse repository at this point
Copy the full SHA c2370edView commit details -
[ONNX] Update constant-folding of Gather op (pytorch#50554)
Update constant-folding of Gather operator so it also includes cases where rank of indices input is 0. Currently it only support cases where rank of indices is 1.
Configuration menu - View commit details
-
Copy full SHA for 4d0a47e - Browse repository at this point
Copy the full SHA 4d0a47eView commit details -
Configuration menu - View commit details
-
Copy full SHA for def794f - Browse repository at this point
Copy the full SHA def794fView commit details
Commits on Jan 29, 2021
-
[ONNX] Fix bug in unfold symbolic (pytorch#50504)
Fix bug in unfold symbolic
Configuration menu - View commit details
-
Copy full SHA for 3766f32 - Browse repository at this point
Copy the full SHA 3766f32View commit details -
[ONNX] Improve error message for parse_arg in symbolic functions (pyt…
…orch#50512) previous error message looks like this ``` RuntimeError: Unexpected node type: onnx::Gather ``` now ``` RuntimeError: Expected node type 'onnx::Constant' for argument 'groups' of node 'conv1d', got 'onnx::Gather'. ``` Repro example: ```python @torch.jit.script def conv(x, w): return F.conv1d(x, w, groups=x.shape[0]) class Net(nn.Module): def forward(self, x, w): return conv(x, w) model = Net() x = torch.randn(8, 8, 512) w = torch.randn(8, 1, 3) torch.onnx.export(model, (x, w), "file.onnx", opset_version=12) ```
Configuration menu - View commit details
-
Copy full SHA for 35b8f35 - Browse repository at this point
Copy the full SHA 35b8f35View commit details -
Configuration menu - View commit details
-
Copy full SHA for f67519e - Browse repository at this point
Copy the full SHA f67519eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 651db7e - Browse repository at this point
Copy the full SHA 651db7eView commit details -
Merge branch 'neraoof/fixSetAttribute' of github.com:neginraoof/pytor…
…ch into neraoof/fixSetAttribute
Configuration menu - View commit details
-
Copy full SHA for bd35e20 - Browse repository at this point
Copy the full SHA bd35e20View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2a4a1f4 - Browse repository at this point
Copy the full SHA 2a4a1f4View commit details -
[ONNX] Export get/set attribute nodes (pytorch#50768)
Fix get/set attributes when getting/setting a model parameter. This PR also fixes inplace ops in If blocks.
Configuration menu - View commit details
-
Copy full SHA for 4fab460 - Browse repository at this point
Copy the full SHA 4fab460View commit details -
[ONNX] Enable remaining failed tests in opset13 (pytorch#50806)
* enable remaining test in opset13 * add comments for error version test info * fix comments:opset12 unbind problem * add ignore[no-redef] * fix format Co-authored-by: hwangdeyu <deyhuang@qq.com>
Configuration menu - View commit details
-
Copy full SHA for 36eabc8 - Browse repository at this point
Copy the full SHA 36eabc8View commit details -
[ONNX] Add silu operator support for onnx (pytorch#51193)
Support for yolov5 compound-scaled object detection models export.
Configuration menu - View commit details
-
Copy full SHA for 5bbb160 - Browse repository at this point
Copy the full SHA 5bbb160View commit details
Commits on Jan 31, 2021
-
[ONNX] Fix graph position to insert clone node for inplace op removal (…
…pytorch#50123) Previous insertBefore approach might end-up inserting clone node in inner sub-blocks, while then the node being used later at other outside call sites.
Configuration menu - View commit details
-
Copy full SHA for 6a00ffe - Browse repository at this point
Copy the full SHA 6a00ffeView commit details -
[ONNX] Fix graph sequence output from loop node (pytorch#51305)
* Add loop & if node to the list of nodes that could produce sequence type output. * Switch from `[]` to `at()` to avoid segfault of out of range access.
Configuration menu - View commit details
-
Copy full SHA for c6c6535 - Browse repository at this point
Copy the full SHA c6c6535View commit details
Commits on Feb 1, 2021
-
Update error message that displays when encountering an op unsupporte…
…d for ONNX export. (pytorch#51387)
Spandan Tiwari committedFeb 1, 2021 Configuration menu - View commit details
-
Copy full SHA for 687a9a2 - Browse repository at this point
Copy the full SHA 687a9a2View commit details -
[ONNX] Enable Constant Folding for ONNX Opset 13 (pytorch#51096)
* Enable Constant Folding for ONNX Opset 13 * fix CI clang-diagnostic * fix integers type * fix comments:sort axes and support negative number * update squeeze op constant folding * fix format warning * fix clang-format issue Co-authored-by: hwangdeyu <deyhuang@qq.com>
Configuration menu - View commit details
-
Copy full SHA for 8ba250c - Browse repository at this point
Copy the full SHA 8ba250cView commit details -
[ONNX] Update unsafe_chunk() method to support new version 13 of Spli…
…t operator. (pytorch#51415) * def unsafe_chunk() support and test in ops13. * Use _unsqueeze_helper insteadof Unsqueeze operator * Cast the splits into long. * Change the test to a fixed dimension. * Update test_pytorch_onnx_onnxruntime.py * Disable test_loop_with_list for opset 13. Co-authored-by: Negin Raoof <neginmr@utexas.edu>
Configuration menu - View commit details
-
Copy full SHA for 0015b95 - Browse repository at this point
Copy the full SHA 0015b95View commit details
Commits on Feb 2, 2021
-
Configuration menu - View commit details
-
Copy full SHA for f15d3f4 - Browse repository at this point
Copy the full SHA f15d3f4View commit details -
[ONNX] Support list remove for onnx export (pytorch#51373)
* Support aten::Delete * Refactor prepare_inplace_ops_for_onnx into one pass.
Configuration menu - View commit details
-
Copy full SHA for 8221155 - Browse repository at this point
Copy the full SHA 8221155View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1b2190d - Browse repository at this point
Copy the full SHA 1b2190dView commit details -
[ONNX] Modifications in remove inplace ops passes to better handle bi…
…nary inplace ops (pytorch#51318) Modifications in remove_inplace_ops_for_onnx pass and remove_inplace_ops pass to better handle binary inplace ops * Handles special case of binary inplace ops, where the first input node has a lower type precedence than the second input node. * When the inplace node is converted to a regular op, this information is lost and the resulting type is based on type precedence, just like regular ops. To avoid this loss of information, we add a cast node before the input node with the higher data type precedence, so that both the input types are the same.
Configuration menu - View commit details
-
Copy full SHA for ef4e3b7 - Browse repository at this point
Copy the full SHA ef4e3b7View commit details -
Configuration menu - View commit details
-
Copy full SHA for a7d103e - Browse repository at this point
Copy the full SHA a7d103eView commit details -
Merge branch 'onnx_ms_1' of https://github.com/pytorch/pytorch into n…
…eraoof/fixSetAttribute2 # Conflicts: # scripts/onnx/test.sh # test/onnx/test_pytorch_onnx_onnxruntime.py # torch/csrc/jit/passes/onnx/remove_inplace_ops_for_onnx.cpp
Configuration menu - View commit details
-
Copy full SHA for 104bbd0 - Browse repository at this point
Copy the full SHA 104bbd0View commit details -
Configuration menu - View commit details
-
Copy full SHA for e5a91c3 - Browse repository at this point
Copy the full SHA e5a91c3View commit details
Commits on Feb 3, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 8007894 - Browse repository at this point
Copy the full SHA 8007894View commit details
Commits on Feb 4, 2021
-
Configuration menu - View commit details
-
Copy full SHA for ee28dd1 - Browse repository at this point
Copy the full SHA ee28dd1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 58004e2 - Browse repository at this point
Copy the full SHA 58004e2View commit details
Commits on Feb 5, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 4750169 - Browse repository at this point
Copy the full SHA 4750169View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2b12a05 - Browse repository at this point
Copy the full SHA 2b12a05View commit details -
Configuration menu - View commit details
-
Copy full SHA for 305c96b - Browse repository at this point
Copy the full SHA 305c96bView commit details -
Configuration menu - View commit details
-
Copy full SHA for f808f8a - Browse repository at this point
Copy the full SHA f808f8aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 76e562e - Browse repository at this point
Copy the full SHA 76e562eView commit details