mirror of
https://github.com/ollama/ollama.git
synced 2025-10-10 18:13:23 +02:00
fix potentially inaccurate error message
This commit is contained in:
committed by
Jeffrey Morgan
parent
984714f131
commit
43a726149d
@@ -794,7 +794,7 @@ func Serve(ln net.Listener, allowOrigins []string) error {
|
||||
if runtime.GOOS == "linux" {
|
||||
// check compatibility to log warnings
|
||||
if _, err := llm.CheckVRAM(); err != nil {
|
||||
log.Printf("Warning: GPU support may not be enabled, check you have installed GPU drivers: %v", err)
|
||||
log.Printf(err.Error())
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user