Commit graph

4907 commits

Author SHA1 Message Date
Ryan Hill
64c0deeb7e Revert "Switch yml back to regular build pool"
This reverts commit be35fc2a5a.
2021-05-10 00:14:13 -07:00
Ryan Hill
be35fc2a5a Switch yml back to regular build pool 2021-05-09 10:48:58 -07:00
Ryan Hill
e02270e640 Spotless fix 2021-05-07 19:18:23 -07:00
Ryan Hill
648679b370 Remove LongformerAttentionBase workaround 2021-05-07 18:11:06 -07:00
Ryan Hill
6ad01b9040 Java comments 2021-05-07 17:13:22 -07:00
Ryan Hill
981af7d085 Fix break 2021-05-07 13:59:26 -07:00
Ryan Hill
74b1016d3b Fix cleanup on exit 2021-05-07 13:16:17 -07:00
Ryan Hill
9dfdafe6e0 Leave temp file around to load properly 2021-05-07 01:08:45 -07:00
Ryan Hill
24eed8bd8f Spotless fix 2021-05-06 20:05:30 -07:00
Ryan Hill
dda221501b Fix build error 2021-05-06 18:26:45 -07:00
Ryan Hill
29288eb480 Java test on my VM 2021-05-06 17:01:50 -07:00
Ryan Hill
af3824ce25 Merge branch 'master' of https://github.com/microsoft/onnxruntime into ryanunderhill/cuda_shared 2021-05-06 17:00:59 -07:00
Pranav Sharma
bdb2ed7864
Revert "Add log to allow serving platforms to quantify ORT usage. (#7476)" (#7598)
This reverts commits da5c926, 4186233 and be2a304.
2021-05-06 16:21:32 -07:00
Ryan Hill
34511ff862 Fix typos 2021-05-06 15:15:05 -07:00
Ryan Hill
a826b0ca75 Test java fix 2021-05-06 14:42:54 -07:00
Tianlei Wu
d88da44066
Allow flexible order of Add inputs in Attention fusion (#7565) 2021-05-06 09:43:28 -07:00
ashbhandare
4896744638
Improve CPU node placement logic to avoid Memcpys (#7427)
* Modify CPU fallback logic

* Review comments, failing test

* Add test for topological order

* review comment

* Fix test for amd ci

* fix build

* Fix amd test
2021-05-06 09:39:34 -07:00
Ryan Hill
4fc2569224 ROCM 4 2021-05-06 03:34:39 -07:00
Ryan Hill
7d74a92575 ROCM fix 3 2021-05-06 03:16:11 -07:00
Ryan Hill
6878463b1a Merge branch 'master' of https://github.com/microsoft/onnxruntime into ryanunderhill/cuda_shared 2021-05-06 02:58:58 -07:00
Ryan Hill
be540afbea Fix submodule out of sync 2021-05-06 02:58:51 -07:00
Ryan Hill
b4b6c4fac2 Stupid fixes 2021-05-06 02:40:29 -07:00
Scott McKay
097bab8d1e
Cleanup a change to ExecutionFrame a little (#7576)
* Reduce the binary size growth from this change. Minimal build grew by 7KB from this checkin.

Firstly simplify the checking logic a little. Same checks are still done - just without using an extra layer of helpers.

The issue being addressed by the original change only applies if you have a graph output where the shape wasn't able to be inferred. e.g. Reshape node with dynamic input causes downstream shapes to be unknown. If that is not the case, MergeShapeInfo in graph.cc would have resolved any differences between a specified output shape and the inferred output shape during Graph::Resolve.

The issue does not apply to the execution frame used by the optimizer as  the only time it would create a graph output is if it could constant fold all the way through, so MergeShapeInfo would have handled any difference in that case as well.

Due to these considerations, wiring a logger in at the IExecutionFrame level isn't necessary if VerifyOutputSizes optionally overridden by an implementation that cares.

* Address PR comments
2021-05-06 19:29:34 +10:00
Ryan Hill
85e5fddd2a Put back Linux hack, it is necessary 2021-05-06 00:32:09 -07:00
Ryan Hill
3dfec5a339 ROCM fix v2 2021-05-06 00:20:01 -07:00
Pranav Sharma
be2a3046fe
Disable telemetry log for training builds (#7585) 2021-05-06 00:03:19 -07:00
Maajid khan
5413eaa5e4
Additional cmake changes for OpenVINO build (#7579)
->unsetting the CMAKE_MAP_IMPORTED_CONFIG that was
set for OpenVINO EP for Relwithdebinfo build on
windows.

Signed-off-by: MaajidKhan <n.maajidkhan@gmail.com>

Co-authored-by: suryasidd <surya.siddharth.pemmaraju@intel.com>
2021-05-05 23:54:53 -07:00
Ryan Hill
0853a58cfa ROCM fix 2021-05-05 23:29:17 -07:00
Ryan Hill
d74b1e8717 Fix another merge error 2021-05-05 23:27:03 -07:00
Ryan Hill
192d23060e Revert yml changes 2021-05-05 22:34:25 -07:00
Ryan Hill
d2f96e4c59 Cleanup + new training ops 2021-05-05 21:01:17 -07:00
Ryan Hill
e2856cfa21 Undo edit to file 2021-05-05 18:53:46 -07:00
Ryan Hill
605508a071 Comments 2021-05-05 18:42:05 -07:00
Ryan Hill
ad0dde555c Merge branch 'master' of https://github.com/microsoft/onnxruntime into ryanunderhill/cuda_shared 2021-05-05 18:41:45 -07:00
Ryan Hill
ac7679f6c1 Fix merge with master issues. 2021-05-05 17:25:03 -07:00
Edward Chen
830f0b45d0
Update Objective-C API (#7567)
Update Objective-C API to be more usable from Swift. E.g., to allow conversion from Objective-C methods with trailing NSError** parameter to throwing Swift methods.
Update CMake Objective-C framework setup.
2021-05-05 15:56:55 -07:00
Ryan Hill
8ba8c26233 Merge with master 2021-05-05 15:05:00 -07:00
Ryan Hill
0f3252e481 Merge conflicts 2021-05-05 15:01:26 -07:00
Ryan Hill
401751b4c7 Merge with master 2021-05-05 15:01:02 -07:00
baijumeswani
f3a70f1aec
Ignore invalid input argument to install_os_deps.sh (#7566) 2021-05-05 14:33:31 -07:00
Zhang Lei
9465948715
Quantization tools using one more extra_options on interface. (#7293)
handle nnapi special sigmoid options.
2021-05-05 13:51:50 -07:00
Changming Sun
a284eede64
Fix Linux CPU pipeline (#7584) 2021-05-05 13:26:10 -07:00
Ye Wang
8a9ddfe963
Longformer Attention non-determinism issue fix (#7574)
* Fix run-to-run not deterministic bug.

* Remove non-deterministic logic in softmax

* Fix value diff when removing non-deterministic issue.

Co-authored-by: Lei Zhang <zhang.huanning@hotmail.com>
2021-05-05 09:54:25 -07:00
Derek Murray
94c97ac8c2
Fix compiler warnings treated as errors in GistEncodeDecode. (#7568)
* Fix compiler warning in GistEncodeDecode.

* Fix other use of member variable.

* Make `compression_type_` const.

* Change floor to floorf in CUDA code.

* Statically cast size_t to int in GIST CUDA kernels

* Add explicit cast to `long` in gist.cc

Co-authored-by: Derek Murray <demurra@microsoft.com>
2021-05-05 09:05:11 -07:00
Sheil Kumar
91985ab03d
add use_dml (#7569)
Co-authored-by: Sheil Kumar <sheilk@microsoft.com>
2021-05-05 08:55:13 -07:00
Xavier Dupré
2f0479780e
Improves NonMaxSuppression on CPU (#7557)
* improves non max suppression
* use pointer instead of boxes
2021-05-05 09:14:40 +02:00
Xavier Dupré
ade6ed51eb
Speed up Reduce operators for consecutive reduced axes (#7206)
* Improves Reduction for three specific configurations
* Support ReduceMean
* add ReduceMax, ReduceMin
* refactoring
2021-05-05 09:14:00 +02:00
Ryan Hill
401ef4a634 Revert DllMain idea, it didn't work 2021-05-04 22:29:52 -07:00
Pranav Prakash
053bada30f
Add support for setting shape inference function on fused nodes (#7007)
* Add support for setting shape inference function on fused nodes
* Add test for fused node shape inference
2021-05-05 13:32:07 +10:00
Ryan Hill
b2c202d930 Remove extra debug messages
Try a more clean python shutdown through DllMain
2021-05-04 20:10:11 -07:00