diff --git a/src/Nncase.Passes/Rules/ShapeBucket/ShapeBucket.cs b/src/Nncase.Passes/Rules/ShapeBucket/ShapeBucket.cs index c9efffc10..043732e03 100644 --- a/src/Nncase.Passes/Rules/ShapeBucket/ShapeBucket.cs +++ b/src/Nncase.Passes/Rules/ShapeBucket/ShapeBucket.cs @@ -472,7 +472,7 @@ public MatmulToFusion(bool isDynamic = false) { } - public override bool Check(Call call) + public static bool CheckQWEN(Call call) { if (System.Environment.GetEnvironmentVariable("NNCASE_QWEN_QUANT_LAYERS") is string quant_layers) { @@ -537,6 +537,11 @@ public override bool Check(Call call) return true; } + + public override bool Check(Call call) + { + return CheckQWEN(call); + } } public class ActToFusion : MarkerCallToFusion