ONNX to TRT conversion error


I am getting this attribute error
AttributeError: ‘tensorrt_bindings.tensorrt.IBuilderConfig’ object has no attribute ‘max_workspace_size’


TensorRT Version:
GPU Type: L40
Nvidia Driver Version: 550.54.15
CUDA Version: 12.4

Relevant Files

I am using bert-large-NER of hugging face and i converted this model to ONNX and it is working fine… now i want to convert this onnx to tensor rt but there is an issue as mentioned above.

I followed this source: Convert Onnx BERT model to TensorRT | by Hemanth Sharma | Medium

Hi @siddharth.sd
Can you please share your onnx model with us?