@@ -252,9 +252,7 @@ def conv2d_strategy_cuda(attrs, inputs, out_type, target):
252252 )
253253
254254 # register auto-scheduler implementations
255- if (
256- is_auto_scheduler_enabled () or is_meta_schedule_enabled ()
257- ) and judge_winograd_auto_scheduler :
255+ if is_auto_scheduler_enabled () and judge_winograd_auto_scheduler :
258256 strategy .add_implementation (
259257 wrap_compute_conv2d (topi .nn .conv2d_winograd_nhwc ),
260258 naive_schedule , # this implementation should never be picked by autotvm
@@ -545,7 +543,7 @@ def conv2d_winograd_without_weight_transfrom_strategy_cuda(attrs, inputs, out_ty
545543 name = "conv2d_nhwc_winograd_direct_without_weight_transform.cuda" ,
546544 )
547545
548- if is_auto_scheduler_enabled () or is_meta_schedule_enabled () :
546+ if is_auto_scheduler_enabled ():
549547 strategy .add_implementation (
550548 wrap_compute_conv2d (topi .nn .conv2d_winograd_nhwc_without_weight_transform ),
551549 naive_schedule , # this implementation should never be picked by autotvm
@@ -823,7 +821,7 @@ def matmul_strategy_cuda(attrs, inputs, out_type, target):
823821 """Matmul cuda strategy."""
824822 strategy = _op .OpStrategy ()
825823
826- if is_auto_scheduler_enabled () or is_meta_schedule_enabled () :
824+ if is_auto_scheduler_enabled ():
827825 strategy .add_implementation (
828826 wrap_compute_matmul (topi .nn .matmul ),
829827 naive_schedule ,
0 commit comments