You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am interested in creating custom nodes in ONNX. To do this, I based my work on the example code provided in the build, which allows creating the nodes CustomOpOne and CustomOpTwo. I noticed that these nodes were generated in the DLL "custom_op_library.dll".
When I tried to run the model by adding the DLL using the function "RegisterCustomOpsLibrary", the execution worked with the CPU but not with CUDA.
I would like to understand if I missed something to make it work, or if this behavior is expected.
Describe the issue
I am interested in creating custom nodes in ONNX. To do this, I based my work on the example code provided in the build, which allows creating the nodes CustomOpOne and CustomOpTwo. I noticed that these nodes were generated in the DLL "custom_op_library.dll".
When I tried to run the model by adding the DLL using the function "RegisterCustomOpsLibrary", the execution worked with the CPU but not with CUDA.
I would like to understand if I missed something to make it work, or if this behavior is expected.
To reproduce
For my tests, I used the model available here: https://github.com/microsoft/onnxruntime/blob/rel-1.16.0/onnxruntime/test/testdata/custom_op_library/custom_op_test.onnx.
Urgency
No response
Platform
Windows
OS Version
10
ONNX Runtime Installation
Built from Source
ONNX Runtime Version or Commit ID
1.18.0
ONNX Runtime API
C++
Architecture
X64
Execution Provider
CUDA
Execution Provider Library Version
12.3
The text was updated successfully, but these errors were encountered: