We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33d9591 commit e4c38d2Copy full SHA for e4c38d2
common/common.h
@@ -739,11 +739,11 @@ const char * const LLM_KV_SPLIT_TENSORS_COUNT = "split.tensors.count";
739
740
const char * const LLM_FFN_EXPS_REGEX = "\\.ffn_(up|down|gate)_exps";
741
742
-inline std::string llm_ffn_exps_block_regex(int idx) {
+static std::string llm_ffn_exps_block_regex(int idx) {
743
return string_format("blk\\.%d%s", idx, LLM_FFN_EXPS_REGEX);
744
}
745
746
-inline llama_model_tensor_buft_override llm_ffn_exps_cpu_override() {
+static llama_model_tensor_buft_override llm_ffn_exps_cpu_override() {
747
return { LLM_FFN_EXPS_REGEX, ggml_backend_cpu_buffer_type() };
748
749
0 commit comments