Skip to content

Commit

Permalink
Adding a repro test to verify revert
Browse files Browse the repository at this point in the history
  • Loading branch information
sdjordjevicTT committed Dec 26, 2024
1 parent df24852 commit 602fa4e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions test/ttmlir/Silicon/TTNN/matmul/llama_matmul.mlir
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
// RUN: ttmlir-opt --ttir-to-ttnn-backend-pipeline="system-desc-path=%system_desc_path%" %s > %t.mlir
// RUN: FileCheck %s --input-file=%t.mlir
// RUN: ttmlir-translate --ttnn-to-flatbuffer %t.mlir > %t.ttnn
module attributes {} {
func.func @forward(%arg0: tensor<1x11x2048xf32>, %arg1: tensor<2048x128256xf32>) -> tensor<1x11x128256xf32> {
%0 = tensor.empty() : tensor<1x11x128256xf32>
// CHECK: %[[C:.*]] = "ttnn.matmul"[[C:.*]]
%1 = "ttir.matmul"(%arg0, %arg1, %0) : (tensor<1x11x2048xf32>, tensor<2048x128256xf32>, tensor<1x11x128256xf32>) -> tensor<1x11x128256xf32>
return %1 : tensor<1x11x128256xf32>
}
}
File renamed without changes.

0 comments on commit 602fa4e

Please sign in to comment.