]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
cuda : cuda graphs now compare all node params (#19383)
authorGeorgi Gerganov <redacted>
Fri, 6 Feb 2026 05:55:06 +0000 (07:55 +0200)
committerGitHub <redacted>
Fri, 6 Feb 2026 05:55:06 +0000 (07:55 +0200)
ggml/src/ggml-cuda/ggml-cuda.cu

index eeb8625dbebaea1870027a9336d49f742b09f6e2..9e77c231c85f2a45fc8946edc0753476c8a32e8f 100644 (file)
@@ -2979,8 +2979,7 @@ static bool ggml_cuda_graph_node_properties_match(ggml_tensor * node, ggml_cuda_
         }
     }
 
-    if ((node->op == GGML_OP_SCALE || node->op == GGML_OP_GLU) &&
-        memcmp(props->op_params, node->op_params, GGML_MAX_OP_PARAMS) != 0) {
+    if (memcmp(props->op_params, node->op_params, GGML_MAX_OP_PARAMS) != 0) {
         return false;
     }