aboutsummaryrefslogtreecommitdiff
path: root/pocs
diff options
context:
space:
mode:
authorgrahameth <96447521+grahameth@users.noreply.github.com>2023-08-09 22:46:40 +0200
committerGitHub <noreply@github.com>2023-08-09 22:46:40 +0200
commitea04a4ca1940d92becc0ee26523aa2c4a18cf938 (patch)
tree602ab25bb31813889c1ea7dd0408b0984715df71 /pocs
parent25d43e0eb578b6e73046d9d6644a3a14d460600d (diff)
add log_callback to llama_context_params for custom logging. (#2234)
* add log_callback to llama_context_params for custom logging. * Fix macro expansion on gcc * Add struct llama_state for global variables and move log_callback there * Turn log level into enum and some minor changes. * Remove model_for_logging parameter (not needed anymore) * Convert remaining fprintf(stderr, ...) calls to use new macros. * Fix enum and initialize g_state * Fix log calls after merge * Fix missing static * Add back all the new lines in the logging strings * Add comment for llama_log_callback and replace remaining printf calls --------- Co-authored-by: grahameth <-> Co-authored-by: Helmut <helmut.buhler@inf.h-brs.de>
Diffstat (limited to 'pocs')
0 files changed, 0 insertions, 0 deletions