Skip to content

Is there anyway to disable log file writing? #3672

Answered by KerfuffleV2
CharlinChen asked this question in Q&A
Discussion options

You must be logged in to vote

You can compile with LLAMA_DISABLE_LOGS=1 if you're using the Makefile (apparently there's no support when using cmake). Also, though it's not documented (which isn't ideal) there are some log-file related commandline options: https://github.com/ggerganov/llama.cpp/blob/f3b25e40438b3c8383caabf4e7b89863145a9f0e/common/log.h#L501-L525

(--log-disable is the one you're looking for.)

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by CharlinChen
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants