Closed ConfieBlake closed 9 months ago
CpuMathNative
is located in runtime folder, try adding hint path like this
<Reference Include="CpuMathNative.dll">
<HintPath>..\packages\microsoft.ml.cpumath\2.0.1\runtimes\win-x64\nativeassets\netstandard2.0\CpuMathNative.dll</HintPath>
</Reference>
I am not super familiar with Scope, but when using scope you need to upload the native binaries in a specific way. Closing this issue since its related to scope deployment and not ml.net.
System Information (please complete the following information):
Describe the bug I added a ML model to a Class Library which targets at NET Framework 4.8.1. I could build the dll and run it in vscode notebook. This library is configured to debug on x64. But when I deployed the library on cosmos and run the SCOPE jobs with it, it starts to give the error "Unable to load DLL 'CpuMathNative': The specified module could not be found."
I could not use NET Core, because NET Core needs to load System.Runtime version 6.0.0, which is incompatible with my project.
And below is my project: ProductNameClassifier.zip
Screenshots, Code, Sample Projects