mirror of
https://github.com/ollama/ollama.git
synced 2025-05-11 02:16:36 +02:00
llama: update to commit 71e90e88 (#10192)
This commit is contained in:
parent
369de832cd
commit
943464ccb8
160 changed files with 42219 additions and 33080 deletions
2
llama/sampling_ext.cpp
vendored
2
llama/sampling_ext.cpp
vendored
|
@ -73,7 +73,7 @@ struct llama_vocab * llama_load_vocab_from_file(const char * fname) {
|
|||
try {
|
||||
const auto kv = LLM_KV(LLM_ARCH_UNKNOWN);
|
||||
std::vector<std::string> splits = {};
|
||||
llama_model_loader ml(std::string(fname), splits, false, false, nullptr);
|
||||
llama_model_loader ml(std::string(fname), splits, false, false, nullptr, nullptr);
|
||||
vocab->load(ml, kv);
|
||||
} catch (const std::exception & err) {
|
||||
LLAMA_LOG_ERROR("%s: error loading model: %s\n", __func__, err.what());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue