Skip to content

Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.

runner: switch logging back to stderr (#8091)

Daniel Hiltgen60f75560a2a9
diff --git a/llama/llama.go b/llama/llama.go
index 15e719798..c11d53411 100644
--- a/llama/llama.go
+++ b/llama/llama.go
@@ -89,6 +89,7 @@ import (
_ "embed"
"errors"
"fmt"
+ "os"
"runtime"
"runtime/cgo"
"slices"
@@ -131,7 +132,7 @@ func llamaLog(level int32, text *C.char, _ unsafe.Pointer) {
return
}
- fmt.Print(C.GoString(text))
+ fmt.Fprint(os.Stderr, C.GoString(text))
}
func GetModelArch(modelPath string) (string, error) {