Open
Description
Describe the feature request
ONNX runtime web with ep:webgpu currently expects padding in Conv to be totally symmetrical:
onnxruntime/js/web/lib/wasm/jsep/webgpu/ops/3rd-party/conv3d_naive_webgpu.ts
Lines 125 to 127 in 9681fe6
Models that need Conv with asymmetrical padding fail to run with the error shown above.
A possible workaround for users might involve factoring out the padding into a separate Pad op. This is tricky to do for models with pretrained weight however.
Describe scenario use case
Necessary for executing any model that needs convolutions with Conv with non-symmetric padding under ONNX runtime web with ep:webgpu. One example of such a model is TransnetV2 (https://github.com/soCzech/TransNetV2).