updating trt workspace int64 (#1094)
Signed-off-by: Manix <manickavela1998@gmail.com>
This commit is contained in:
@@ -60,7 +60,7 @@ void TensorrtConfig::Register(ParseOptions *po) {
|
||||
|
||||
bool TensorrtConfig::Validate() const {
|
||||
if (trt_max_workspace_size < 0) {
|
||||
SHERPA_ONNX_LOGE("trt_max_workspace_size: %d is not valid.",
|
||||
SHERPA_ONNX_LOGE("trt_max_workspace_size: %lld is not valid.",
|
||||
trt_max_workspace_size);
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user