ONNX Runtime: cross-platform, high performance ML inferencing and training accelerator
Find a file
Scott McKay 887a818aa7
Check for unit test log severity override earlier (#21177)
### Description
<!-- Describe your changes. -->
Setting the log level after environment creation is too late in some
cases.

If the DML EP is enabled, it will create a composite sink with the
original logger using the creation time log severity, as well as
additional ETW sink. As it saves the current severity levels for each
sink inside the composite sink that prevents being able to get verbose
log output to stdout even if you set that at the session level.

I don't know enough about the setup that combines ETW with the original
sink to say whether we should also be updating the severity of
individual sinks in the combined sink, so this change is limited to
making the unit tests behave in the expected manner when the default log
severity is set in the background and not directly controlled.


### Motivation and Context
<!-- - Why is this change required? What problem does it solve?
- If it fixes an open issue, please link to the issue here. -->
Make it possible to get verbose output to stdout when the DML EP is
enabled.
2024-06-27 12:51:13 +10:00
.config
.devcontainer
.gdn
.github Make Flash Attention work on Windows (#21015) 2024-06-24 09:43:49 -07:00
.pipelines Fix onebranch exception in code signing (#21088) 2024-06-19 12:07:17 +08:00
.vscode
cgmanifests [ROCm] Update ck to use ck_tile (#21030) 2024-06-19 14:06:10 +08:00
cmake Make Flash Attention work on Windows (#21015) 2024-06-24 09:43:49 -07:00
csharp Update to the net8 MAUI targets. Remove Xamarin. (#21062) 2024-06-19 16:20:58 +10:00
dockerfiles Update Dockerfile.cuda (#21042) 2024-06-13 23:50:03 -07:00
docs Rename a mispelled filename in the documentation (#21066) 2024-06-17 18:18:41 +02:00
include/onnxruntime/core
java Remove warning suppression from Java Packaging pipeline. (#21010) 2024-06-24 16:46:21 -07:00
js [WebNN EP] Support rest Reduction ops for TFLite backend (#21135) 2024-06-25 18:30:55 -07:00
objectivec
onnxruntime Check for unit test log severity override earlier (#21177) 2024-06-27 12:51:13 +10:00
orttraining Rollback 19832, Remove shape_input_merge Fusion (#21179) 2024-06-26 10:00:45 -07:00
rust
samples
tools Remove warning suppression from Java Packaging pipeline. (#21010) 2024-06-24 16:46:21 -07:00
winml
.clang-format
.clang-tidy
.dockerignore
.gitattributes
.gitignore
.gitmodules
.lintrunner.toml Make Flash Attention work on Windows (#21015) 2024-06-24 09:43:49 -07:00
build.bat
build.sh
build_arm64x.bat
CITATION.cff
CODEOWNERS
CONTRIBUTING.md
lgtm.yml
LICENSE
NuGet.config
ort.wprp
ORT_icon_for_light_bg.png
packages.config
pyproject.toml
README.md
requirements-dev.txt
requirements-doc.txt
requirements-lintrunner.txt
requirements-training.txt
requirements.txt.in
SECURITY.md
setup.py Revert "[MIGraphX EP] enable compilation and execution on Windows (21084)" (#21132) 2024-06-21 01:01:07 -07:00
ThirdPartyNotices.txt
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

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.