mirror of
https://github.com/ikawrakow/ik_llama.cpp.git
synced 2026-06-28 04:30:15 -05:00
Fix unknown tensor type warnings
This commit is contained in:
parent
93c1e241d8
commit
e09a365f0b
@ -1861,6 +1861,9 @@ llm_tensor llm_tensor_type(llm_arch arch, const std::string & tensor_name, int i
|
||||
if (tensor_name.find(this_name) == 0) {
|
||||
return entry.first;
|
||||
}
|
||||
if (tensor_name.find(base_name) == 0) {
|
||||
return entry.first;
|
||||
}
|
||||
}
|
||||
return LLM_TENSOR_UNKNOWN;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user