TensorRT 8.0 crash in BuilderConfig


when I create a BuilderConfig and use it to setMaxWorkspaceSize,it got crashed.I find the value of mimpl is Null,Is there any suggestions for this situation?

    if (_builder == NULL) {
        _builder = createInferBuilder(TRTLogger::shareLoger());
    if (_builder_config == NULL) {
        _builder_config = _builder->createBuilderConfig();
    _builder_config->setMaxWorkspaceSize(1 << 20); // crashed and mimpl is Null


TensorRT Version: 8.0.1-1+cuda11.3
GPU Type: GeForce GTX 1080
Nvidia Driver Version: 460.32.03
CUDA Version: 11.2
CUDNN Version:
Operating System + Version: Ubuntu 18.04.5 LTS

Relevant Files

Please attach or include links to any models, data, files, or scripts necessary to reproduce your issue. (Github repo, Google Drive, Dropbox, etc.)

Steps To Reproduce

Please include:

  • Exact steps/commands to build your repro
  • Exact steps/commands to run your repro
  • Full traceback of errors encountered

Hi @1136937358 ,
Can you please share the detailed logs and reproducible model and script with us, so that we can assist you better.


Thanks for reply, it’s my fault, I forget to set _builder_config to NULL when create it.