Description
I’m using the TF-TRT optimization flow with a saved model described here:
The model I’m optimizing includes a top-k operation which fails for k > 3000. Is it possible using the flow above to specify an operation blacklist to prevent TensorRT from tying to optimize my top-k operation? I thought this was a supported functionality at some point, but nothing in this updated saved model optimization flow seems obvious for a blacklist setting. As I’ll need to support legacy models that have already been trained, it’s not as easy as just changing the top k setting and re-training.
Environment
TensorRT Version: 7.2.1
GPU Type: GTX 3070
Nvidia Driver Version: 455.45.01
CUDA Version: 11.1.74
CUDNN Version: 8.0.4.30
Operating System + Version: Ubuntu 20.04 lts
Python Version (if applicable): 3.8
TensorFlow Version (if applicable): 2.3.1
PyTorch Version (if applicable): N/A
Baremetal or Container (if container which image + tag): N/A