Skip to content

Commit

Permalink
Uplift third_party/tt-metal to 6a524ab817aeb09c273e37254f39ad8124ddf2…
Browse files Browse the repository at this point in the history
…f8 2024-12-03 (#1463)

* Uplift third_party/tt-metal to 6a524ab817aeb09c273e37254f39ad8124ddf2f8 2024-12-03
* reflect tt-metal refactor to uplift tt-metal
- fixed build error due to refactor in tenstorrent/tt-metal@3584ac9

---------

Co-authored-by: kmitrovicTT <[email protected]>
Co-authored-by: Brata Choudhury <[email protected]>
  • Loading branch information
3 people authored Dec 4, 2024
1 parent 59cd3d3 commit 02daac6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion runtime/include/tt/runtime/detail/ttnn.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#include "ttnn/operations/embedding/embedding.hpp"
#include "ttnn/operations/matmul/matmul.hpp"
#include "ttnn/operations/normalization/softmax/softmax.hpp"
#include "ttnn/operations/pool/maxpool/max_pool2d.hpp"
#include "ttnn/operations/pool/generic/generic_pools.hpp"
#include "ttnn/operations/reduction/generic/generic_reductions.hpp"
#include "ttnn/tensor/host_buffer/functions.hpp"
#include "ttnn/tensor/tensor.hpp"
Expand Down
6 changes: 4 additions & 2 deletions runtime/lib/ttnn/operations/pool/maxpool2d.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,10 @@ preshardForMaxPool2d(const ::tt::target::ttnn::MaxPool2dOp *op,

void run(const ::tt::target::ttnn::MaxPool2dOp *op, ProgramContext &context) {
ProgramTensorPool &tensorPool = context.getTensorPool();
const ::ttnn::operations::pool::MaxPool2DOp operation =
::ttnn::operations::pool::MaxPool2DOp();
const ::ttnn::operations::pool::Pool2DOp<
::ttnn::operations::pool::Pool2DType::MAX_POOL2D>
operation = ::ttnn::operations::pool::Pool2DOp<
::ttnn::operations::pool::Pool2DType::MAX_POOL2D>();

::ttnn::Tensor input = tensorPool.at(op->in()->global_id());
DEBUG_ASSERT(input.is_allocated());
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 "ab3dc0c4f5c3ce9722261c878970bfa92a212fc9")
set(TT_METAL_VERSION "6a524ab817aeb09c273e37254f39ad8124ddf2f8")

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

0 comments on commit 02daac6

Please sign in to comment.