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

App crashes on loading local model. #20

Closed
Dhruvanand24 opened this issue May 11, 2024 · 7 comments
Closed

App crashes on loading local model. #20

Dhruvanand24 opened this issue May 11, 2024 · 7 comments

Comments

@Dhruvanand24
Copy link

Using StableLm-2-zephyr-1_6b-q1_1.gguf 6gb ram android 11.

@Vali-98
Copy link
Owner

Vali-98 commented May 11, 2024

Can you provide a link to the model file used?

@Vali-98
Copy link
Owner

Vali-98 commented May 12, 2024

It seems to be attempting to access memory outside its buffer, likely a llama.rn issue.

@Dhruvanand24
Copy link
Author

okay, are you sending the whole conversation history as a prompt or just the current message?

@Vali-98
Copy link
Owner

Vali-98 commented May 13, 2024

The app fills the context with the latest message history until the context limit is reached.

@Vali-98
Copy link
Owner

Vali-98 commented May 13, 2024

Am I doing something wrong here?

No this is simply how LLMs function, they take a step to consume context and build the KV.

Next time, I would recommend not bringing up unrelated topics. This is an issue tracker not code support forum.

@Dhruvanand24
Copy link
Author

sure

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

No branches or pull requests

2 participants