diff --git a/gpustack_runtime/detector/pymtml/__init__.py b/gpustack_runtime/detector/pymtml/__init__.py index 39b1a9f..ec5e2e1 100644 --- a/gpustack_runtime/detector/pymtml/__init__.py +++ b/gpustack_runtime/detector/pymtml/__init__.py @@ -69,7 +69,7 @@ MTML_DEVICE_MPC_ENABLE = 1 ## Error Codes ## -MTML_SUCCESS = (0,) +MTML_SUCCESS = 0 MTML_ERROR_DRIVER_NOT_LOADED = 1 MTML_ERROR_DRIVER_FAILURE = 2 MTML_ERROR_INVALID_ARGUMENT = 3 @@ -78,8 +78,8 @@ MTML_ERROR_INSUFFICIENT_SIZE = 6 MTML_ERROR_NOT_FOUND = 7 MTML_ERROR_INSUFFICIENT_MEMORY = 8 -MTML_ERROR_DRIVER_TOO_OLD = (9,) -MTML_ERROR_DRIVER_TOO_NEW = (10,) +MTML_ERROR_DRIVER_TOO_OLD = 9 +MTML_ERROR_DRIVER_TOO_NEW = 10 MTML_ERROR_TIMEOUT = 11 MTML_ERROR_UNKNOWN = 999 MTML_ERROR_UNINITIALIZED = -99997