ONNX Runtime: cross-platform, high performance ML inferencing and training accelerator
Find a file
Khalia Spear 4e6ea730d6
Broadcasting for SLN for CPU and CUDA (#16510)
### Description
Enhanced SkipLayerNorm by implementing broadcasting for both CPU and
CUDA



### Motivation and Context
The input and skip tensors no longer have to be the same size which
means that it can accept data where the skip shape can be the same size
as the input shape, have a shape of {1, sequence_length, hidden_size},
or {sequence_length, hidden_size}.

---------

Co-authored-by: Tianlei Wu <tlwu@microsoft.com>
2023-08-07 09:55:42 -07:00
.config
.devcontainer
.gdn
.github Fix onnxruntime_tvm (#16933) 2023-08-02 07:51:00 +08:00
.pipelines Workaround to upgrade VS2022 for Windows ARM build (#16826) 2023-07-25 08:35:52 +08:00
.vscode Broadcasting for SLN for CPU and CUDA (#16510) 2023-08-07 09:55:42 -07:00
cgmanifests [TensorRT EP] TRT 8.6 minor version update (#16475) 2023-06-26 10:44:27 -07:00
cmake Fix protobuf TaggedStringPtr display (#17008) 2023-08-04 17:51:01 -07:00
csharp [C#] Rename unreleased API, add utilities (#16806) 2023-08-02 10:06:42 -07:00
dockerfiles Enable model subgraph execution in OVEP and setting the OpenVINO dll's to the path from the OpenVINO pypi packge in OVEP and fix OVEP windows io buffer sample (#16147) 2023-06-16 19:47:09 -07:00
docs Broadcasting for SLN for CPU and CUDA (#16510) 2023-08-07 09:55:42 -07:00
include/onnxruntime/core Add API for updating TRT EP provider option user compute stream (#16965) 2023-08-04 15:14:43 -07:00
java [java] Fills out the javadoc so there are no more documentation warnings (#16776) 2023-07-27 16:17:03 +10:00
js [js/webgpu] Make sure only storage buffers are reused (#16893) 2023-08-04 13:40:52 -07:00
objectivec Objective-C Add Support to Create and Query String ORTValues (#16764) 2023-07-20 17:39:29 -07:00
onnxruntime Broadcasting for SLN for CPU and CUDA (#16510) 2023-08-07 09:55:42 -07:00
orttraining Fix few small bugs (#17019) 2023-08-07 14:01:36 +08:00
rust
samples
swift/OnnxRuntimeBindingsTests
tools [EP Perf] MemTest: Add Valgrind and fix addressSanitizer (#16930) 2023-08-04 16:58:57 -07:00
winml Format c++ code under winml/ (#16660) 2023-07-25 21:56:50 -07:00
.clang-format
.clang-tidy
.dockerignore
.gitattributes
.gitignore
.gitmodules
.lintrunner.toml Format c++ code under winml/ (#16660) 2023-07-25 21:56:50 -07:00
build.bat Upgrade old Python version in packaging pipeline (#16667) 2023-07-17 08:24:47 -07:00
build.sh Upgrade old Python version in packaging pipeline (#16667) 2023-07-17 08:24:47 -07:00
CITATION.cff
CODEOWNERS
CONTRIBUTING.md
lgtm.yml
LICENSE
NuGet.config
ort.wprp
ORT_icon_for_light_bg.png
Package.swift Objective-C Add Support to Create and Query String ORTValues (#16764) 2023-07-20 17:39:29 -07:00
packages.config
pyproject.toml Disable PERF* rules in ruff to allow better readability (#16834) 2023-07-25 15:38:22 -07:00
README.md
requirements-dev.txt
requirements-doc.txt
requirements-lintrunner.txt [Better Engineering] Bump ruff to 0.0.278 and fix new lint errors (#16789) 2023-07-21 12:53:41 -07:00
requirements-training.txt
requirements.txt.in
SECURITY.md
setup.py Refactor schema extraction and output unflattening (#16894) 2023-08-04 13:58:21 +08:00
ThirdPartyNotices.txt Support SmoothQuant for ORT static quantization (#16288) 2023-07-26 18:56:45 -07:00
VERSION_NUMBER

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 & Resources

Builtin Pipeline Status

System Inference Training
Windows Build Status
Build Status
Build Status
Linux Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Mac Build Status
Android Build Status
iOS Build Status
Web Build Status
Other Build Status
Build Status

Third-party Pipeline Status

System Inference Training
Linux 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.