Commit graph

61 commits

Author SHA1 Message Date
Changming Sun
7c0a6f3d9c CI: Enable C# tests 2019-01-28 11:40:00 -08:00
shahasad
f94fdad861
Fixes on the dotnet end-to-end test scripts to get it running on linux (#376)
* fixed typo in runtest.sh

* some fixes

* some fixes

* some fixes in the runtest.sh

* added test data url

* fixes on the dotnet test scripts

* fix on prior mistake regarding installation of apt-transport-https

* added verbosity in the test run for easy debugging

* updated comment in the runtest.sh
2019-01-24 13:14:29 -08:00
Scott McKay
bca8daf762
Update ONNX. Implement Scan 9 changes (#366)
* Update ONNX version to pickup Scan spec change that adds scan_output_axes.
Add logic to transpose an output
  - write to temporary buffer when executing subgraph
  - transpose temporary buffer into Scan output when execution completes
Add unit tests

* Update to ONNX dbf3581835e3a05716e10587511d7ab3b2cdc386 to pickup inferencing bugfix.
Update test to match.

* Disable some tests for opset 9 operators that haven't been implemented yet.
2019-01-24 08:10:39 +10:00
stevenlix
8ea7197b82 trt (#361)
* updated cmake files for tensorrt
2019-01-23 13:28:13 -08:00
Harry Summer
904d7c6ec8 Add --cuda_version option to enable manually specifying cuda version 2019-01-22 20:47:28 -08:00
jignparm
ea816615eb
remove use_tvm from base script. Put it in yaml configuration (#363) 2019-01-22 16:46:38 -08:00
Changming Sun
c87929e949 Use nsync for implementing condition variable 2019-01-21 22:59:42 -08:00
Changming Sun
948cc03490 upgrade onnx 2019-01-17 13:10:30 -08:00
Changming Sun
21713b7a41 Reduce test parallelism for cuda model tests 2019-01-17 13:10:30 -08:00
Changming Sun
6225d5fe1e
Update test data (#334)
* update test data
2019-01-15 17:01:46 -08:00
Ashwin Kumar
492d9fd6cc
Use Eigen ThreadPool in OnnxRuntime (#323)
* switch to nonblocking threadpool in inference session and sessions state

* switch to eigen threadpool - first draft

* refine

* refine

* add a switch to easily revert back to windows thread pool

* switch thread pool in test runner and turn on leak checker

* remove unncessary files

* fix build error

* more build fixes

* catch exceptions in parallel executor

* fix mac build error

* fix mac build error

* more build fixes

* more mac build fixes

* fix cv issue

* change macro to include cuda compiler for  disabled compiler warning

* try switching the macro to win32 only

* test #error

* move #disable warning to the top

* Update onnxruntime_framework.cmake

* move eigen include to public scope

* turn off eigenthreadpool by default and add todo comment
2019-01-15 15:19:30 -08:00
Changming Sun
7977871740 Split build pipeline 2019-01-15 12:30:59 -08:00
Raymond Yang
0efc48a11a
Install dotnet sdk on linux ci (#320)
* Try install dotnet sdk on linux ci

* Fix install script

* Add configurable os version in docker build script

* Avoid use ARG in docker
2019-01-14 17:51:45 -08:00
Yufeng Li
02852a0881
Remove OperatorParser tool (#279) 2019-01-10 16:14:37 -08:00
edgchen1
34bcc92554 Added test data URL and checksum arguments to build.py. (#302)
* Added test data arguments to build.py, modified win-ci-pipeline build.

* Updated CI builds to use template tasks, added test data args, removed AZURE_BLOB_KEY uses.

* Fixed up set test data step template.
2019-01-09 22:33:14 -08:00
Yufeng Li
55433abecb Enable build_shared_lib if build_csharp 2019-01-09 22:32:17 -08:00
Changming Sun
e318c7317b update 2019-01-09 15:49:27 -08:00
Changming Sun
8cfe8d33a3 Add nsync (#292)
* Add nsync

* nsync2

* nsync3

* fix build

* update comments

* fix build option
2019-01-09 10:40:55 -08:00
Pranav Sharma
31bbb4598e
Enable tvm in CI builds. (#285)
* Enable tvm in CI builds

* Fix tvm dll path issue
2019-01-07 19:37:06 -08:00
Changming Sun
5e113661a9 Build system upgrades (#281)
* update

* runas normal user
2019-01-07 13:15:24 -08:00
Raymond Yang
ec2cf59baa
Enable building python37 packages (#283) 2019-01-05 18:41:40 -08:00
shahasad
29d03ffb08
Add end-to-end test to run on the nuget package (#252)
* added end-to-end nuget package test

* reset the changes in OnnxRuntime.CSharp.proj

* revert the testdata directory path

* revert inference tests proj file

* added script for running end-to-end tests

* fix in the runtest.bat

* added error checking in runtest

* fixed paths in the test project

* added runtest.sh

* fix protoc path

* updated executable attributes for the runtest scripts

* added some log to debug protoc failures

* removed the protoc and duplicate test code, reuse unit-test code for end-to-end test

* copy always

* fix working dir paths in runtest.sh

* added a build.py flag to download test data without running the c++ tests

* added a script for running the test under docker

* added script for docker run of the test
2018-12-27 15:22:46 -08:00
Dmitri Smirnov
7af1887b33
Introduce basic BFloat16 runtime support (#235)
* Add basic support for BFloat16 type.

* Advance onnx submodule for bfloat16 support.

* Update install_deps for linux.

* Address review comments.
2018-12-21 12:40:59 -08:00
Changming Sun
ac3a081ec5 Enable release build in Windows CI pipelines (#220) 2018-12-19 11:12:43 -08:00
Changming Sun
dc8b37f4c4
update onnx (#209)
* update onnx
2018-12-18 14:50:28 -08:00
edgchen1
0aa1b54aaa
Updated build.py to support relative CMake/CTest paths and did some minor cleanup. (#205) 2018-12-18 13:23:32 -08:00
jignparm
5fd9024139
[WIP] Initial checking for CSharp GPU support (#176)
* Initial checking for CSharp GPU support

* Enabled C# for GPU build

* Update Onnxruntime to Ort

* Add runtime check for cuda dlls for windows

* Update pretrained model test, for models where name!=model.onnx

* lowered tolerance for float checks to pass new models

* ignore extra ._resnet34v2.onnx file in pretrained test
2018-12-17 21:18:48 +00:00
Changming Sun
b418adff42 Disable test data downloading by default (#193) 2018-12-17 11:56:29 -08:00
Changming Sun
fb021b9002 delete azure-pipelines.yml 2018-12-13 18:38:59 -08:00
Changming Sun
0aaaf4663d Update data download script (#171)
* Add cache dir

* update

* disable csharp

* update

* Revert "disable csharp"

This reverts commit e1a80f3272f7e7881f3081a91467756d2769fdf4.

* add output

* update
2018-12-13 14:46:59 -08:00
Changming Sun
618cc51754
Update onnx_backend_test_series.py (#146)
* Update onnx_backend_test_series.py

* Update BUILD.md
2018-12-12 16:25:16 -08:00
Changming Sun
ec71f363f7
Fix a bug in parallel executor and enable test for it in CI (#157)
* Fix a bug in parallel executor and enable test for it in CI
2018-12-12 15:52:36 -08:00
Changming Sun
1beeccb89d Enable data cache (#144) 2018-12-10 19:15:03 -08:00
jignparm
6bfb195184
Jignparm/csharp test difftypes (#126)
* Added tests for C# types

* added multithread c# test

* Added pretrained tests

* Added function to load data from PB file

* added exec task for protoc
2018-12-08 01:34:08 +00:00
Pranav Sharma
c5cbdd5a55
Miscellaneous fixes (#123) 2018-12-06 22:21:04 -08:00
Hector Li
a68f5ccfd9
Upgrade gpu build to CUDA 10 + cudnn 7.3 (#112)
* Upgrade gpu build to CUDA 10 + cudnn 7.3

* update the yaml file for python package building

* switch to the cuda9.1 docker file if the CUDA_VER is cuda9.1-cudnn7.1
2018-12-05 17:49:16 -08:00
Hector Li
4801e67104
Hecli/cuda10 upgrade (#111)
* Add build step to remove the cuda msbuildcutomization file after build, otherwise, the cuda high version could impact the lower version build

* update vs path

* update the path
2018-12-05 14:58:40 -08:00
Tang, Cheng
dd1b16dd58
add brainslice change in common folder (#109) 2018-12-05 13:48:51 -08:00
Hector Li
3dcf344f09
switch build agents to the CUDA 10 pool (#106) 2018-12-05 12:48:02 -08:00
Raymond Yang
3b08c6665a
Split the CI pipelines (#94) 2018-12-04 13:51:35 -08:00
Dmitri Smirnov
fbb23a9ed0
Implement StringNormalizer (#69)
* Imlpement StringNormalizer
  Add mixed language tests, test case insentive path.
* Create a locale on the fly. Default locale does not seem to create well.
* Add CI language-pack-en to make default locale available.
  Catch and translate locale creation exception to make the message
  meaningful.
* Make sure locales are configured on Ubuntu.
2018-12-04 13:47:08 -08:00
Raymond Yang
1e59b6f1c2
Minor fixes to CI definitions (#80)
* Align win gpu ci parameters with vsts definition

* Fix linux CI script to avoid docker name conflict
2018-12-03 17:35:23 -08:00
Raymond Yang
fd0d7c5fc0 Add the mac python packaging script (#72)
* Add pipeline for building python wheels for Windows/Linux CPU and GPU

* try enable mkldnn

* remove mklml

* Update python packaging configuration

* Try macos pywheel packaging

* Try removing mkldnn from mac build

* Use conda in mac agents

* Change to build release only

* Add the mac wheel packaging list to the packaging yaml

* Add mkldnn into mac wheels
2018-11-30 17:31:15 -08:00
Scott McKay
4dd1e50aa7 Merge remote-tracking branch 'origin/master' into scmckay/UpdateCudaInfoInBuildMd 2018-11-29 14:53:11 +10:00
Scott McKay
91f1866b64 Only check for 'bin' folder in cudnn path on windows. 2018-11-29 12:25:41 +10:00
Raymond Yang
cb1781927f Remove mklml in Linux python wheel packagaing (#53) 2018-11-28 17:37:49 -08:00
Scott McKay
2f61926390 Update build.md section on CUDA builds to clarify and add CUDA 10.0 info.
Add --msvc_toolset param to build.py
Tweak CMakeLists.txt to set the CUDA toolset path from onnxruntime_CUDA_HOME.
2018-11-29 10:37:21 +10:00
Shah Asaduzzaman (ASAD)
6e2a1ceb41 merged from master 2018-11-28 01:29:08 -08:00
Raymond Yang
1b3efc36c1 Add pipeline for building python wheels (#41)
* Add pipeline for building python wheels for Windows/Linux CPU and GPU

* try enable mkldnn

* remove mklml

* Update python packaging configuration

* Add python3.7 support

* Revert to disable the py37 packaging on windows
2018-11-27 20:02:41 -08:00
Pranav Sharma
3f4589ced5
Add remaining build options and make minor changes in documentation (#39)
* Minor changes in documentation

* Synchronous, not sync

* Add remaining build options after mkldnn fix
2018-11-27 19:59:40 -08:00