mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2026-09-19 17:25:07 +02:00
fix for jamba models - they have recurrent layers like rwkv, so context shifting and forwarding wont work on them.
This commit is contained in:
@@ -324,6 +324,10 @@ void print_tok_vec(std::vector<float> &embd)
|
||||
{
|
||||
fileformatmeta->model_architecture = GGUFArch::ARCH_MAMBA;
|
||||
}
|
||||
else if(modelarch=="jamba")
|
||||
{
|
||||
fileformatmeta->model_architecture = GGUFArch::ARCH_JAMBA;
|
||||
}
|
||||
else if(modelarch=="llama" && freq_base_train==10000.0f && (n_tensors==435 || n_tensors==611))
|
||||
{
|
||||
fileformatmeta->model_architecture = GGUFArch::ARCH_SOLAR;
|
||||
|
||||
Reference in New Issue
Block a user