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

Function gguf_set_val_i8

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

Source from the content-addressed store, hash-verified

981}
982
983void gguf_set_val_i8(struct gguf_context * ctx, const char * key, int8_t val) {
984 gguf_check_reserved_keys(key, val);
985 gguf_remove_key(ctx, key);
986 ctx->kv.emplace_back(key, val);
987}
988
989void gguf_set_val_u16(struct gguf_context * ctx, const char * key, uint16_t val) {
990 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