llama.cpp
add log_callback to llama_context_params for custom logging.
#2234
Merged

add log_callback to llama_context_params for custom logging. #2234

slaren merged 14 commits into ggml-org:master from grahameth:logging_callback
grahameth
add log_callback to llama_context_params for custom logging.
2dfe0aef
Fix macro expansion on gcc
88c88778
bullno1
grahameth
bullno1
ggerganov
ggerganov commented on 2023-07-21
Merge branch 'master' into logging_callback
97cb33ff
Add struct llama_state for global variables and move log_callback there
671ec2c5
Turn log level into enum and some minor changes.
fc558667
Remove model_for_logging parameter (not needed anymore)
21d1e8ba
Convert remaining fprintf(stderr, ...) calls to use new macros.
33b42024
Fix enum and initialize g_state
7a2d2dd3
Merge branch 'master' into logging_callback
152b6336
Fix log calls after merge
a3c6a8b6
Fix missing static
f1fc2db7
grahameth
slaren
bullno1
ggerganov
ggerganov requested changes on 2023-07-25
grahameth
Merge branch 'master' into logging_callback
e39e4549
Add back all the new lines in the logging strings
c857a33b
Add comment for llama_log_callback and replace remaining printf calls
98369f62
ggerganov
ggerganov approved these changes on 2023-08-02
crasm
grahameth
slaren
slaren slaren merged ea04a4ca into master 2 years ago
xaedes
xaedes commented on 2023-08-28

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone