mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2024-12-26 03:14:35 +00:00
llama : add SKIP_KQ_KQV option
This commit is contained in:
parent
ed9fde7a1e
commit
cb79f8a2d8
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user