Skip to content

Conversation

@lizhenneng
Copy link
Contributor

We must free ctx and model after program exited.

We must free ctx and model after program exited.

Signed-off-by: lizhenneng <[email protected]>
Copy link
Collaborator

@ngxson ngxson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is invalid.

The underlay pointer is managed by llama_init and will be freed automatically. Doing this will cause double free.

@ngxson ngxson closed this Feb 28, 2025
@lizhenneng lizhenneng deleted the bugfix branch April 11, 2025 10:25
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