mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2026-08-25 22:21:14 +02:00
should not be static
This commit is contained in:
+1
-1
@@ -426,7 +426,7 @@ gpt_vocab::id gpt_sample_top_k_top_p(
|
||||
return logits_id[idx].second;
|
||||
}
|
||||
|
||||
static bool should_transpose_layer(std::string name)
|
||||
bool should_transpose_layer(std::string name)
|
||||
{
|
||||
|
||||
if(name.find(".mlp.fc_in.weight")!=std::string::npos ||
|
||||
|
||||
+1
-1
@@ -76,4 +76,4 @@ bool utils_gpt_params_parse(int argc, char ** argv, gpt_params & params);
|
||||
void utils_gpt_print_usage(int argc, char ** argv, const gpt_params & params);
|
||||
std::string utils_gpt_random_prompt(std::mt19937 & rng);
|
||||
|
||||
static bool should_transpose_layer(std::string name);
|
||||
bool should_transpose_layer(std::string name);
|
||||
Reference in New Issue
Block a user