My ubuntu version is 22.04, my dotnet version is 8.0, and my Microsoft.ML.OnnxRuntime.Extension version is 0.10.0.
I have already add the nuget package into my project, and it can run successfully on Windows. However, when I run on ubuntu, I got such error:
Error Message:
Microsoft.ML.OnnxRuntime.OnnxRuntimeException : [ErrorCode:NoSuchFile] The ONNX Runtime extensions library was not found. The Microsoft.ML.OnnxRuntime.Extensions NuGet package must be referenced by the project to use 'OrtExtensions.RegisterCustomOps.
Stack Trace:
at Microsoft.ML.OnnxRuntime.SessionOptions.RegisterOrtExtensions()
at AIllustrator.ImageGeneration.LocalGenerator..ctor(Device device, String translateApiKey, String translateSecretKey) in /mnt/e/Code/contest/AIllustrator/src/AIllustrator.ImageGeneration/LocalGenerator.cs:line 63
at AIllustrator.ImageGeneration.Test.Tests.CUDATest() in /mnt/e/Code/contest/AIllustrator/test/AIllustrator.ImageGeneration.Test/LocalTest.cs:line 19
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
I have confirmed that the lib.ortextensions.so is under runtimes/linux-x64/native.
My ubuntu version is 22.04, my dotnet version is 8.0, and my Microsoft.ML.OnnxRuntime.Extension version is 0.10.0. I have already add the nuget package into my project, and it can run successfully on Windows. However, when I run on ubuntu, I got such error:
I have confirmed that the lib.ortextensions.so is under runtimes/linux-x64/native.