-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cherry pick 3 fixes to rel-1.2.0 (#3158)
* Publish release symbols (#3152) * Publish release symbols * Publish symbols if IsReleaseBuild * Disable delayload for cuda dlls (#3147) This change fixes #3129. When running onnxruntime as dll on Windows, CUDA does some internal cleanups when process exits. After this, any call to CUDA would cause crash. Delayload makes thread_local destructor to happen after CUDA cleanup, thus the crash. * Update Gelu Fusion to support new graph pattern from PyTorch 1.4 (#3148) * update GeluFusion to support pattern from PyTorch 1.4; * Fix a bug that missing the check of an edge between mul2 and root. * update script to fuse gelu from PyTorch 1.4 * Add test for python optimizer Co-authored-by: Tiago Koji Castro Shibata <ticastro@microsoft.com> Co-authored-by: KeDengMS <kedeng@microsoft.com> Co-authored-by: Tianlei Wu <tlwu@microsoft.com>
- Loading branch information
1 parent
b71554c
commit dacb42f
Showing
18 changed files
with
372 additions
and
62 deletions.
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
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
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
+99.4 KB
...hon/tools/bert/test_data/bert_squad_pytorch1.4_opset10_fp32/BertForQuestionAnswering.onnx
Binary file not shown.
Binary file added
BIN
+99 Bytes
...python/tools/bert/test_data/bert_squad_pytorch1.4_opset10_fp32/test_data_set_0/input_0.pb
Binary file not shown.
Binary file added
BIN
+100 Bytes
...python/tools/bert/test_data/bert_squad_pytorch1.4_opset10_fp32/test_data_set_0/input_1.pb
Binary file not shown.
Binary file added
BIN
+101 Bytes
...python/tools/bert/test_data/bert_squad_pytorch1.4_opset10_fp32/test_data_set_0/input_2.pb
Binary file not shown.
3 changes: 3 additions & 0 deletions
3
...ython/tools/bert/test_data/bert_squad_pytorch1.4_opset10_fp32/test_data_set_0/output_0.pb
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
BstartJ(���A2I<W�1<nR�<G�;�^<�q?;���< | ||
r�;��< |
2 changes: 2 additions & 0 deletions
2
...ython/tools/bert/test_data/bert_squad_pytorch1.4_opset10_fp32/test_data_set_0/output_1.pb
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
BendJ(���=Fڞ=L��=QR�=�w�=6\�=��=���=��=Jg�= |
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
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+424 Bytes
onnxruntime/test/testdata/transform/fusion/gelu_format2_1_use_graph_input.onnx
Binary file not shown.
Oops, something went wrong.