mirror of
https://github.com/ggml-org/llama.cpp.git
synced 2026-09-17 20:31:47 +02:00
metal : guard SSM_CONV fusion lookup behind use_fusion
Assisted-by: pi:llama.cpp/DeepSeek-V4-Flash-Vision-Exp
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user