Skip to content

Commit 35180a1

Browse files
Gitty Bursteinyael-works
andcommitted
SparseK: fix duplicate get_key<bool> instantiations
Co-authored-by: Gitty Burstein <[email protected]> Co-authored-by: Yael Shuker <[email protected]>
1 parent b7315fc commit 35180a1

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/llama-model-loader.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ namespace GGUFMeta {
403403
template bool llama_model_loader::get_key<float> (enum llm_kv kid, float & result, bool required);
404404
template bool llama_model_loader::get_key<uint32_t> (enum llm_kv kid, uint32_t & result, bool required);
405405
template bool llama_model_loader::get_key<std::string>(enum llm_kv kid, std::string & result, bool required);
406-
template bool llama_model_loader::get_key<bool>(const std::string & key, bool & result, bool required);
406+
template bool llama_model_loader::get_key<bool> (const std::string & key, bool & result, bool required);
407407
template<>
408408
bool llama_model_loader::get_key(enum llm_kv kid, enum llama_pooling_type & result, bool required) {
409409
uint32_t tmp;
@@ -1166,5 +1166,4 @@ void llama_model_loader::print_info() const {
11661166
}
11671167
}
11681168

1169-
template bool llama_model_loader::get_key<bool>(enum llm_kv kid, bool & result, bool required);
1170-
template bool llama_model_loader::get_key<bool>(const std::string & key, bool & result, bool required);
1169+

0 commit comments

Comments
 (0)