We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24c7beb commit 696d00fCopy full SHA for 696d00f
gpustack_runtime/detector/pymtml/__init__.py
@@ -69,7 +69,7 @@
69
MTML_DEVICE_MPC_ENABLE = 1
70
71
## Error Codes ##
72
-MTML_SUCCESS = (0,)
+MTML_SUCCESS = 0
73
MTML_ERROR_DRIVER_NOT_LOADED = 1
74
MTML_ERROR_DRIVER_FAILURE = 2
75
MTML_ERROR_INVALID_ARGUMENT = 3
@@ -78,8 +78,8 @@
78
MTML_ERROR_INSUFFICIENT_SIZE = 6
79
MTML_ERROR_NOT_FOUND = 7
80
MTML_ERROR_INSUFFICIENT_MEMORY = 8
81
-MTML_ERROR_DRIVER_TOO_OLD = (9,)
82
-MTML_ERROR_DRIVER_TOO_NEW = (10,)
+MTML_ERROR_DRIVER_TOO_OLD = 9
+MTML_ERROR_DRIVER_TOO_NEW = 10
83
MTML_ERROR_TIMEOUT = 11
84
MTML_ERROR_UNKNOWN = 999
85
MTML_ERROR_UNINITIALIZED = -99997
0 commit comments