Skip to content

Commit

Permalink
Uplift third_party/tt-metal to fe6a3da9cf5d064a61a4fc626502cf1544446e…
Browse files Browse the repository at this point in the history
…b9 2025-01-04 (#1699)

- This PR uplifts the third_party/tt-metal to the fe6a3da9c
- Update runtime code to to use ::ttnn::SmallVector<int64_t> for ::ttnn::permute()
   Fixes compile error "no known conversion from 'std::vector<long>' to 'const SmallVector<int64_t>'"

---------

Co-authored-by: kmitrovicTT <[email protected]>
Co-authored-by: Kyle Mabee <[email protected]>
  • Loading branch information
3 people authored Jan 4, 2025
1 parent 520685a commit 1699e32
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions runtime/lib/ttnn/operations/data_movement/permute.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<int64_t> permutation(op->permutation()->begin(),
op->permutation()->end());
::ttnn::SmallVector<int64_t> permutation(op->permutation()->begin(),
op->permutation()->end());
std::optional<tt::tt_metal::MemoryConfig> memoryConfig =
op->memory_config() ? std::make_optional(utils::createMemoryConfig(
op->memory_config(), op->out()))
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 "c066c3f3d2202c87258ed400307e7f6e26d372a7")
set(TT_METAL_VERSION "fe6a3da9cf5d064a61a4fc626502cf1544446eb9")

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

0 comments on commit 1699e32

Please sign in to comment.