llama : fix build

This commit is contained in:
Georgi Gerganov 2024-02-24 12:40:44 +02:00
parent decea31220
commit 8f9fe6dd7f
No known key found for this signature in database
GPG key ID: 449E073F9DC10735

View file

@ -11792,8 +11792,10 @@ enum llama_rope_type llama_rope_type(const struct llama_model * model) {
// all model arches should be listed explicitly here
case LLM_ARCH_UNKNOWN:
GGML_ASSERT(false && "unknown architecture");
return LLAMA_ROPE_TYPE_NONE;
break;
}
return LLAMA_ROPE_TYPE_NONE;
}
int32_t llama_n_vocab(const struct llama_model * model) {