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
This issue has been automatically marked as stale due to inactivity and will be closed in 30 days if no further activity occurs. If further support is needed, please provide an update and/or more details.
Describe the issue
2024-05-17 09:41:31.333218349 [E:onnxruntime:, inference_session.cc:1981 operator()] Exception during initialization: /onnxruntime_src/onnxruntime/contrib_ops/cuda/fused_conv.cc:19 onnxruntime::contrib::cuda::FusedConv::FusedConv(const onnxruntime::OpKernelInfo&) [with T = float] [ONNXRuntimeError] : 2 : INVALID_ARGUMENT : unsupported conv activation mode "Sigmoid"
I use CUDA Provider to load onnx model, and show error.
python: 3.8.10
onnxruntime-gpu: 1.17.1
os: ubuntu 20.04
cuda: 11.8
cuDNN: 8.5.0
In onnxruntime/contrib_ops/cuda/fused_conv.cc
If I edit it to below and build wheel, will it work?
cudnnactivationmode-t struct
btw, cpu is supported.
To reproduce
In onnx model, use FusedConv, and activation is "Sigmod".
Urgency
No response
Platform
Linux
OS Version
Ubuntu 20.04
ONNX Runtime Installation
Released Package
ONNX Runtime Version or Commit ID
onnxruntime-gpu 1.17.1
ONNX Runtime API
Python
Architecture
X64
Execution Provider
CUDA
Execution Provider Library Version
CUDA 11.8 and cuDNN 8.5.0
The text was updated successfully, but these errors were encountered: