Closed zhoutianzi666 closed 11 months ago
@zhoutianzi666 Could you set the max workspace size to 4GB or 5GB? trt_config->setMaxWorkspaceSize(5<<30);
@zhoutianzi666 Could you set the max workspace size to 4GB or 5GB?
trt_config->setMaxWorkspaceSize(5<<30);
5L<<30 ok! 4L<<30 failing. why need so much space in trt8.4??
Long story short: In TRT 8.4, we use a new backend for Gather layer so that it can be fused with other point-wise layers and achieve better performance. However, that backend requires significant more workspace when there are multiple dynamic axes. We are currently fixing this issue so that hopefully this can be solved in next version or next-next version
closing legacy issues, thanks all!
Description
Environment
TensorRT Version: 8406 NVIDIA GPU: T4 NVIDIA Driver Version: CUDA Version: CUDNN Version: Operating System: Ubuntu 18 Python Version (if applicable): Tensorflow Version (if applicable): PyTorch Version (if applicable): Baremetal or Container (if so, version):
Relevant Files
Steps To Reproduce