MCPcopy Create free account
hub / github.com/appdevforall/CodeOnTheGo / gguf_set_val_u8

Function gguf_set_val_u8

subprojects/llama.cpp/ggml/src/gguf.cpp:977–981  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

975}
976
977void gguf_set_val_u8(struct gguf_context * ctx, const char * key, uint8_t val) {
978 gguf_check_reserved_keys(key, val);
979 gguf_remove_key(ctx, key);
980 ctx->kv.emplace_back(key, val);
981}
982
983void gguf_set_val_i8(struct gguf_context * ctx, const char * key, int8_t val) {
984 gguf_check_reserved_keys(key, val);

Callers 2

get_random_gguf_contextFunction · 0.85
gguf_set_kvFunction · 0.85

Calls 2

gguf_check_reserved_keysFunction · 0.85
gguf_remove_keyFunction · 0.85

Tested by 1

get_random_gguf_contextFunction · 0.68