mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2025-09-10 00:54:41 +00:00
Merge branch 'master' into concedo_experimental
# Conflicts: # .gitignore # CMakeLists.txt # Makefile # README.md # build.zig # ggml-opencl.cpp # tests/CMakeLists.txt # tests/test-double-float.cpp # tests/test-sampling.cpp
This commit is contained in:
commit
5db89b90b7
72 changed files with 5422 additions and 7821 deletions
|
@ -293,7 +293,7 @@ void print_tok_vec(std::vector<float> &embd)
|
|||
|
||||
//try to adapt if the rope_freq_base_train exceeds the auto one
|
||||
fkey = modelarch+".rope.freq_base";
|
||||
auto keyidx = gguf_find_key(ctx, fkey.c_str());
|
||||
keyidx = gguf_find_key(ctx, fkey.c_str());
|
||||
if (keyidx != -1) {
|
||||
float fbt = gguf_get_val_f32(ctx, keyidx);
|
||||
fileformatmeta->freq_base_train = (fbt > 1.0f ? fbt : 0.0f);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue