Discover and explore top open-source AI tools and projects—updated daily.
pykeioFast ML inference and training for ONNX models in Rust
Top 23.0% on SourcePulse
Summary
pykeio/ort provides a high-performance Rust interface for machine learning inference and training using ONNX models. It acts as a wrapper for Microsoft's ONNX Runtime, enabling hardware-accelerated execution across diverse hardware, while remaining lightweight enough for on-device deployment. This project targets developers needing efficient, cross-platform deployment of models trained in frameworks like PyTorch, TensorFlow, and scikit-learn.
How It Works
The core of ort is its Rust binding to Microsoft's ONNX Runtime library, facilitating fast, hardware-accelerated inference. It also offers support for alternative pure-Rust runtimes. This approach leverages the robust, optimized backend of ONNX Runtime while providing a modern, safe Rust API. The design prioritizes speed and broad hardware compatibility, including various accelerators, making it suitable for both datacenter and edge computing scenarios.
Quick Start & Requirements
Specific installation commands, detailed prerequisites (like required CUDA versions or Python versions), or setup time estimates are not explicitly detailed in the provided README. Links to a "Documentation Guide," "API reference," and "Examples" are mentioned, suggesting resources are available for users to explore setup procedures.
Highlighted Details
Maintenance & Community
The project is sponsored by Authentic AI. Community support is available via a Discord server (#ort-general) and GitHub Discussions. The project is built upon the foundation of the "now-inactive onnxruntime-rs crate," indicating a potential evolution or fork from previous efforts. A list of "FOSS projects using ort" highlights active adoption.
Licensing & Compatibility
The specific open-source license for pykeio/ort is not explicitly stated in the provided README text. This omission requires further investigation to determine compatibility for commercial use or integration into closed-source projects.
Limitations & Caveats
The primary dependency is Microsoft's ONNX Runtime, which may introduce its own set of system requirements and potential compatibility issues. The README notes the inactivity of a predecessor crate (onnxruntime-rs), which might warrant investigation into the project's long-term maintenance trajectory and potential for forking or dependency shifts. No other explicit limitations or alpha status are mentioned.
21 hours ago
Inactive
onnx
openvinotoolkit
microsoft
PaddlePaddle