File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -255,6 +255,7 @@ class RunResult:
255255 "matmul_tritonbench" ,
256256 {
257257 "num_inputs" : 6 , # gemm takes long time on Benchmark CI, so use fewer inputs instead.
258+ "non_square" : "" , # use --non-square shapes
258259 },
259260 ),
260261 "gemm-bwd" : (
@@ -795,7 +796,12 @@ def run_kernel_variants(
795796 for arg in tritonbench_args
796797 )
797798 if not already_specified :
798- tritonbench_args .extend ([arg_flag , str (arg_value )])
799+ if arg_value == "" :
800+ # Boolean flag - just add the flag, no value
801+ tritonbench_args .append (arg_flag )
802+ else :
803+ # Regular flag with value
804+ tritonbench_args .extend ([arg_flag , str (arg_value )])
799805 operator_custom_args_applied [arg_name ] = arg_value
800806 print (
801807 f"Applying custom args for { operator_name } : { operator_custom_args_applied } " ,
You can’t perform that action at this time.
0 commit comments