Skip to content

Add ONNX runtime as package.#18903

Merged
luisquintanilla merged 1 commit intodotnet:masterfrom
eNeRGy164:patch-1
Jun 11, 2020
Merged

Add ONNX runtime as package.#18903
luisquintanilla merged 1 commit intodotnet:masterfrom
eNeRGy164:patch-1

Conversation

@eNeRGy164
Copy link
Copy Markdown
Contributor

@eNeRGy164 eNeRGy164 commented Jun 11, 2020

Summary

As of 1.5.0, Microsoft.ML.OnnxTransformer has a dependency on Microsoft.ML.OnnxRuntime.Managed instead of Microsoft.ML.OnnxRuntime.
As you wont have a runtime anymore, the example will throw an exception at runtime.
The solution is to add the CPU runtime as an additional package.

More info: https://blog.hompus.nl/2020/06/11/unable-to-find-an-entry-point-named-ortgetapibase-in-dll-onnxruntime-with-microsoft-ml-onnxtransformer-1-5-0/

Preview Link

Fixes #18785

As of 1.5.0, OnnxTransformer has a dependency on Microsoft.ML.OnnxRuntime.Managed.
As you wont have a runtime anymore, the example will throw an exception at runtime.
The solution is to add the CPU runtime as an additional package.

More info: https://blog.hompus.nl/2020/06/11/unable-to-find-an-entry-point-named-ortgetapibase-in-dll-onnxruntime-with-microsoft-ml-onnxtransformer-1-5-0/
Copy link
Copy Markdown
Contributor

@luisquintanilla luisquintanilla left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @eNeRGy164 for your contribution. I've updated the accompanying code sample.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

I needed to add a NuGet Package "Microsoft.ML.OnnxRuntime".

4 participants