Add guideline for building nuget package and example usage#2
Conversation
| if defined PROCESSOR_ARCHITEW6432 set "ARCH=%PROCESSOR_ARCHITEW6432%" | ||
|
|
||
| if /i "%ARCH%"=="AMD64" ( | ||
| set "DEST_EP_DLL_FOLDER=.\Microsoft.ML.OnnxRuntime.EP.TensorRT\runtimes\win-x64\native\" |
There was a problem hiding this comment.
are we trying to create a nuget package that will be published, or just showing an example of how to create a nuget package?
if it's the former, would we want to support having both x64 and arm64 builds in one package?
There was a problem hiding this comment.
We are providing an example of how to create a nuget package at this moment.
We or others can update this setup.bat once there is a request for publishing a TensorRT plugin ep nuget package.
There was a problem hiding this comment.
hm, if all we want to do is provide an example, why not refer to this one instead?
https://github.com/microsoft/onnxruntime-inference-examples/tree/main/plugin_execution_providers/basic/csharp
There was a problem hiding this comment.
Eventually, the TensorRT plugin ep nuget package will be published either by us or Nvidia.
Let me add the support for x64 and arm64 builds.
|
|
Add guideline for building nuget package and providing C# example usage for TensorRT plugin EP.