Skip to content

Commit

Permalink
tests: benchdnn: graph: improve tests cases with fpmath mode
Browse files Browse the repository at this point in the history
  • Loading branch information
wzt1997 authored and TaoLv committed Apr 28, 2024
1 parent fdff2ef commit 6a4a583
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tests/benchdnn/inputs/graph/pattern/harness_f32_all
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
--reset --in-shapes=0:2x4x2+1:2x4x2+2:1x1x1 --op-attrs=1:auto_broadcast:none --case=pattern/f32/binary_3d_post_ops_add_fusion.json
--reset --in-shapes=0:2x4x2+1:2x4x2+2:1x4x1 --op-attrs=1:auto_broadcast:none --case=pattern/f32/binary_3d_post_ops_add_fusion.json
# conv
--reset --attr-fpmath=strict,bf16 --case=pattern/f32/conv_bias_add_fusion.json
--reset --attr-fpmath=strict,bf16,tf32 --case=pattern/f32/conv_bias_add_fusion.json
--reset --in-shapes=0:50x64x56x56+1:64x64x1x1+2:64+3:1x1x1x1 --op-attrs=4:strides:1x1*dilations:1x1*pads_begin:0x0*pads_end:0x0*groups:1 --case=pattern/f32/conv_bias_add_fusion.json
--reset --in-shapes=0:50x64x56x56+1:64x64x1x1+2:64+3:1x64x1x1 --op-attrs=4:strides:1x1*dilations:1x1*pads_begin:0x0*pads_end:0x0*groups:1 --case=pattern/f32/conv_bias_add_fusion.json
--reset --in-shapes=0:50x64x56x56+1:64x64x1x1+2:64+3:50x64x56x56 --op-attrs=4:strides:1x1*dilations:1x1*pads_begin:0x0*pads_end:0x0*groups:1 --case=pattern/f32/conv_bias_add_fusion.json
Expand Down Expand Up @@ -125,7 +125,7 @@
--reset --in-shapes=0:2x17x21+1:2x17x17+2:1x1x1 --op-attrs=13:scales:0.809524 --case=pattern/f32/interpolate_post_ops_chain_fusion.json
--reset --in-shapes=0:2x17x21+1:2x17x17+2:1x17x1 --op-attrs=13:scales:0.809524 --case=pattern/f32/interpolate_post_ops_chain_fusion_2.json
# matmul
--reset --attr-fpmath=strict,bf16 --case=pattern/f32/matmul_post_ops_add_add_fusion.json
--reset --attr-fpmath=strict,bf16,tf32 --case=pattern/f32/matmul_post_ops_add_add_fusion.json
--reset --in-shapes=0:384x4096+1:4096x1024+2:384x1024 --case=pattern/f32/matmul_post_ops_sum_relu_fusion.json
--reset --in-shapes=0:384x512+1:512x1024+2:384x1024 --case=pattern/f32/matmul_post_ops_sum_relu_fusion.json
--reset --in-shapes=0:16x1024+1:1024x1024+2:1x1+3:1x1 --case=pattern/f32/matmul_post_ops_chain_fusion.json
Expand Down
2 changes: 0 additions & 2 deletions tests/benchdnn/inputs/graph/pattern/harness_int8_all
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
--reset --case=pattern/int8/int8_bf16_conv_add_relu_mul.json
--reset --case=pattern/int8/int8_bf16_matmul_tc_add_quant_fusion.json
# conv
--reset --attr-fpmath=strict,bf16 --case=pattern/int8/int8_conv_bias_relu_fusion.json
--reset --in-shapes=0:50x64x56x56+1:64x64x1x1+2:64 --op-attrs=4:strides:1x1*dilations:1x1*pads_begin:0x0*pads_end:0x0*groups:1 --case=pattern/int8/int8_conv_bias_relu_fusion.json
--reset --in-shapes=0:1x2048x14x14+1:2048x64x3x3+2:2048 --op-attrs=4:strides:1x1*dilations:1x1*pads_begin:1x1*pads_end:1x1*groups:32 --case=pattern/int8/int8_conv_bias_mish_fusion.json
--reset --in-shapes=0:1x2048x14x14+1:2048x64x3x3+2:2048 --op-attrs=4:strides:1x1*dilations:1x1*pads_begin:1x1*pads_end:1x1*groups:32 --case=pattern/int8/int8_conv_bias_relu_fusion_2.json
Expand All @@ -43,7 +42,6 @@
--reset --in-shapes=0:2x64x3x3 --case=pattern/int8/int8_reorder_fusion_2.json
--reset --in-shapes=0:2x64x3x3 --case=pattern/int8/int8_reorder_fusion_3.json
# matmul
--reset --attr-fpmath=strict,bf16 --case=pattern/int8/int8_matmul_add_mul_fusion.json
--reset --in-shapes=0:16x256+1:256x1+2:1x1+3:1x1 --case=pattern/int8/int8_matmul_add_mul_fusion.json
--reset --op-attrs=8209:zps:3 --case=pattern/int8/int8_matmul_add_mul_fusion.json
--reset --in-shapes=0:16x256+1:256x1+2:1x1+3:1x1+4:1x1 --case=pattern/int8/int8_matmul_mul_add_mul_fusion.json
Expand Down

0 comments on commit 6a4a583

Please sign in to comment.