PyTorch_ONNX_TensorRT
PyTorch_ONNX_TensorRT copied to clipboard
代码与 tensorrt 8.4 不兼容
我正在使用 tensorrt 8.4的环境运行代码,报错 'tensorrt.tensorrt.Builder' object has no attribute 'build_cuda_engine',int8_mod, fp16_mode, int8_mode
在新的tensorrt中,使用config 接管了 builder的各种设置。
好哥哥~我这个代码(TensorRT5)也是好几年前了,版本很不一样了,其实大体逻辑应该是差不多的,但是一些接口改变了,所以tensort8.4不适用了,麻烦你看API文档稍微调整了