Skip to content

Commit

Permalink
Uplift third_party/tt-metal to efc6f706bf943e581e45d3b05e1129fbc857ba…
Browse files Browse the repository at this point in the history
…94 2024-11-28 (#1387)

* Uplift third_party/tt-metal to efc6f706bf943e581e45d3b05e1129fbc857ba94 2024-11-28

* Set new field enable_channels_padding=false on ::ttnn::operations::conv::conv2d::determine_parallel_config()

* Uplift third_party/tt-metal to d183d61dc5 2024-11-27 (+ 2 cherry picks)

* Uplift third_party/tt-metal to ed6dda9bd5 2024-11-27 (+ 2 cherry picks)

 - tenstorrent/tt-metal#15510 (CB size assert)
 - tenstorrent/tt-metal#15297 (GS/BH 1x1 MeshDevice)

---------

Co-authored-by: kmitrovicTT <[email protected]>
Co-authored-by: Kyle Mabee <[email protected]>
  • Loading branch information
3 people authored Nov 28, 2024
1 parent 87cdd07 commit 5272015
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion runtime/lib/ttnn/operations/pool/maxpool2d.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,14 @@ preshardForMaxPool2d(const ::tt::target::ttnn::MaxPool2dOp *op,
op->dilation_width() * (op->kernel_width() - 1) - 1) /
op->stride_width();

constexpr bool en_ch_padding = false;

auto parallel_config =
::ttnn::operations::conv::conv2d::determine_parallel_config(
::ttnn::TensorMemoryLayout::HEIGHT_SHARDED, op->batch_size(),
op->channels(), output_height, output_width, op->channels(),
device.compute_with_storage_grid_size(), ShardOrientation::ROW_MAJOR);
device.compute_with_storage_grid_size(), ShardOrientation::ROW_MAJOR,
en_ch_padding);
auto sharded_memory_config = ::ttnn::operations::conv::conv2d::
create_sharded_memory_config_from_parallel_config(inputShape,
parallel_config, 1);
Expand Down
2 changes: 1 addition & 1 deletion third_party/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
include(ExternalProject)

set(TT_METAL_VERSION "69870bdeaf1c9270e325810249def6a3e9f38fb4")
set(TT_METAL_VERSION "82ba2cbad64d1e36cad446d1f2f9bd266883ae74")

if ("$ENV{ARCH_NAME}" STREQUAL "grayskull")
set(ARCH_NAME "grayskull")
Expand Down

0 comments on commit 5272015

Please sign in to comment.