-
Notifications
You must be signed in to change notification settings - Fork 11
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] Quick start example throw Broken pipe error via WSL #159
Comments
Hi! This is #148. The fix has already landed and should be released when the nightly runner builds happen. See the linked issue for more details. In the meantime, your program is actually working correctly; the error message is from the runner process while it's shutting down. Although it's not a good experience, it doesn't affect the main process or the correctness of the model inference. As mentioned, it should be fixed tonight and I'll post another comment when the release is out. |
Cool thx!, anyway it's not support on Windows am i right? I can see plenty of
|
Correct, Windows is not currently supported. I'm open to it if there's interest (or if someone wants to help), but I don't have plans to implement Windows support myself at the moment. |
I'm not a big fan of Windows either 😅 but i think i will take a look if it's not much patch needed. |
I suspect it'll be fairly involved, but you're welcome to take a look! Among other things, the runner interface may be somewhat complex to get working on Windows. We use Unix domain sockets and file descriptor passing on Linux and macOS. You'll probably need to implement an alternative for Windows. If the core library, the runner interface, and the noop runner work, that's a big step towards Windows support. After that, each of the runners will require some work, but that can be done incrementally. |
That seems far from my hobby 😅, maybe this related 👉 tokio-rs/tokio#2201 JIC someone passing by |
There are plenty of other places to help out if you're interested! See here. Depending on what you want to spend time on, you could work on:
Do any of those sound interesting to you? |
My hobby is Rust/Wasm/Cloudflare Workers related (try to avoid js/ts as possible but still), anyway i do have 4090 here so i think i can help on perf/benchmark and maybe optimization pretty much later. 🙌 |
One thing that would be super useful is if you could explore creating a wonnx runner. I built scaffolding for being able to run inference from the WASM bindings, but haven't had a chance to create a runner that can run in WASM. Does that sound like something you'd enjoy working on? |
Cool, i will take a look. 🧐 |
Sounds good. The nightly builds are complete and new runners have been released that solve the problem. See #148 (comment) for instructions on updating. I'll go ahead and close this issue since the original task is fixed. I'll create another issue about wonnx sometime tomorrow |
Source
https://carton.run/quickstart
Error
Any hint?
The text was updated successfully, but these errors were encountered: