ONNX Runtime: cross-platform, high performance ML inferencing and training accelerator
Find a file
Ye Wang f202cf3280
First round cherry-pick to rel-1.9.0 (#9019)
* fast reduction for reducemean (#8976)

* Adding preprocessor checks for torch version during torch cpp extensions compilation (#8989)

* custom autograd func memory refinement  (#8993)

* Release torch tensor referenced by torch gradient graph (created in PythonOp)

* Update orttraining/orttraining/python/training/ortmodule/torch_cpp_extensions/torch_interop_utils/torch_interop_utils.cc

* refine with comments

Co-authored-by: Wei-Sheng Chin <wschin@outlook.com>

* Fix issues in TensorRT EP (#8996)

* fix big engine load issue and add cuda_cpu_alloc

* remove redundancy

* fix minor issues

* [js/web] fix karma launch with chrome headless (#8998)

* Update Nuget Packge Pipline to CUDA11.4 and TensorRT8 on Windows (#9000)

* Update to CUDA11.4 and TensorRT-8.0.3.4

* update trt pool, remove cudnn from setup_env_gpu.bat

* revert pool

* test gpu package pipeline on t4

* back out changes

* back out changes

Co-authored-by: George Wu <jywu@microsoft.com>

* Fix fuzz testing build blocking release. (#9008)

* add model local function support (#8540)

* updates for picking pnnx commit

* add tests filter to c# tests

* plus test fixes

* fix versioning for contrib ops

* fix tests

* test filter for optional ops

* more versioning related updates

* fix test

* fix layernorm spec

* more updates

* update docs

* add more test filters

* more filters

* update binary size threshold

* update docs

* draft - enable model local function

* enable model local functions in ORT

* update to latest rel onnx commit

* plus tests

* plus more updates

* plus updates

* test updates

* Fix for nested functions + shape inference

* plus bug fix and updates per review

* plus fixes per review

* plus test updates

* plus updates per review

* plus fixes

* fix a test

Co-authored-by: Vincent Wang <wangwchpku@outlook.com>
Co-authored-by: baijumeswani <bmeswani@microsoft.com>
Co-authored-by: pengwa <pengwa@microsoft.com>
Co-authored-by: Wei-Sheng Chin <wschin@outlook.com>
Co-authored-by: stevenlix <38092805+stevenlix@users.noreply.github.com>
Co-authored-by: Yulong Wang <yulongw@microsoft.com>
Co-authored-by: Chi Lo <54722500+chilo-ms@users.noreply.github.com>
Co-authored-by: George Wu <jywu@microsoft.com>
Co-authored-by: Pranav Sharma <prs@microsoft.com>
Co-authored-by: Ashwini Khade <askhade@microsoft.com>
2021-09-09 15:05:38 -07:00
.gdn Update compliance tasks in python packaging pipeline and fix some compile warnings (#8471) 2021-07-30 17:16:37 -07:00
.github Update issue template to ask users to check known issues to avoid repetition. (#8288) 2021-07-02 15:36:14 -07:00
cgmanifests Add QDQ model support in TensorRT EP (#8969) 2021-09-03 19:33:34 -07:00
cmake make_policy(SET CMP0104 OLD) (#8793) 2021-09-07 13:12:50 -07:00
csharp Add netstandard2.0 framework to nuget managed package. (#8960) 2021-09-04 08:01:46 +10:00
dockerfiles Change cmake_cuda_architectures to double quotes (#8990) 2021-09-08 09:41:52 -07:00
docs ReduceMin - add int64 cuda kernel support for opset12/13 (#8966) 2021-09-07 17:01:26 -07:00
include/onnxruntime/core First round cherry-pick to rel-1.9.0 (#9019) 2021-09-09 15:05:38 -07:00
java Add NNAPI E2E test for Android java package (#8912) 2021-08-31 17:34:33 -07:00
js First round cherry-pick to rel-1.9.0 (#9019) 2021-09-09 15:05:38 -07:00
objectivec [Objective-C] Enable static analysis, second try (#8875) 2021-08-30 10:43:45 -07:00
onnxruntime First round cherry-pick to rel-1.9.0 (#9019) 2021-09-09 15:05:38 -07:00
orttraining First round cherry-pick to rel-1.9.0 (#9019) 2021-09-09 15:05:38 -07:00
package/rpm bumping up to version 1.9 (#8982) 2021-09-07 14:30:55 -07:00
samples Add Python checks pipeline (#7032) 2021-08-09 10:37:05 -07:00
server fix boost download url (#7843) 2021-05-26 16:08:57 -07:00
tools First round cherry-pick to rel-1.9.0 (#9019) 2021-09-09 15:05:38 -07:00
winml Add new option to disable cpu sync for tensors (#8490) 2021-08-27 13:29:52 -07:00
.clang-format
.clang-tidy
.dockerignore Update dockerfiles (#5929) 2020-11-25 15:38:22 -08:00
.flake8 Add Python checks pipeline (#7032) 2021-08-09 10:37:05 -07:00
.gitattributes
.gitignore Add netstandard2.0 framework to nuget managed package. (#8960) 2021-09-04 08:01:46 +10:00
.gitmodules [js/web] update emsdk to v2.0.26 (#8653) 2021-08-26 15:31:34 -07:00
build.amd64.1411.bat
build.bat
build.sh
CODEOWNERS Update CODEOWNERS with mobile team ownership of expected kernel def hash data files. (#8454) 2021-07-22 11:19:06 -07:00
CONTRIBUTING.md fixed the link (#8757) 2021-08-18 11:45:42 -07:00
LICENSE Remove year from license (#6658) 2021-02-12 00:25:56 -08:00
NuGet.config Delete nuget extra configs (#6477) 2021-01-27 20:25:45 -08:00
ort.wprp
packages.config Update DirectML version to 1.5.1 and enable ARM/ARM64 builds with DML (#7511) 2021-04-30 00:49:30 -07:00
README.md Fix typo 2021-08-12 15:57:15 -07:00
requirements-dev.txt Add post-install command to build PyTorch CPP extensions from within onnxruntime package (#8027) 2021-06-28 18:11:58 -07:00
requirements-doc.txt Add auto doc gen for ORTModule API during CI build (#7046) 2021-03-22 10:20:33 -07:00
requirements-training.txt Add post-install command to build PyTorch CPP extensions from within onnxruntime package (#8027) 2021-06-28 18:11:58 -07:00
requirements.txt.in Chang how numpy version is handled. (#8130) 2021-06-23 14:08:37 -07:00
setup.py Fix python manylinux to not load cuda if it fails to load dependencies (#8882) 2021-09-07 11:09:25 -07:00
ThirdPartyNotices.txt Extend node debugging utilities to push tensors and node placement to SQL database (#8672) 2021-08-21 00:40:12 -07:00
VERSION_NUMBER bumping up to version 1.9 (#8982) 2021-09-07 14:30:55 -07:00

ONNX Runtime is a cross-platform inference and training machine-learning accelerator.

ONNX Runtime inference can enable faster customer experiences and lower costs, supporting models from deep learning frameworks such as PyTorch and TensorFlow/Keras as well as classical machine learning libraries such as scikit-learn, LightGBM, XGBoost, etc. ONNX Runtime is compatible with different hardware, drivers, and operating systems, and provides optimal performance by leveraging hardware accelerators where applicable alongside graph optimizations and transforms. Learn more →

ONNX Runtime training can accelerate the model training time on multi-node NVIDIA GPUs for transformer models with a one-line addition for existing PyTorch training scripts. Learn more →

Get Started

General Information: onnxruntime.ai

Usage documention and tutorials: onnxruntime.ai/docs

Companion sample repositories:

Build Pipeline Status

System CPU GPU EPs
Windows Build Status Build Status Build Status
Linux Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Mac Build Status
Build Status
Android Build Status
iOS Build Status
WebAssembly Build Status

Data/Telemetry

Windows distributions of this project may collect usage data and send it to Microsoft to help improve our products and services. See the privacy statement for more details.

Contributions and Feedback

We welcome contributions! Please see the contribution guidelines.

For feature requests or bug reports, please file a GitHub Issue.

For general discussion or questions, please use GitHub Discussions.

Code of Conduct

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

License

This project is licensed under the MIT License.