You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TRTORCH_CHECK(builder->platformHasFastInt8(), "Requested inference in INT8 but platform does support INT8");
53
53
cfg->setFlag(nvinfer1::BuilderFlag::kINT8);
54
54
input_type = nvinfer1::DataType::kFLOAT;
55
-
// If the calibrator is nullptr then TRT will use default quantization
55
+
TRTORCH_CHECK(settings.calibrator != nullptr, "Requested inference in INT8 but no calibrator provided, set the ptq_calibrator field in the ExtraInfo struct with your calibrator");
0 commit comments