We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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
Status MapMode(const std::string& activaton_mode) { if (activaton_mode == "Relu") { activation_mode_ = cudnnActivationMode_t::CUDNN_ACTIVATION_RELU; } else if (activaton_mode == "Sigmoid") activation_mode_ = cudnnActivationMode_t::CUDNN_ACTIVATION_SIGMOID; else { return ORT_MAKE_STATUS( StatusCategory::ONNXRUNTIME, StatusCode::INVALID_ARGUMENT, "unsupported conv activation mode \"", activaton_mode, "\""); } return Status::OK(); } cudnnActivationMode_t activation_mode_; cudnnActivationDescriptor_t activation_desc_ = nullptr; };
btw, cpu is supported.
In onnx model, use FusedConv, and activation is "Sigmod".
No response
Linux
Ubuntu 20.04
Released Package
onnxruntime-gpu 1.17.1
Python
X64
CUDA
CUDA 11.8 and cuDNN 8.5.0
The text was updated successfully, but these errors were encountered:
No branches or pull requests
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: