Update llama.cpp

This commit is contained in:
Georgi Gerganov 2024-06-14 13:16:18 +03:00 committed by GitHub
parent 1c03036c15
commit af019105f1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -4708,8 +4708,7 @@ static void llm_load_vocab(
} else if (
tokenizer_pre == "poro-chat") {
vocab.type_pre = LLAMA_VOCAB_PRE_TYPE_PORO;
}
else {
} else {
throw std::runtime_error(format("unknown pre-tokenizer type: '%s'", tokenizer_pre.c_str()));
}
} else {