Is there anyway to get ONNX runtime running on Android/C#? #26237
              
                Unanswered
              
          
                  
                    
                      MeBadDev
                    
                  
                
                  asked this question in
                Mobile Q&A
              
            Replies: 1 comment
-
| 
         Shameless plug: we're building a platform that 'compiles" ONNXRuntime inference code (from Python) into self-contained binaries that run on Android, among other platforms. In fact, we just used it to run a tiny text-to-speech model Kitten-TTS across mobile and in the browser (see the source code). We have bindings to call the compiled ORT inference function from Android (Java, Kotlin) and C# (Unity), but don't have bindings for Godot. We could probably make bindings. If you're interested lmk.  | 
  
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
My project uses Godot Mono and the nuget version of the runtime. The windows build works, but I've noticed that attempting to inference on Android fails due to
DLLNotFoundException, and GitHub pointed me to #4363, an issue last updated 5 years ago.Since
XNNPack Execution Provideris listed in the README of the nuget page, I'd assume it works, but in the Usage section of the docs C# is not listed. Is there a way to get this reliably working?Thanks a lot!
Beta Was this translation helpful? Give feedback.
All reactions