llama : add SKIP_KQ_KQV option
This commit is contained in:
parent
ed9fde7a1e
commit
cb79f8a2d8
1 changed files with 9 additions and 0 deletions
|
@ -5830,6 +5830,15 @@ static struct ggml_cgraph * llama_build_graph(
|
||||||
node->op = GGML_OP_NONE;
|
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
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue