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

Compute remaining tokens along the way and exit if over #18

Merged
merged 1 commit into from
Mar 17, 2023
Merged

Compute remaining tokens along the way and exit if over #18

merged 1 commit into from
Mar 17, 2023

Conversation

jxy
Copy link

@jxy jxy commented Mar 17, 2023

For now it will exit if the token length is over the context length.
Use -c or --ctx_size to increase the context length (max 2048, according to llama).

fix #7
fix #8

@lofcz
Copy link

lofcz commented Mar 17, 2023

Tested, LGTM

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.

Terminated by signal SIGSEGV (Address boundary error) on m1 mac Coredump while running model
3 participants