-
Notifications
You must be signed in to change notification settings - Fork 25
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
Dart native support #90
Comments
Sadly the binaries to run the models are each into android and iOS sdks,so pure dart version is extremely hard |
I see implementations in c++ https://pytorch.org/cppdocs/ and rust Maybe we can generate it using pigeon or ffi |
Pytorch lite is depreciated and the new package by pytorch is exectorch The reason that I don't think of going through the effort is that mainly that, maybe when exectorch is stable I may switch to it and make it in cpp In all ways will need to wait for dart native assets support to include the binaries in the dart build process |
note if you want ffi i tried it already it had a problem with ios, this is why i switched back and if you are making a backend or ci, python will be the easier solution in the usecase you mentioned |
Cool ffi will be good. I know python is a good option but I prefer my frint end and the back end to have the same programming language so if I have the option I will take it. |
I would like to run Pytourch Lite on my server side that use Dart native.
Since we are using pigeon to generate the code, I am wondering how hard it will be to generate code for dart native.
Does pigeon even support generating dart native code?.
The text was updated successfully, but these errors were encountered: