]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commitdiff
llama : add simple-chat example (llama/10124)
authorDiego Devesa <redacted>
Fri, 1 Nov 2024 22:50:59 +0000 (23:50 +0100)
committerGeorgi Gerganov <redacted>
Fri, 15 Nov 2024 13:21:04 +0000 (15:21 +0200)
* llama : add simple-chat example

---------

Co-authored-by: Xuan Son Nguyen <redacted>
ggml/include/ggml.h

index 41df85557c1ef0721ba0b31530691472a0cbef1f..2d93f31fac0969cf36052adcb3fc0bc993889787 100644 (file)
@@ -558,10 +558,10 @@ extern "C" {
 
     enum ggml_log_level {
         GGML_LOG_LEVEL_NONE  = 0,
-        GGML_LOG_LEVEL_INFO  = 1,
-        GGML_LOG_LEVEL_WARN  = 2,
-        GGML_LOG_LEVEL_ERROR = 3,
-        GGML_LOG_LEVEL_DEBUG = 4,
+        GGML_LOG_LEVEL_DEBUG = 1,
+        GGML_LOG_LEVEL_INFO  = 2,
+        GGML_LOG_LEVEL_WARN  = 3,
+        GGML_LOG_LEVEL_ERROR = 4,
         GGML_LOG_LEVEL_CONT  = 5, // continue previous log
     };