ggml : fix unknown status (llama/0)

This commit is contained in:
Georgi Gerganov 2024-03-04 20:53:27 +02:00
parent ed76818700
commit edd8b38a75
No known key found for this signature in database
GPG Key ID: 449E073F9DC10735

3
ggml.c
View File

@ -326,8 +326,9 @@ const char * ggml_status_to_string(enum ggml_status status) {
case GGML_STATUS_FAILED: return "GGML status: error (operation failed)";
case GGML_STATUS_SUCCESS: return "GGML status: success";
case GGML_STATUS_ABORTED: return "GGML status: warning (operation aborted)";
default: GGML_ASSERT(false);
}
return "GGML status: unknown";
}
// note: do not use these inside ggml.c