Skip to content

Commit

Permalink
#0: fix conv
Browse files Browse the repository at this point in the history
  • Loading branch information
yugaoTT committed Dec 11, 2024
1 parent 44c5ca3 commit f949ba3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -556,6 +556,8 @@ INSTANTIATE_TEST_SUITE_P(
.in0_block_w = 2,
.out_subblock_h = 1,
.out_subblock_w = 1,
.out_block_h = 64,
.out_block_w = 2,
.per_core_M = 64,
.per_core_N = 2,
.fuse_batch = true,
Expand Down
2 changes: 2 additions & 0 deletions ttnn/cpp/ttnn/operations/conv/conv2d/conv2d_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -754,6 +754,8 @@ ttnn::operations::matmul::MatmulProgramConfig determine_matmul_op_config_from_co
.in0_block_w = conv_blocking_config.act_block_w_ntiles,
.out_subblock_h = conv_blocking_config.out_subblock_h_ntiles,
.out_subblock_w = conv_blocking_config.out_subblock_w_ntiles,
.out_block_h = div_up(conv_parallelization_config.per_core_out_matrix_height, tt::constants::TILE_HEIGHT),
.out_block_w = div_up(conv_parallelization_config.per_core_out_matrix_width, tt::constants::TILE_WIDTH),
.per_core_M = div_up(conv_parallelization_config.per_core_out_matrix_height, tt::constants::TILE_HEIGHT),
.per_core_N = div_up(conv_parallelization_config.per_core_out_matrix_width, tt::constants::TILE_WIDTH),
.fuse_batch = true,
Expand Down

0 comments on commit f949ba3

Please sign in to comment.