mmdeploy/configs/_base_/backends/tensorrt-fp16.py
AllentDan bca8cc0897
[fix] align the names of configs (#256)
* align names of configs

* set input_shape to None for all ppl
2021-12-07 21:06:44 +08:00

7 lines
166 B
Python

import tensorrt as trt
backend_config = dict(
type='tensorrt',
common_config=dict(
fp16_mode=True, log_level=trt.Logger.INFO, max_workspace_size=0))