mirror of
https://github.com/zebrajr/ollama.git
synced 2025-12-06 00:19:51 +01:00
logs: catch rocm errors (#12888)
This will help bubble up more crash errors
This commit is contained in:
parent
7dd4862a89
commit
83537993d7
|
|
@ -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",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user