grimoire / torch2trt_dynamic

A pytorch to tensorrt convert with dynamic shape support
MIT License
254 stars 34 forks source link

TRT8 AttributeError: 'tensorrt.tensorrt.Builder' object has no attribute 'int8_calibrator' #22

Closed v-qjqs closed 3 years ago

v-qjqs commented 3 years ago

When using TRT8, AttributeError was raised since 'tensorrt.tensorrt.Builder' object has no attribute 'int8_calibrator'. So builder.int8_calibrator = config.int8_calibrator might be unnecessary for TRT8.