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
Crash on poolings with larger-than-317 pool sizes.
We face the problem that we get a hard crash (SEGFAULT) when the user increases the image above a certain size. Even if there is a limit for the kernel size I would expect that an exception is thrown and not a hard crash. The problem stems from the unchecked return value here:
Description
Crash on poolings with larger-than-317 pool sizes.
We face the problem that we get a hard crash (SEGFAULT) when the user increases the image above a certain size. Even if there is a limit for the kernel size I would expect that an exception is thrown and not a hard crash. The problem stems from the unchecked return value here:
onnx-tensorrt/onnx2trt_utils.cpp
Line 1511 in 0462dc3
A minimal script to reproduce the error is given below.
This is duplicate of NVIDIA/TensorRT#2094 since the bug occurs in this repository's source code.
Environment
TensorRT Version: 8.6.1
ONNX-TensorRT Version / Branch: main
GPU Type: Any
Nvidia Driver Version: 535.86.05
CUDA Version: 11.7.99
CUDNN Version: 8.5.0.96
Operating System + Version: Ubuntu 22.04.3 LTS
Python Version (if applicable):
TensorFlow + TF2ONNX Version (if applicable):
PyTorch Version (if applicable):
Baremetal or Container (if container which image + tag):
Steps To Reproduce
Output
Origin
The text was updated successfully, but these errors were encountered: