Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rust support #7231

Closed
mirecl opened this issue Apr 4, 2021 · 8 comments
Closed

Rust support #7231

mirecl opened this issue Apr 4, 2021 · 8 comments
Labels
contributions welcome external contributions welcome

Comments

@mirecl
Copy link

mirecl commented Apr 4, 2021

Are you planning rust lang support for inference?

@pranavsharma
Copy link
Contributor

There's some community contribution here https://docs.rs/onnxruntime/0.0.11/onnxruntime/. We don't have plans so far.

@pranavsharma pranavsharma added api:Rust contributions welcome external contributions welcome labels Apr 5, 2021
@svenwb
Copy link

svenwb commented Apr 10, 2021

Hi @nbigaouette,

including you into this thread as I think you are the author of the community Rust API. Do you have any plans to continue this project?

Thanks,
Sven

@nbigaouette
Copy link

It was mostly a proof of concept to push, at work, ONNX as a way to deploy models in rust projects at work. Unfortunately priorities have changed so it became a purely personal project. The time I can dedicate to this project is quite small.

The project does work but is rough around the edges. There is a couple of PRs opened that I still need to review to improve that front. Help welcome!

@pjankiewicz
Copy link

I'm using this one and it is working great https://github.com/sonos/tract/

@radu-matei
Copy link

radu-matei commented Jul 11, 2021

I'd like to add that we are currently using @nbigaouette's Rust bindings in https://github.com/deislabs/wasi-nn-onnx, which have been very useful.
Having an official Rust crate, even if it just contained the low level bindings generated from the C++ headers (the _sys crate, as it is the convention in Rust), would be extremely helpful in keeping them in sync with new ONNX runtime releases.

@hgaiser
Copy link

hgaiser commented Mar 2, 2023

Considering we have https://github.com/microsoft/onnxruntime/tree/main/rust now, I think this can be closed.

@hudrazine
Copy link

Rust support is still experimental, and with no progress on Rust bindings since #12606 , an official release is still in the works.
It is best not to close it yet.

For the current Rust binding, we recommend using pykeio/ort, which is similarly based on nbigaouette/onnxruntime-rs.

@monkeycc
Copy link

High performance

Low resource occupancy

Can be deployed on the desktop WebAssembly embedded development board server

Add rust bindings +1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contributions welcome external contributions welcome
Projects
None yet
Development

No branches or pull requests

10 participants