Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
C
coderai
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexlab
coderai
Commits
9ad2a7f1
Commit
9ad2a7f1
authored
Mar 10, 2026
by
Your Name
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Simplify error message when GGUF image model fails
parent
0fc0ab29
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
10 deletions
+2
-10
coderai
coderai
+2
-10
No files found.
coderai
View file @
9ad2a7f1
...
...
@@ -4595,11 +4595,7 @@ def main():
except
Exception
as
llama_error
:
print
(
f
"llama.cpp load error: {llama_error}"
)
print
(
f
"This usually means llama.cpp does not support this model architecture."
)
print
(
f
"Try updating llama.cpp: pip install llama-cpp-python --upgrade"
)
print
(
f
"Or rebuild with latest ggml:"
)
print
(
f
" pip install llama-cpp-python --force-reinstall --no-cache-dir
\\
"
)
print
(
f
" CMAKE_ARGS='-DGGML_VULKAN=ON'
\\
"
)
print
(
f
" FORCE_CMAKE=1"
)
print
(
f
"Server will continue starting..."
)
print
(
f
"Image model will load on first request"
)
else
:
print
(
f
"Could not load GGUF image model: no valid model path"
)
...
...
@@ -4999,11 +4995,7 @@ def main():
except Exception as llama_error:
print(f"llama.cpp load error: {llama_error}")
print(f"This usually means llama.cpp does not support this model architecture.")
print(f"Try updating llama.cpp: pip install llama-cpp-python --upgrade")
print(f"Or rebuild with latest ggml:")
print(f" pip install llama-cpp-python --force-reinstall --no-cache-dir \\")
print(f" CMAKE_ARGS='
-
DGGML_VULKAN
=
ON
' \\")
print(f" FORCE_CMAKE=1")
print(f"Server will continue starting...")
print(f"Image model will load on first request")
else:
print(f"Could not load GGUF image model: no valid model path")
...
...
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