Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion llama_cpp/llama.py
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,10 @@ def __init__(
self.spm_infill = spm_infill

if not os.path.exists(model_path):
raise ValueError(f"Model path does not exist: {model_path}")
raise ValueError(
f"Model path does not exist: {model_path}. "
f"Please verify the path is correct and the GGUF model file is accessible."
)

self._model = self._stack.enter_context(
contextlib.closing(
Expand Down