Skip to content

Conversation

@D2hugging
Copy link
Contributor

If llama_model_load_from_file fails to load the model, the model pointer will be null. You must check for a null pointer before accessing the model pointer.

@ggerganov ggerganov merged commit 9c55e5c into ggml-org:master May 19, 2025
1 check passed
infil00p pushed a commit to baseweight/llama.cpp that referenced this pull request May 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants