From 1699e3218a83ac1fe00412973b8194e9a32cb4ea Mon Sep 17 00:00:00 2001 From: Vladimir Milosevic <157983820+vmilosevic@users.noreply.github.com> Date: Sat, 4 Jan 2025 20:10:20 +0100 Subject: [PATCH] Uplift third_party/tt-metal to fe6a3da9cf5d064a61a4fc626502cf1544446eb9 2025-01-04 (#1699) - This PR uplifts the third_party/tt-metal to the fe6a3da9c - Update runtime code to to use ::ttnn::SmallVector for ::ttnn::permute() Fixes compile error "no known conversion from 'std::vector' to 'const SmallVector'" --------- Co-authored-by: kmitrovicTT <169657397+kmitrovicTT@users.noreply.github.com> Co-authored-by: Kyle Mabee --- runtime/lib/ttnn/operations/data_movement/permute.cpp | 4 ++-- third_party/CMakeLists.txt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/runtime/lib/ttnn/operations/data_movement/permute.cpp b/runtime/lib/ttnn/operations/data_movement/permute.cpp index 70589faf0..55125ed6a 100644 --- a/runtime/lib/ttnn/operations/data_movement/permute.cpp +++ b/runtime/lib/ttnn/operations/data_movement/permute.cpp @@ -16,8 +16,8 @@ void run(const ::tt::target::ttnn::PermuteOp *op, ProgramContext &context) { const ::ttnn::Tensor &in = tensorPool.at(op->in()->global_id()); DEBUG_ASSERT(in.is_allocated()); - std::vector permutation(op->permutation()->begin(), - op->permutation()->end()); + ::ttnn::SmallVector permutation(op->permutation()->begin(), + op->permutation()->end()); std::optional memoryConfig = op->memory_config() ? std::make_optional(utils::createMemoryConfig( op->memory_config(), op->out())) diff --git a/third_party/CMakeLists.txt b/third_party/CMakeLists.txt index 8392bb542..fa9793548 100644 --- a/third_party/CMakeLists.txt +++ b/third_party/CMakeLists.txt @@ -1,6 +1,6 @@ include(ExternalProject) -set(TT_METAL_VERSION "c066c3f3d2202c87258ed400307e7f6e26d372a7") +set(TT_METAL_VERSION "fe6a3da9cf5d064a61a4fc626502cf1544446eb9") if ("$ENV{ARCH_NAME}" STREQUAL "grayskull") set(ARCH_NAME "grayskull")