onnxruntime

microsoft / onnxruntime

ONNX Runtime 是微软开源的跨平台高性能推理与训练加速引擎,支持多种硬件后端,用于高效部署机器学习模型。

C++ AI 基础设施 数据科学 桌面/移动应用 推理加速 跨平台 模型部署 ONNX 微软

为什么值得看

编辑点评

作为工业级推理引擎,它兼容 PyTorch、TensorFlow 等导出的 ONNX 模型,并提供量化、图优化和异构执行能力。适合需要低延迟、高吞吐的模型服务场景,尤其在 Windows/Linux/边缘设备上表现稳定。注意:部分自定义算子可能需要额外适配,且训练加速功能相对较新,生产环境以推理为主。

Star 趋势

近 7 日
  • Star 总数21,865
  • 今日新增+5
  • 7 日增速-38%
  • Fork4,232

同类项目

同场景 · AI 基础设施 / 数据科学 / 桌面/移动应用

项目文档

来自 GitHub README · main 分支

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

Releases

The current release and past releases can be found here: https://github.com/microsoft/onnxruntime/releases.

For details on the upcoming release, including release dates, announcements, features, and guidance on submitting feature requests, please visit the release roadmap: https://onnxruntime.ai/roadmap.

Data/Telemetry

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.

文档抓取自 GitHub 仓库 README,版权归原作者所有;已过滤徽章等噪音并经安全消毒后展示。