Commit graph

36 commits

Author SHA1 Message Date
Ori Levari
be48f05c64
Cmake and preprocessor fixes that where uncovered by building on agents without DML available via SDK 2019-12-06 13:30:19 -08:00
Paul McDaniel
56cbd82c71
Layer dev paulm (#2567)
* commetns for dml graph transformer
fixed ort value passing using the allocatir info

* fixed and coded maps and sequences across the abi

* cleaned up w4's
cleaned up the model info ABI
delayload directml.dll from winml

* cleaned up namepsace aliases.
renamed _winmla to winmla
this was good PR feedback from tiago a while back.

* moved files from inc to lib\api.core
cleaned up some of the cmake

* staged changes

* making windowsAI azure dev ops work.

* code review comments.

* revert changes
2019-12-05 18:14:20 -08:00
Xiang Zhang
8fb7b88e0a
Handle exception thrown from all apis in WinMLAdapter (#2539) 2019-12-04 14:08:16 -08:00
Paul McDaniel
c615002f5d
Layer dev paulm (#2533)
* commetns for dml graph transformer
fixed ort value passing using the allocatir info

* fixed and coded maps and sequences across the abi

* cleaned up w4's
cleaned up the model info ABI
delayload directml.dll from winml

* cleaned up namepsace aliases.
renamed _winmla to winmla
this was good PR feedback from tiago a while back.

* moved files from inc to lib\api.core
cleaned up some of the cmake

* staged changes
2019-12-03 15:31:22 -08:00
Brian Martin
f54625f7c5
re-enable warnings for winml builds and fix the warnings that were hiding (#2526)
* turn devmode back on for winml builds

* fix some warnings. include protobuf in a way that disables some warnings

* undo protobufhelpers changes and just ignore 4100 errors in pb code

* attempt to isolate protobufhelpers errors

* add template specialization for getting tensor proto data
2019-12-03 09:57:56 -08:00
Paul McDaniel
301d407b39
Layer dev paulm (#2507)
* commetns for dml graph transformer
fixed ort value passing using the allocatir info

* fixed and coded maps and sequences across the abi

* cleaned up w4's
cleaned up the model info ABI
delayload directml.dll from winml

* cleaned up namepsace aliases.
renamed _winmla to winmla
this was good PR feedback from tiago a while back.
2019-11-27 15:50:49 -08:00
Ryan Lai
197fd9ea3d
Remove usage of IOBinding in WinML and use C_API Run method (#2504)
* remove usage of iobinding

* Change data structure to use vector of Ort::Values

* Polish bind input / output

* Use C APIrun method

* Update providers on evaluate getresults

* Remove run and IObinding interface from WinMLAdapter

* Remove use of IObinding

* bind unbound outputs code moved to learningmodelbinding

* clean up unneeded istensor adapter function

* Fix comment

* Check if session is closed before binding and clearing

* PR feedback
2019-11-27 15:31:30 -08:00
Paul McDaniel
e8e285dd97
Layer dev paulm (#2506)
* commetns for dml graph transformer
fixed ort value passing using the allocatir info

* fixed and coded maps and sequences across the abi

* cleaned up w4's
cleaned up the model info ABI
delayload directml.dll from winml
2019-11-27 15:04:47 -08:00
Tiago Koji Castro Shibata
0688afa58f Rename ambiguous header (#2489) 2019-11-26 18:57:14 -08:00
Paul McDaniel
c27f56c38e
Layer dev paulm (#2492)
* commetns for dml graph transformer
fixed ort value passing using the allocatir info

* fixed and coded maps and sequences across the abi
2019-11-26 18:53:08 -08:00
Brian Martin
34b1bf2db7
Brianma/testfails (#2473)
* add missing ir version to dictvectorizer-string.onnx

* add missing ir version to relu.onnx

* add missing ir version to zipmap*onnx

* add IR version to manually generated models

* remove an unnecessary ifdef dml
2019-11-25 14:38:19 -08:00
Paul McDaniel
befe933b86 build break. 2019-11-25 13:31:56 -08:00
Paul McDaniel
78c3c126c9 merged in brian's changes 2019-11-25 13:23:32 -08:00
Paul McDaniel
974ee0b74b Checking in a staging checkpoint point so that Ryan can work with me in parrallel 2019-11-25 12:50:04 -08:00
Brian Martin
1bc2ca6183
Brianma/breaks (#2469)
* fix some more breaks

* learning model doesn't need lotusEnvironment and CPU shouldn't include dmlEP headers

* move dml checks out of winml and into the adapter

* better error handling
2019-11-25 11:11:30 -08:00
Brian Martin
d738bdd968
Brianma/cpuwinml (#2466)
* allow building winml cpu without dml.
2019-11-22 16:13:28 -08:00
Ryan Lai
0b5750d047
Register WinML TraceLogging provider on Onnxruntime.dll (#2455)
* Register WinML TraceLogging provider on Onnxruntime.dll

* Add ifdef to make sure trace logging provider has telemetry option when LAYERING_DONE

* No need for ifdef for TraceLoggingOptionMicrosoftTelemetry

* PR feedback

* Move etw registration into lotus environment constructor and deresgister in lotus environment destructor
2019-11-22 07:23:20 -08:00
Paul McDaniel
44a4fc0cc2 Moved SessionOptions over to the abi 2019-11-19 18:15:47 -08:00
Paul McDaniel
d8941f11b1 fixed map and sequence when passing stl types across the ABI .
found a leak in nvidia driver, but skipped it.
all winmlapitests pass now
2019-11-19 10:54:51 -08:00
Paul McDaniel
3da841bb73 fixed 2 more heap corruptions 2019-11-18 19:46:32 -08:00
Paul McDaniel
9253e2392d merge 2019-11-18 18:40:26 -08:00
Paul McDaniel
acc6ea525b couple of fixes and coded getmutabledata() 2019-11-18 18:31:04 -08:00
Paul McDaniel
be37e4c225
Layer dev paulm (#2424)
* model moved over.
everything builds clean.
step !

* weak ref comment

* added a wrapper for RoGetActivationFactory to hook back into winml for creating winml objects.
fixes model load.

* fixed some lifetime management.
fixed the debug build.
squeezenet passes using winmlrunner for CPU and GPU

* PR feedback.
2019-11-18 11:07:54 -08:00
Paul McDaniel
a3542e1128 PR feedback. 2019-11-18 11:06:08 -08:00
Paul McDaniel
5a1177acaa
Layer dev paulm (#2423)
* model moved over.
everything builds clean.
step !

* weak ref comment

* added a wrapper for RoGetActivationFactory to hook back into winml for creating winml objects.
fixes model load.

* fixed some lifetime management.
fixed the debug build.
squeezenet passes using winmlrunner for CPU and GPU
2019-11-18 09:51:39 -08:00
Paul McDaniel
b4047a0aad fixed some lifetime management.
fixed the debug build.
squeezenet passes using winmlrunner for CPU and GPU
2019-11-18 09:50:25 -08:00
Paul McDaniel
5bd2c1ef21
Layer dev paulm (#2414)
* model moved over.
everything builds clean.
step !

* weak ref comment

* added a wrapper for RoGetActivationFactory to hook back into winml for creating winml objects.
fixes model load.
2019-11-15 16:48:38 -08:00
Paul McDaniel
7f9a7f5abe added a wrapper for RoGetActivationFactory to hook back into winml for creating winml objects.
fixes model load.
2019-11-15 16:47:33 -08:00
Paul McDaniel
2bfa3c67c6
Layer dev paulm (#2408)
* model moved over.
everything builds clean.
step !

* weak ref comment
2019-11-15 13:17:22 -08:00
Paul McDaniel
f32bbd5cb7 weak ref comment 2019-11-15 13:15:57 -08:00
Paul McDaniel
f07fdf96b4 model moved over.
everything builds clean.
step !
2019-11-15 10:54:44 -08:00
Paul McDaniel
5350abe19d
LearningModelSession is cleaned up to use the adapter, and parts of b… (#2382)
this is a big PR.    we are going to move it up to layer_dev , which is still a L3 so we are still safe to do work there agile.

we are going to move this into the L3 so that ryan can start doing intergration testing.   

we will pause for a full code review and integration test result prior to going into the L2.

>>>> raw comments from previous commits >>> 

* LearningModelSession is cleaned up to use the adapter, and parts of binding are.
* moved everything in the winmladapter
made it all nano-com using, WRL to construct objects in the ORT side.
base interfaces for everythign for winml to call
cleaned up a bunch of winml to use the base interfaces.
* more pieces
* GetData across the abi.
* renamed some namepsace
cleaned up OrtValue
cleaned up Tensor
cleaned up custom ops.
everything *but* learnignmodel should be clean
* make sure it's building.   winml.dll is still a monolith.
2019-11-14 17:44:07 -08:00
Paul McDaniel
5406801670
Task 23998197: add winml_lib_core into onnnxruntime.dll (#2368)
* Task 23998197: add winml_lib_core into onnnxruntime.dll

* PR feedback
build break on perf_test
2019-11-11 14:34:19 -08:00
Paul McDaniel
b6f5eef1d9 more snipping to get core into ort 2019-11-08 13:23:44 -08:00
Ryan Lai
444bfcc26e Initial changes for layering 2019-11-07 16:50:24 -08:00
Adrian Tsai
7390b64af5 Initial Commit 2019-11-07 11:51:44 -08:00