mirror of
https://github.com/ggml-org/llama.cpp.git
synced 2026-08-26 15:16:23 +02:00
llama : add SKIP_KQ_KQV option
This commit is contained in:
@@ -5830,6 +5830,15 @@ static struct ggml_cgraph * llama_build_graph(
|
||||
node->op = GGML_OP_NONE;
|
||||
}
|
||||
}
|
||||
if (getenv("SKIP_KQ_KQV")) {
|
||||
if (
|
||||
strcmp(node->name, "KQ") == 0 ||
|
||||
strcmp(node->name, "KQV") == 0 ||
|
||||
false) {
|
||||
//printf("skipping %s\n", dst->name);
|
||||
node->op = GGML_OP_NONE;
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user