Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ollama
Commits
4d71c559
Unverified
Commit
4d71c559
authored
Jul 03, 2024
by
Jeffrey Morgan
Committed by
GitHub
Jul 03, 2024
Browse files
fix error detection by limiting model loading error parsing (#5472)
parent
0d16eb31
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
llm/status.go
llm/status.go
+1
-1
No files found.
llm/status.go
View file @
4d71c559
...
@@ -25,7 +25,7 @@ var errorPrefixes = []string{
...
@@ -25,7 +25,7 @@ var errorPrefixes = []string{
"CUDA error"
,
"CUDA error"
,
"cudaMalloc failed"
,
"cudaMalloc failed"
,
"
\"
ERR
\"
"
,
"
\"
ERR
\"
"
,
"
architecture
"
,
"
error loading model
"
,
}
}
func
(
w
*
StatusWriter
)
Write
(
b
[]
byte
)
(
int
,
error
)
{
func
(
w
*
StatusWriter
)
Write
(
b
[]
byte
)
(
int
,
error
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment