summaryrefslogtreecommitdiff
path: root/common/common.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'common/common.cpp')
-rw-r--r--common/common.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/common.cpp b/common/common.cpp
index c86d364f..6c298d2d 100644
--- a/common/common.cpp
+++ b/common/common.cpp
@@ -2221,6 +2221,9 @@ static ggml_type kv_cache_type_from_str(const std::string & s) {
if (s == "f16") {
return GGML_TYPE_F16;
}
+ if (s == "bf16") {
+ return GGML_TYPE_BF16;
+ }
if (s == "q8_0") {
return GGML_TYPE_Q8_0;
}