Commit graph

11997 commits

Author SHA1 Message Date
ytaous
ca1bbff5d4
subgraph type override handling and unit test (#3560)
* unit test for subgraph type override

* unit test - re-wire input properly to subgraph

* update args

Co-authored-by: Ethan Tao <ettao@microsoft.com>
2020-04-17 19:33:34 -07:00
Nick Feeney
e2288ff2b4 Merged PR 4574388: Implement Eyelike int ops
Implement Eyelike int ops

Related work items: #24673994
2020-04-18 01:11:31 +00:00
Dwayne Robinson
dc576a8de8 Merged PR 4574316: Pad, OneHot, DepthToSpace, SpaceToDepth, TopK, Where int registrations
Related work items: #24673980, #24674011, #24674018, #24674032, #24674039
2020-04-18 01:05:33 +00:00
Jeff
c47490ab31 Bug fix 2020-04-17 17:16:14 -07:00
Nick Feeney
c170d087a1 Merged PR 4573751: Add int32 and uint32 support to onnx Elementwise math
Add int32 and uint32 support to onnx Elementwise math to make sure we don't diverge from onnx for new TF op.

Related work items: #26023998
2020-04-17 23:33:50 +00:00
Tianlei Wu
7f46f347db
Add GPT2 Attention Fusion in optimization script (#3488)
* Add Attention fusion for GPT2
* Support distilgpt2 in benchmark_gpt2.py
* Add options to disable Attention/SkipLayerNormalization/EmbedLayerNormalization/BiasGelu fusions
* Add logging at the begining of each fusion
* Update notebooks: Add Gpt2OnnxModel.py to list of script files.
* Add test for gpt2 model optimization
* Add optional parameters (--input_ids --segment_ids --input_mask) for graph inputs
* Fuse BiasGelu
* Handle model that does not have segment_ids input.
* Allow fuse embed layer without mask
2020-04-17 16:23:53 -07:00
Tianlei Wu
5d3b217039
Update Attention operator for GPT2 (#3474)
Add unidrectional mask for Attention operator.
Update mask_index to mask broadcast from B->BxS->BxNxSxS to B->BxSxS->BxNxSxS.
2020-04-17 16:20:40 -07:00
edgchen1
2cb8cb816f
Disable or update flaky tests, improve test random seed accessibility. (#3495)
- Add output of test random seed
- Allow setting of test random seed with environment variable
- Disable / relax tolerance for flaky tests
2020-04-17 15:57:32 -07:00
Jeff
027b0cb3f3 Update to match ORT signature 2020-04-17 15:14:01 -07:00
Hariharan Seshadri
b4457ecb7a
Fix gen_doc build option and refresh documentation (#3545)
* Support listing keys in custom metadata map via C/C++ API

* nit

* PR feedback

* Nit

* Initial commit

* More changes

* Support listing keys in custom metadata map via C/C++ API

* nit

* PR feedback

* Nit

* Initial commit

* More changes

* Add md files

* Doc changes

* Update

* revert cmake changes

* Update

* Doc change

* Update

* Update
2020-04-17 14:41:04 -07:00
Hector Li
5acd8dbe7d
remove option --enable_lto (#3515) 2020-04-17 14:18:56 -07:00
Jeff Bloomfield
11baa4b56d Merge user/ticastro/fix-wai-build 2020-04-17 14:10:50 -07:00
Jeff Bloomfield
822883314e merge upstream/master 2020-04-17 13:47:07 -07:00
Yufeng Li
f822a54860
Make De/QuantizeLinear support half (#3531)
* Make QuantizeLinear support half

* remove unnessary type constraint

* refine kernel definition

* add fp16 support for dequantizelinear

* diable QuantizeLinear_per_tensor_half_int8 for tensorrt

* refine unit test and fix saturate issue for MSDomain QuantizeLinear

* fix build break

* include tensorrt for half_uint8 test
2020-04-17 12:17:48 -07:00
Tracy Sharpe
c7b6fab29d
Fix build break in mlas\lib\quantize.cpp: missing nearbyintf (#3572) 2020-04-17 11:50:25 -07:00
Nick Feeney
eda4df62ab Merged PR 4569464: ArgMin ArgMax Integer implementation
ArgMin ArgMax Integer implementation

Related work items: #24673965, #24673969
2020-04-17 18:00:57 +00:00
Xiang Zhang
43c3a5edba
update onnxruntime version string for telemetry (#3526)
* update onnxruntime version string for telemetry

* use ORT_VERSION

* deleted version.h
2020-04-17 10:46:58 -07:00
edgchen1
de543c0308
Add SafeInt include to WinML targets (#3558)
Fixing Windows builds on the ort_training branch in preparation for the merge to master.
SafeInt (included via onnxruntime/core/common/safeint.h) was recently made a dependency of onnxruntime/core/framework/bfc_arena.h. That requires consumers of bfc_arena to compile with the SafeInt include directory.
2020-04-17 09:54:01 -07:00
Changming Sun
209b41a67d Update dependencies graph 2020-04-17 07:38:45 -07:00
Sheil Kumar
2717c178cc
Fork the WinML APIs into the Microsoft namespace (#3503)
* Migrate winml to Microsoft Namespace (packaging changes are pending)

* add ns_prefix toggle

* fix packaging

* Users/sheilk/add missing raw header (#3484)

* add dualapipartition

* wrong variable for repo root

Co-authored-by: Sheil Kumar <sheilk@microsoft.com>

* remove existence check to force failures

* extra paren

* dualapipartition needs to be referenced from the source

* add microsoft.ai.machinelearning.dll to the output dir

* rename the idl file so that assembly info is correctly added into the winmd

* fix namespaces

* update namespaces

* default to microsoft, and add namespace override as build argument

* update cmakesetings.json as well

* remove from cmakelists.txt

Co-authored-by: Sheil Kumar <sheilk@microsoft.com>
Co-authored-by: Changming Sun <chasun@microsoft.com>
2020-04-17 06:18:54 -07:00
ytaous
fcb27c4e8b
hotfix for skiplayernorm (#3543)
Co-authored-by: Ethan Tao <ettao@microsoft.com>
Co-authored-by: Changming Sun <chasun@microsoft.com>
2020-04-17 01:22:08 -07:00
liuziyue
92269ae409
perf tuning docs update (#3520) 2020-04-17 00:23:15 -07:00
Sheil Kumar
951484ba53
Dualapipartitionattibute.h header is missing in nuget package (#3350)
* add dualapipartition

* wrong variable for repo root

Co-authored-by: Sheil Kumar <sheilk@microsoft.com>
2020-04-16 22:21:57 -07:00
Changming Sun
1a222b3f6e
Disable downloading test data on Windows (#3551)
* Disable downloading test data on Windows
2020-04-16 22:15:20 -07:00
Jeff
c925156fd2 Fix build error 2020-04-16 18:33:56 -07:00
Jeff
d40fd897dd Support batched copies from GPU to CPU in DML EP 2020-04-16 18:33:52 -07:00
Jeff
6aa9d14d02 Address PR coomment 2020-04-16 18:24:55 -07:00
Dwayne Robinson
34bba7eac1 Merged PR 4568892: ORT DML EP OneHot build fix
Related work items: #24674011
2020-04-17 00:58:12 +00:00
Nick Feeney
c7cefe9200 Merged PR 4558978: QLinearConv and QLinearMatMul implementation
QLinearConv and QLinearMatMul implementation

Related work items: #24673801, #24673925
2020-04-17 00:18:57 +00:00
Edward Chen
be3b9244ac Fix GraphTest.UnusedValueInfoSerializes. 2020-04-16 23:38:41 +00:00
manashgoswami
9fc2b6482b
Ort training README (#3404)
Added README for ORT Training
2020-04-16 14:51:33 -07:00
Dwayne Robinson
cc5a565167 Merged PR 4560079: MaxPooling dilations, TopK, SpaceToDepth, Mvn, Resample
Add ORT DML EP kernels for:
- MaxPooling with dilations
- TopK with sort order
- SpaceToDepth with order
- Mvn with axes
- Resample-11 with transformation modes (minus cubic, related cubic attributes, and nearest neighbor rounding mode).

WinML model tests: Summary: Total=6879, Passed=434, Failed=0, Blocked=0, Not Run=0, Skipped=6445
ONNX conformance tests: Summary: Total=3241, Passed=3099, Failed=0, Blocked=0, Not Run=0, Skipped=142
2020-04-16 21:02:52 +00:00
M. Zeeshan Siddiqui
6c1ccb659f
SoftmaxCrossEntropyLoss-12 forward and backward kernel implementation. (#3465)
* Update ONNX submodule commit to the latest.

* build break.

* SoftmaxCrossEntropyLoss: Forward and backward kernel implementation.

* Revert "build break."

This reverts commit 847cb50d294efbe6c09fa760e7cacf25bfb6146d.

* Add more tests and misc clean up.

* revert unintended changes.

* PR feedback.

* cleanup.

* PR feedback.
2020-04-16 12:27:07 -07:00
Jeff
757aa0fbaf merge master 2020-04-16 11:24:55 -07:00
edgchen1
0ec90f7019
Put safeint_interface include directory into onnxruntime_common interface include directories to simplify usage by other targets. (#3546) 2020-04-16 10:34:32 -07:00
harshitha
80e0c64e2e merged with master 2020-04-16 17:13:36 +00:00
Andrews548
93b957a55a
Acl improvements (#3463)
* Fixed cornercases for acl ep gemm implementation by setting fully connected as the main layer

* Introduced versioned build for the acl ep. ACL versions supported are 1902, 1905 and 1908

* Added convolution-activation fusion optimization for acl ep. We see improvements of 12% for mobilenetv2 and 4% for resnet50

Co-authored-by: Andrei-Alexandru <andrei-alexandru.avram@nxp.com>
2020-04-16 03:14:37 -07:00
Adam Pocock
c91527235a
[Java] Add support for map and sequence information on output nodes (#3468) 2020-04-16 02:29:23 -07:00
Changming Sun
7c89f38a34
Fix static analysis warnings found by VC++ (#3530)
1. Fix static analysis warnings found by VC++
2. Add a new pipeline for static analysis
3. Merge all the windows CI build into one single yaml file.(Easier to queue them all).
4. Make DNNL build faster by disabling building the tests and examples.
5. Enable custom op unitest.
2020-04-16 01:46:47 -07:00
Jeff
47099a1700 Merge remote-tracking branch 'upstream/master' into user/jeffbloo/FreeDimOverrideByName
merge master
2020-04-15 16:27:43 -07:00
Jeff
65baa5aae3 Fix spacing 2020-04-15 16:25:03 -07:00
Jeff
a3a8a53736 Enable free dimension override by name 2020-04-15 16:21:52 -07:00
edgchen1
2f16172e69
Address PR comments and clean up. (#3536)
Address PR comments and clean up.
- https://github.com/microsoft/onnxruntime/pull/3174#discussion_r408549886
- https://github.com/microsoft/onnxruntime/pull/3174#discussion_r408551151
2020-04-15 15:51:52 -07:00
Jeff
d18f0fc47b Fix error handling for OnSessionInitializationEnd 2020-04-15 15:37:13 -07:00
Ye Wang
ec4f6c099b
Resolve comments and make minor changes to Featurizer transformers (#3535) 2020-04-15 13:29:24 -07:00
Hariharan Seshadri
abfb275ac0
Support listing keys in custom metadata map via C/C++ API (#3477)
* Support listing keys in custom metadata map via C/C++ API

* nit

* PR feedback

* Nit
2020-04-15 12:14:03 -07:00
David Brownell
72cd61baae
Removed use of parameters in python wheel build scripts (#3524) 2020-04-15 10:31:14 -07:00
Yulong Wang
cf2fddf760
fix nuget build (#3532) 2020-04-15 10:30:11 -07:00
Jesse Benson
2536e80602 Rename API to onnxruntime.set_seed(<seed>) 2020-04-15 09:44:48 -07:00
Jesse Benson
644bc05830 Add Python API to set random seed: onnxruntime.seed(<seed>) 2020-04-15 09:44:48 -07:00