raviskolli
9f4e8cf6a0
Update training pipelines to pytorch 1.10 ( #9709 )
...
* Update training pipelines to pytorch 1.10
* Fixed a typo in cuda version.
* Downgraded gcc to 8 for cuda 10.2
2021-11-15 11:21:55 -08:00
Tang, Cheng
99257eb8e3
support build option to include external graph transformers ( #9478 )
...
* temp code
* support external graph transformer from build script
* remove debug code
* add test case
* support register rewrite rule
* fix source_group issue if external source is not share any common prefix
* fix python code style checker
* resolve merge conflict
Co-authored-by: Cheng Tang <chenta@microsoft.com>
2021-11-15 08:16:20 -08:00
pengwa
6e09fc5152
Implement block wise softmax for reduction dimention > 1024 cases. ( #9696 )
...
* implement block wise softmax for reduction dimention > 1024 cases.
* fix builds
* fix
* fix amd build
* fix amd build
* fix win-gpu build
* add tests
* remove cudnn path/add python tests
2021-11-14 11:47:58 +08:00
Edward Chen
9f69d8bbae
Disable partial runtime optimization implementation by default ( #9748 )
...
* Only serialize runtime optimization records container if non-empty.
* Remove runtime optimizations from onnxruntime/core/flatbuffers/schema/README.md as it's not completely implemented yet.
* Disable partial runtime optimization implementation by default.
2021-11-12 17:37:29 -08:00
Guoyu Wang
5ad6dbb314
Remove experimental from ORT format namespace ( #9729 )
...
* schema change
* cc channges
* remove temp debug code
* Adding fbs namespace to session_state_flatbuffers_utils.h
* Add fbs namepsace to all ort format utils
2021-11-11 19:46:30 -08:00
Edward Chen
997266a620
Add build.py option to disable ORT format model runtime optimization ( #9723 )
...
ORT format model runtime optimization implementation is in progress.
This change adds a build.py option to disable the partial runtime optimization implementation, adds CI builds to test it, and disables runtime optimizations in mobile package builds.
2021-11-11 18:05:45 -08:00
Viswanath Boga
9d84811fb6
fixing pypi pipeline for release ( #9716 )
...
* fixing pypi pipeline for release
* updated the script and correct python version
* updated the version correctly with script changes
* Remove 1.9.1
2021-11-10 17:33:51 -08:00
Edward Chen
962feff7f1
Update linux-ci-pipeline.yml to run debug unit tests. ( #9722 )
2021-11-10 16:43:40 -08:00
Yulong Wang
31dc768e07
update ONNX Runtime Web CI to use same script for package versioning ( #9698 )
...
* use ps script for package generating
* allow e2e test has no common pkg
2021-11-10 12:52:34 -08:00
Changming Sun
de018f58e8
Update manylinux build scripts ( #9701 )
2021-11-09 11:55:49 -08:00
Guoyu Wang
a70ae24475
Add QDQ::Selector::Select to use const GraphViewer instead of mutable Graph ( #9621 )
...
* Move qdq selector to use const GraphViewer
* minor update
* Move qdq logic from NodeSelector to QDQ Selectors
* Fix build break
* Move selector result to NodesToOptimizeIndexes
* fix build break
* address CR comments
* move indexes -> indices
* Pass graph_viewer to avoid recreating many times
* Update after merge master
* update graph viewer remarks
* update comments
* Add ut for new qdq selector logic
* Increase minimal binary size limit
* UT minor update
* Address CR comments
2021-11-08 21:36:29 -08:00
Changming Sun
53afaefe3b
Refactor Windows CI pipeline yaml files ( #9672 )
2021-11-08 11:11:49 -08:00
Ryan Hill
24e35fba32
Change TensorShape to typically not allocate heap memory ( #9542 )
2021-11-08 10:29:54 -08:00
Yulong Wang
c6fddb263f
Add Node.js binding support to packaging pipeline ( #9577 )
2021-11-05 15:29:40 -07:00
Changming Sun
1cbbafdbe0
Change the default value of onnxruntime_DISABLE_RTTI ( #9674 )
2021-11-05 15:27:04 -07:00
Edward Chen
3e5dbfd94f
Increase binary size limit and publish binary size data even if limit is exceeded. ( #9675 )
2021-11-05 09:41:20 -07:00
Abhishek Jindal
dfe4d0a330
Abjindal/eager windows ci pipeline ( #9587 )
...
* adding eager ci pipelines files
* adding import torch before onnxruntime
* finding os environ path
* finding os environ path corrected
* print OS environ path variables
* adding environ path for torch
* changing python version
* changing python python for torch libs
* removing import torch statements
* removing unncecessary torch path
* removing path variable
* add dll_path
* test for python 3.7
* adding dll directory path for python 3.8+
* print dll directory path for python 3.8+
* adding requirements file
* change requirements directory
* print more
* adding dll dir path
* removing setup eager file
* adding details for dll directory
* adding details for dll directory more
* adding import torch in onnxruntime init file
* removing dll dir path and moving requirements file
* enabling pipeline for py3.7
* remove enter
* removing debug build
* removing openmp
* adding comments for torch dll loading and cases of failure
* cleaning up the pipeline
2021-11-05 09:09:09 -07:00
Changming Sun
74dc48f61c
Remove python 3.6 from macos pipeline ( #9602 )
2021-11-04 19:36:44 -07:00
Hariharan Seshadri
bbeceb7541
Support optional type in ORT ( #8339 )
2021-11-04 15:01:42 -07:00
Sheil Kumar
71a1a7b471
Enable building winml with --build_nuget ( #9632 )
...
* Enable building winml with --build_nuget
* Fix flake8 errors
* semicolor
Co-authored-by: Sheil Kumar <sheilk@microsoft.com>
2021-11-04 00:42:51 -07:00
Guoyu Wang
9cedb12c89
Add App Center e2e test to Android package ( #9653 )
...
* Add app center test for Android pipeline
* update android test path
* Add logging of system abi
* fix java spotless error
2021-11-03 22:56:46 -07:00
Changming Sun
2406a425a7
Move the common part of Windows CPU CI pipeline to a template file ( #9650 )
2021-11-03 17:35:51 -07:00
liqun Fu
15867dcc08
enable prefast check with orttraining win pipeline ( #9638 )
...
* enable prefast check with orttraining win pipeline
* timeout to 200
Co-authored-by: liqun <liqun@OrtTrainingDev4.af05slrtruoetgaxwwjv5nsq5e.px.internal.cloudapp.net>
2021-11-03 15:20:44 -07:00
Edward Chen
c315d1b3cd
Always enable ORT format model loading. ( #9586 )
2021-11-01 10:00:08 +10:00
Guoyu Wang
fa4658e8a9
Move to XCode new build system if building on Mac using XCode ( #9617 )
...
* Use xcode new build system
* Address cr comments
2021-10-29 18:44:55 -07:00
Guoyu Wang
57491b6f93
Add App Center test for iOS package ( #9605 )
...
* Add app center test for iOS package
* fix flake8
* fix yml templates path
* Address CR comments
2021-10-29 15:23:01 -07:00
Hariharan Seshadri
b5f7bb7d10
Update ONNX ( #9462 )
2021-10-29 10:33:40 -07:00
Changming Sun
173e538b80
Update mac-ios-packaging-pipeline.yml
2021-10-28 14:25:29 -07:00
Changming Sun
cc73bcc243
Suppress component governance component warnings for ios
2021-10-28 14:25:29 -07:00
Changming Sun
87b1fddd97
Add Linux/MacOS ARM64 support to nuget packaging pipeline ( #9570 )
2021-10-27 19:00:43 -07:00
Changming Sun
aa76520e60
Update macOS build agents to macOS 11 ( #9562 )
2021-10-27 10:00:04 -07:00
Scott McKay
b5a652c578
Add Xamarin support ( #9436 )
...
Add Xamarin support to the ORT nuget packages.
- Update C# code to support Xamarin builds for iOS and Android
- refactor some things to split out common code
- include iOS and Android ORT native shared library in native nuget package
2021-10-27 20:07:07 +10:00
Yulong Wang
90555bf96d
[node.js binding] enable CI for macOS arm64 ( #9532 )
...
* nodejs aggr
* add dependency
* no unzip
* fix aggregation
* add arm64 for mac
* mac arm64 build
* fix commandline
* add check for multi-CMAKE_OSX_ARCHITECTURES
* fix
2021-10-26 16:42:19 -07:00
Yulong Wang
bf4c3fa3d6
[node.js binding] aggregate binaries for multiple platforms in single NPM package ( #9501 )
2021-10-25 20:16:10 -07:00
marcusfreisleben
651955d3c9
CUDA: Enable parallel compilation ( #8974 )
...
* Pass on parallel option to nvcc
* Fixed build.py
* Added missing string conversion
* Adressed review points
2021-10-25 16:42:58 -07:00
Changming Sun
d83adaaf9f
Remove optional-lite ( #9424 )
2021-10-22 16:45:45 -07:00
Jeff Daily
ca7116ca3e
CUDA EP's ResizeImpl now uses functors, hipify for ROCm EP ( #9466 )
...
Support for device function pointers is not yet available for ROCm.
Instead, the device function pointers were converted to device functors.
Case statements, lambdas, and macros are used for dispatch; as a result,
all combinations of kernels are compiled with inlined functors. The
basis of this approach can be found in PyTorch.
Lastly, hipify and register Resize and Upsample for ROCm EP.
2021-10-21 15:02:41 -07:00
Jeff Daily
66ceb6926d
rehipify ROCm EP files under orttraining ( #9443 )
...
* rehipify rocm ep files under orttraining committed to source control
* fix flake8 error
2021-10-21 13:36:21 -07:00
Jeff Daily
89a22fb641
Add TopK to ROCm EP ( #9391 )
...
* Add TopK to ROCm EP
* flake8 fix
2021-10-20 10:39:44 -07:00
Jeff Daily
f8acc6d0e8
Add NonMaxSuppression and RoiAlign to ROCm EP ( #9394 )
2021-10-20 10:38:45 -07:00
Jeff Daily
c33391329a
Add QuantizeLinear and DequantizeLinear to ROCm EP ( #9401 )
2021-10-20 10:37:58 -07:00
Changming Sun
406f1629c1
Remove Featurizers code ( #9300 )
2021-10-20 10:20:35 -07:00
Jeff Daily
52c53e396d
hipify tensor/gather_nd_impl.cu ( #9392 )
2021-10-19 14:15:49 -07:00
Jeff Daily
a2ba923ac7
hipify fast_divmod.h ( #9400 )
2021-10-19 12:34:46 -07:00
Jeff Daily
a8e2e8d76a
hipify tensor/transpose.cc and tensor/transpose.h ( #9397 )
2021-10-19 12:27:36 -07:00
Yulong Wang
5b65f1cb44
fixes SDL Native Rules warning in Node.js binding CI ( #9402 )
2021-10-18 13:05:46 -07:00
Changming Sun
6ecb990fae
Update win-ci-pipeline.yml
2021-10-18 10:43:19 -07:00
Jeff Daily
c8789d3047
[ROCm] static re-hipify of CUDA EP to ROCm EP, now a shared provider ( #8877 )
...
* re-hipify all rocm EP sources
* fix all other files affected by re-hipify
* add cuda_provider_factory.h to amd_hipify.py
* do not use cudnn_conv_algo_search in ROCm EP, missing reduce min registration
* Fix ReduceConsts template specialization introduced in #9101 .
Fixes the error when building for ROCm 4.3.1:
error: too many template headers for onnxruntime::rocm::ReduceConsts<__half>::One (should be 0)
* fix flake8 error in amd_hipify.py
* speed up hipify with concurrent.futures
* flake8 fix in amd_hipify.py
2021-10-14 15:15:51 -07:00
Abhishek Jindal
87e726d1a0
Abjindal/merge eager with external custom ops ( #8986 )
...
* switching to pytorch nightly build
* adding eager mode
* enable pybind and remove install step
* removing auditwheel repair process
* installing package
* adding auditwheel back
* disabling auditwheel repair for eager mode
* typo correction
2021-10-14 13:19:45 -07:00
Abhishek Jindal
23700a15a0
Abjindal/eager windows build ( #9326 )
...
* removing warnings which are causing errors from torch and changing flags for Windows
* adding MKL library resolution and comments
* cleaning up the code
* fixing onnxruntime_python file for windows build
* fix the include order to aovid the python_d.lib issue on win debug build
* changes for warnings, typos and other comments
* merge conflict
* adding fix for mkl library error
* Revert "adding fix for mkl library error"
This reverts commit 73b87c73c2 .
* fix for dll path for windows
* typo for dll path
Co-authored-by: Cheng Tang <chenta@microsoft.com>
2021-10-14 12:54:49 -07:00