fix(core): resolve CPU ONNX inference string device type

This commit is contained in:
RevLayDust committed 2026-09-10 22:39:01 +07:00
1 parent 8e54ebbf73
commit 5d29977faa
1 file changed
+1 -1
+1 -1
View File
@@ -452,7 +452,7 @@ def clear_gpu_cache():
torch.cuda.empty_cache()
warnings.filterwarnings("ignore")
cpu = torch.device('cpu')
cpu = 'cpu'
class SeperateAttributes:
def __init__(self, model_data: ModelData,