Don't disable CUDA graphs for Qwen3-Next (#1278)

This commit is contained in:
Kawrakow
2026-02-18 08:47:45 +01:00
committed by GitHub
parent cafeef484c
commit 84831fc3ee

View File

@@ -3956,7 +3956,8 @@ static bool check_node_graph_compatibility_and_refresh_copy_ops(ggml_cuda_graph
}
}
if (node->op == GGML_OP_ADD &&
// Why was this needed? Leaving it in place but disabled in case it is actually needed.
if (false && node->op == GGML_OP_ADD &&
node->src[1] && node->src[1]->ne[1] > 1 &&
(node->src[0] ? node->src[0]->name != gemma3n_per_layer_proj_src0_name : true) &&
(node->src[1] ? node->src[1]->name != gemma3n_per_layer_proj_src1_name : true) &&