Skip to content

Incompatible with TensorRT 11 #1207

Description

@Galasnow

Katago v1.16.5 build failed with TensorRT 11.0.0 on Window Platform
According to the doc (https://docs.nvidia.com/deeplearning/tensorrt/latest/index.html), Some APIs used in "cpp/neuralnet/trtbackend.cpp" are deprecated:

"nvinfer1::ILayer",  "setPrecision"
"nvinfer1::IUnaryLayer", "setPrecision"
"nvinfer1::IScaleLayer",  "setPrecision"
"nvinfer1::IElementWiseLayer", "setPrecision"
"nvinfer1::IConvolutionLayer", "setPrecision"
"nvinfer1::IIdentityLayer", "setPrecision"
"nvinfer1::IActivationLayer", "setPrecision"
"nvinfer1::IConcatenationLayer", "setPrecision"
"nvinfer1::ITensor", "setType"
"nvinfer1::IBuilder", "platformHasFastFp16"
"nvinfer1::BuilderFlag", "kFP16"
"nvinfer1::BuilderFlag", "kPREFER_PRECISION_CONSTRAINTS"
"nvinfer1::NetworkDefinitionCreationFlag", "kEXPLICIT_BATCH"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions