Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add WllamaError class, fix llama_decode hangs on long input text #130

Merged
merged 5 commits into from
Oct 31, 2024

Conversation

ngxson
Copy link
Owner

@ngxson ngxson commented Oct 31, 2024

In this PR:

  • Added WllamaError class for reporting errors
  • wllama.decode and wllama.encode now can handle breaking input into small batches
  • Minor fix for example/main UI

@ngxson ngxson merged commit f7562fa into master Oct 31, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant