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

feat(android): enable logging (llama.cpp, log.h) on debug mode #26

Merged
merged 2 commits into from
Oct 12, 2023

Conversation

jhen0409
Copy link
Member

Currently the logs always pipe to /dev/null on Android, and it's difficult to change it depending on the device, so I use a patch to simply change the logs by use android/log.h.

@jhen0409
Copy link
Member Author

Screenshot 2023-10-12 at 10 11 22 AM

Simply tested with tinystories model.

@jhen0409 jhen0409 merged commit 2e7c00a into main Oct 12, 2023
4 checks passed
@jhen0409 jhen0409 deleted the android-enable-log branch October 12, 2023 03:04
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