mirror of
https://github.com/ollama/ollama.git
synced 2025-11-10 17:17:56 +01:00
logs: catch rocm errors (#12888)
This will help bubble up more crash errors
This commit is contained in:
@@ -23,6 +23,7 @@ func NewStatusWriter(out *os.File) *StatusWriter {
|
|||||||
var errorPrefixes = []string{
|
var errorPrefixes = []string{
|
||||||
"error:",
|
"error:",
|
||||||
"CUDA error",
|
"CUDA error",
|
||||||
|
"ROCm error",
|
||||||
"cudaMalloc failed",
|
"cudaMalloc failed",
|
||||||
"\"ERR\"",
|
"\"ERR\"",
|
||||||
"error loading model",
|
"error loading model",
|
||||||
|
|||||||
Reference in New Issue
Block a user