metal : guard SSM_CONV fusion lookup behind use_fusion

Assisted-by: pi:llama.cpp/DeepSeek-V4-Flash-Vision-Exp
This commit is contained in:
Georgi Gerganov
2026-09-15 21:46:07 +03:00
parent 7c2bcd9721
commit 862db8d11d
+1 -1
View File
@@ -1646,7 +1646,7 @@ int ggml_metal_op_ssm_conv(ggml_metal_op_t ctx, int idx) {
int n_fuse = 1;
bool use_silu = false;
{
if (ctx->use_fusion()) {
int n = 1;
const ggml_metal_fusion * fusion = ctx->can_fuse(idx, GGML_METAL_FUSION_FULL, &n);
if (fusion && fusion->id == GGML_METAL_FUSION_SSM_CONV_SILU) {