-
Notifications
You must be signed in to change notification settings - Fork 13.4k
ggml : move more prints to the ggml log system #9839
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
Conversation
This causes some debug prints in ggml-backend (backend registering messages) to be shown without |
Yes, let's call it automatically in Currently on # env
LLAMA_LOG_COLORS=1
LLAMA_LOG_PREFIX=1
LLAMA_LOG_TIMESTAMPS=1
./llama-cli 0.00.000.192 I build: 3910 (36815404) with Apple clang version 16.0.0 (clang-1600.0.26.3) for arm64-apple-darwin24.0.0
0.00.000.978 I main: llama backend init
0.00.001.901 I main: load the model and apply lora adapter, if any
... While if build: 3910 (36815404) with Apple clang version 16.0.0 (clang-1600.0.26.3) for arm64-apple-darwin24.0.0
0.00.001.902 I main: llama backend init
0.00.002.943 I main: load the model and apply lora adapter, if any
... I.e. the first message with the build info does not have the log prefix since the env variables haven't been parsed yet. Anyway, this is a very minor detail that I don't mind to ignore. |
On a second though, calling |
* ggml : move more prints to the ggml log system * show BLAS OpenMP warnings in all builds using debug print
* ggml : move more prints to the ggml log system * show BLAS OpenMP warnings in all builds using debug print
* ggml : move more prints to the ggml log system * show BLAS OpenMP warnings in all builds using debug print
* ggml : move more prints to the ggml log system * show BLAS OpenMP warnings in all builds using debug print
Use the ggml log system more consistently. Some of the trace prints that previously were shown in debug builds unconditionally now use
GGML_LOG_DEBUG
and won't be shown unless verbose mode (-v
) is used.