]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
gguf: display strerrno when cant load a model (#18884)
authorMatthieu Coudron <redacted>
Wed, 21 Jan 2026 06:52:46 +0000 (07:52 +0100)
committerGitHub <redacted>
Wed, 21 Jan 2026 06:52:46 +0000 (08:52 +0200)
commit37c35f0e1c625831687b146cbb0a57654ef88ca2
treea415ebf31c791e5352e64a0e71427e5134478687
parent5bd341c9a135a13f901c4cacacc27fa5b299ce19
gguf: display strerrno when cant load a model (#18884)

I've had issues loading models with llama-server:
[44039] E gguf_init_from_file: failed to open GGUF file 'mistral-7b-v0.1.Q8_0.gguf'

and I was sure it could access the file. Seems like --models-dir and
--models-presets dont interact like I thought they would but I salvaged
this snippet that helps troubleshooting
[44039] E gguf_init_from_file: failed to open GGUF file 'mistral-7b-v0.1.Q8_0.gguf' (errno No such file or directory)
ggml/src/gguf.cpp