ONNX Runtime: cross-platform, high performance ML inferencing and training accelerator
Find a file
Dmitri Smirnov bbedf2c4c5
Improve cache locality and perf of DeepGru on CPU (#13582)
### Description
<!-- Describe your changes. -->
Introduce Gemm weights pre-pack.

### Motivation and Context
A 1-P customer requested a performance improvement for DeepGru which
consumes a bulk of CPU in their model. This provides measurable
performance improvements.

Customer model numbers.

gru: mean = 356 us; 1ms = 99.8 prctile; 99th prctile = 665 ms
(yuslepukhin/deep_gru_opt)
main: mean = 375 us; 1ms = 99.8 prctile; 99th prctile = 695 ms (where
yuslepukhin/deep_gru_opt branched off main)
1.13.1: mean = 391 us; 1ms = 99.6 prctile; 99th prctile = 744 ms
2022-11-09 09:59:38 -08:00
.config Update tsaoptions.json: update the email alias (#13448) 2022-10-26 15:56:16 -07:00
.devcontainer Remove two lines in the Dockerfile for Github Codespace (#12278) 2022-07-21 20:52:17 -07:00
.gdn
.github Update Win_GPU_CI trigger (#13290) 2022-10-12 15:22:42 +08:00
.pipelines Remove the cmake option: onnxruntime_DEV_MODE (#13573) 2022-11-07 09:06:28 -08:00
.vscode cpplint & Eager mode: refactor and add comments to empty_* functions, general lint cleanup in ort_aten (#12238) 2022-07-20 11:47:57 -04:00
cgmanifests [tvm] Add support for int8 models, update TVM revision (#13519) 2022-11-08 11:28:32 -08:00
cmake DML EP add a registration for Shape and Size (#13442) 2022-11-08 19:29:37 -08:00
csharp Add getter/setter of C# OrtEnv log level (#13402) 2022-11-04 21:46:00 -07:00
dockerfiles Upgrade cmake version to 3.24 (#13569) 2022-11-04 22:58:51 -07:00
docs DML EP add a registration for Shape and Size (#13442) 2022-11-08 19:29:37 -08:00
include/onnxruntime/core Ignore saved runtime optimizations when updating ORT format model <v5. (#13393) 2022-11-08 13:36:46 -08:00
java [Java] Fix OnnxSequence semantics (#13012) 2022-09-28 15:53:30 -07:00
js Bumping up version number to 1.14.0 on main branch (#13401) 2022-10-21 19:16:44 -04:00
objectivec Deprecate CustomApi and refactor public API for better safety and consistency (#13215) 2022-10-06 14:57:37 -07:00
onnxruntime Improve cache locality and perf of DeepGru on CPU (#13582) 2022-11-09 09:59:38 -08:00
orttraining Replace deprecated Python dependency sklearn with scikit-learn. (#13585) 2022-11-08 09:08:29 -08:00
package/rpm Bumping up version number to 1.14.0 on main branch (#13401) 2022-10-21 19:16:44 -04:00
samples
tools Remove torch and valgrind from inference pipelines (#13568) 2022-11-08 14:51:02 -08:00
winml Fix WinML Test Case: create LearningModelBinding for every testcase (#13587) 2022-11-09 11:20:48 +08:00
.clang-format
.clang-tidy Create clang-tidy CI (#12653) 2022-09-30 08:05:38 -07:00
.dockerignore
.flake8 Remove miscellaneous nuphar configs (#13070) 2022-09-26 13:41:28 -07:00
.gitattributes
.gitignore Ignore settings.json in git (#12988) 2022-09-19 12:05:43 -07:00
.gitmodules Delete CUB (#13534) 2022-11-02 13:06:22 -07:00
build.amd64.1411.bat
build.bat
build.sh
CITATION.cff
CODEOWNERS Add cgmanifest file in codeowner list (#13042) 2022-09-22 18:58:01 -07:00
CONTRIBUTING.md
lgtm.yml
LICENSE
NuGet.config
ort.wprp
ORT_icon_for_light_bg.png
packages.config Update DML 1.9.0 to 1.9.1 (#12966) 2022-09-15 10:54:22 -07:00
pyproject.toml Reduce CI noise from Python lint (#12270) 2022-07-27 13:42:29 -07:00
README.md Remove miscellaneous nuphar configs (#13070) 2022-09-26 13:41:28 -07:00
requirements-dev.txt
requirements-doc.txt
requirements-training.txt Change protobuf pin in training requirements (#13596) 2022-11-09 09:37:41 -08:00
requirements.txt.in
SECURITY.md
setup.py Enable ORT in TorchDynamo (#13259) 2022-11-01 11:19:29 -07:00
ThirdPartyNotices.txt Delete CUB (#13534) 2022-11-02 13:06:22 -07:00
VERSION_NUMBER Bumping up version number to 1.14.0 on main branch (#13401) 2022-10-21 19:16:44 -04: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
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.