fix cudart

This commit is contained in:
RioShiina47
2025-09-16 20:44:51 +08:00
committed by GitHub
parent addc5be46d
commit e971cfb71a
+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