Skip to content

Commit

Permalink
Uplift third_party/tt-metal to 9d69fb143bac50983dff914c5348539d0a7d20…
Browse files Browse the repository at this point in the history
…21 2025-01-31 (#2051)

This PR uplifts the third_party/tt-metal to the
9d69fb143bac50983dff914c5348539d0a7d2021

- Replace Shape with SimpleShape after metal change 452da80

---------

Co-authored-by: kmabeeTT <118925087+kmabeeTT@users.noreply.github.com>
Co-authored-by: brataTT <achoudhury@tenstorrent.com>
  • Loading branch information
3 people authored Jan 31, 2025
1 parent 6eda280 commit af385c1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib/Conversion/TTNNToEmitC/TTNNToEmitC.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -568,11 +568,11 @@ class RepeatOpConversionPattern
ConversionPatternRewriter &rewriter) const override {
ttnn::ShapeAttr repeatDims = repeatOp.getRepeatDimsAttr();

// Create ttnn::Shape() call
// Create ttnn::SimpleShape() call
//
emitc::CallOpaqueOp shapeOp = ttnn_to_emitc::utils::createShapeOp(
rewriter, repeatDims, repeatOp.getLoc(),
ttnn_to_emitc::utils::ShapeType::Shape);
ttnn_to_emitc::utils::ShapeType::SimpleShape);

// Create operands vector
//
Expand Down
2 changes: 1 addition & 1 deletion runtime/lib/ttnn/operations/data_movement/repeat.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ void run(const ::tt::target::ttnn::RepeatOp *op, ProgramContext &context) {
DEBUG_ASSERT(in.is_allocated());
const auto *fbShape = op->repeat_dims();
const std::vector<uint32_t> repeatDims(fbShape->begin(), fbShape->end());
::ttnn::Shape repeatDimsShape(repeatDims);
::ttnn::SimpleShape repeatDimsShape(repeatDims);
::ttnn::Tensor out = ::ttnn::repeat(in, repeatDimsShape);
tensorPool.insert_or_assign(op->out()->global_id(), 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 "064646adfcb5f0b923a24a633d532552bd43e06d")
set(TT_METAL_VERSION "9d69fb143bac50983dff914c5348539d0a7d2021")

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

0 comments on commit af385c1

Please sign in to comment.