liblloyal 1.0.0
Branched Inference for llama.cpp
Loading...
Searching...
No Matches
lloyal::kv::cache_type Namespace Reference

Functions

ggml_type from_str (const std::string &s)
 Map string name to ggml_type enum (matches llama.cpp CLI -ctk/-ctv flags).
 

Function Documentation

◆ from_str()

ggml_type lloyal::kv::cache_type::from_str ( const std::string &  s)
inline

Map string name to ggml_type enum (matches llama.cpp CLI -ctk/-ctv flags).

Returns GGML_TYPE_COUNT as sentinel on unknown input — caller must check.

Examples
/home/runner/work/liblloyal/liblloyal/include/lloyal/kv.hpp.

Definition at line 44 of file kv.hpp.