summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorKerfuffle <44031344+KerfuffleV2@users.noreply.github.com>2023-12-05 10:19:18 -0700
committerGitHub <noreply@github.com>2023-12-05 19:19:18 +0200
commit5aa365d88fdb8fdd430ef3fc141c7a5fd37c3502 (patch)
treeb9653918c6b5cd09b5a981927b143d3011456acb /examples
parent52c8bc3cf312e1caf02d37bfb9d9d865cbe33594 (diff)
llama : allow overriding GGUF metadata when loading model (#4092)
* feat: Allow overriding GGUF metadata when loading model * Fix the one time GCC is stricter than clang about something * Step1 * Refactor... basically everything! * Nuke obsolete GetArrayLen struct * simplify std::string specialization * Various cleanups Add informational output when overrides are applied Warn user when an override with the wrong type is specified * Fix broken logic for parsing bool KV overrides Fix issue where overrides didn't apply when key missing in GGUF metadata Resolve merge changes * llama : rearrange model params * Update new GET_KEY call Add note that metadata KV overrides aren't reflected in initial metadata KV info dump --------- Co-authored-by: cebtenzzre <cebtenzzre@gmail.com> Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions