mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2025-09-10 00:54:41 +00:00
fixed support for old falcon models
This commit is contained in:
parent
700951dbd4
commit
c1ca1de2ac
4 changed files with 255 additions and 4 deletions
|
@ -288,6 +288,8 @@ void print_tok_vec(std::vector<float> &embd)
|
|||
if (keyidx != -1) {
|
||||
fileformatmeta->n_ctx_train = gguf_get_val_u32(ctx, keyidx);
|
||||
}
|
||||
int filever = gguf_get_version(ctx);
|
||||
fileformatmeta->fileversion = filever;
|
||||
}
|
||||
gguf_free(ctx);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue