Open grinay opened 10 months ago
I think problem is in tools/nuget/generate_nuspec_for_native_nuget.py, I edit the path to this file manually by removing "include\" and it works.
However build doesn't work. Having this issue.
2023-11-23T17:05:57.077Z aec0ff81-3a57-4b5c-9f7c-3ffb7774c401 fail Microsoft.ML.OnnxRuntime.OnnxRuntimeException: [ErrorCode:RuntimeException] /onnxruntime/onnxruntime/core/session/provider_bridge_ort.cc:1193 onnxruntime::Provider& onnxruntime::ProviderLibrary::Get() [ONNXRuntimeError] : 1 : FAIL : Failed to load library libonnxruntime_providers_dnnl.so with error: /var/task/libonnxruntime_providers_dnnl.so: undefined symbol: dnnl_lrn_forward_primitive_desc_create
Any advice or help appreciated.
Please follow Linux section in https://github.com/microsoft/onnxruntime/blob/main/csharp/readme.md
Please follow Linux section in https://github.com/microsoft/onnxruntime/blob/main/csharp/readme.md
I've spent half a day trying every combination of those settings with no luck, on 1.16.3 and 1.70.0.
It is possible https://github.com/microsoft/onnxruntime/commit/d1533c27eb98759f4747a3b05a6d9d0ca538a4ca broke the DNNL build for dotnet by not updating the nuget script at the same time?
Has anybody managed to build the onednn build since then?
Is there a dockerfile setup for building dnnl + dotnet on linux anywhere by any chance? :)
Describe the issue
Can't build nuget packages. I'm trying to build dnnl version , and faces the issue to build nuget packages. I checkout from the branch v1.16.3, and it seems there is references to a file which doesn't exist in current branch. Please advice how to fi it.
Urgency
No response
Target platform
Ubuntu 22.04
Build script
build.sh
Error / output
Attempting to build package from 'NativeNuget.nuspec'. EXEC : error NU5019: File not found: '/onnxruntime/include\onnxruntime\core\providers\dnnl\dnnl_provider_factory.h'. [/onnxruntime/csharp/OnnxRuntime.CSharp.proj] /onnxruntime/csharp/OnnxRuntime.CSharp.proj(104,5): error MSB3073: The command "nuget pack NativeNuget.nuspec" exited with code 1.
Visual Studio Version
No response
GCC / Compiler Version
11.4.0