Merge pull request #12 from RioShiina47/master

fix cudart
This commit is contained in:
Yuvraj Seegolam
2025-09-18 18:47:25 +04:00
committed by GitHub
+2 -1
View File
@@ -16,7 +16,7 @@ import tensorrt as trt
from logging import error, warning
from tqdm import tqdm
import copy
from cuda import cudart
import cuda.bindings.runtime as cudart
TRT_LOGGER = trt.Logger(trt.Logger.ERROR)
G_LOGGER.module_severity = G_LOGGER.ERROR
@@ -274,3 +274,4 @@ class Engine:
raise ValueError("ERROR: inference failed.")
return self.tensors