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
hello, I encountered an error while using onnxruntime-gpu to start the model service through CUDA: onnxruntime.capi.onnxruntime_pybind11_state.RuntimeException: [ONNXRuntimeError] : 6 : RUNTIME_EXCEPTION : Exception during initialization: D:\a\_work\1\s\onnxruntime\contrib_ops\cuda\fused_conv.cc:19 onnxruntime::contrib::cuda::FusedConv<float>::FusedConv [ONNXRuntimeError] : 2 : INVALID_ARGUMENT : unsupported conv activation mode "LeakyRelu". The model runs normally when switched to the CPU with other parameters unchanged. How can I resolve this issue?
To reproduce
none
Urgency
general
Platform
Windows
OS Version
win 11
ONNX Runtime Installation
Built from Source
ONNX Runtime Version or Commit ID
onnxruntime-gpu 1.19.2
ONNX Runtime API
Python
Architecture
X64
Execution Provider
CUDA
Execution Provider Library Version
CUDA12.2
The text was updated successfully, but these errors were encountered:
Seems like a bug in the Conv fusion optimizer. If the CUDA EP doesn't support LeakyRelu the optimizer shouldn't fuse the Conv and LeakyRelu if they're assigned to the CUDA EP.
Describe the issue
hello, I encountered an error while using onnxruntime-gpu to start the model service through CUDA:
onnxruntime.capi.onnxruntime_pybind11_state.RuntimeException: [ONNXRuntimeError] : 6 : RUNTIME_EXCEPTION : Exception during initialization: D:\a\_work\1\s\onnxruntime\contrib_ops\cuda\fused_conv.cc:19 onnxruntime::contrib::cuda::FusedConv<float>::FusedConv [ONNXRuntimeError] : 2 : INVALID_ARGUMENT : unsupported conv activation mode "LeakyRelu".
The model runs normally when switched to the CPU with other parameters unchanged. How can I resolve this issue?To reproduce
none
Urgency
general
Platform
Windows
OS Version
win 11
ONNX Runtime Installation
Built from Source
ONNX Runtime Version or Commit ID
onnxruntime-gpu 1.19.2
ONNX Runtime API
Python
Architecture
X64
Execution Provider
CUDA
Execution Provider Library Version
CUDA12.2
The text was updated successfully, but these errors were encountered: