[TTNN Dialect] Convert ttnn.to_memory_config from DPS to non-DPS op #130
43 tests run, 32 passed, 3 skipped, 8 failed.
Annotations
Check failure on line 17 in ttmlir/Dialect/TTNN/eltwise
github-actions / macos-latest MLIR Tests
ttmlir/Dialect/TTNN/eltwise.operand_broadcasts.mlir
Exit Code: 1
Raw output
Exit Code: 1
Command Output (stderr):
--
RUN: at line 1: /Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-opt --ttir-load-system-desc --ttir-layout --ttnn-open-device --convert-ttir-to-ttnn /Users/runner/work/tt-mlir/tt-mlir/test/ttmlir/Dialect/TTNN/eltwise/operand_broadcasts.mlir | /opt/ttmlir-toolchain/bin/FileCheck /Users/runner/work/tt-mlir/tt-mlir/test/ttmlir/Dialect/TTNN/eltwise/operand_broadcasts.mlir
+ /Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-opt --ttir-load-system-desc --ttir-layout --ttnn-open-device --convert-ttir-to-ttnn /Users/runner/work/tt-mlir/tt-mlir/test/ttmlir/Dialect/TTNN/eltwise/operand_broadcasts.mlir
+ /opt/ttmlir-toolchain/bin/FileCheck /Users/runner/work/tt-mlir/tt-mlir/test/ttmlir/Dialect/TTNN/eltwise/operand_broadcasts.mlir
/Users/runner/work/tt-mlir/tt-mlir/test/ttmlir/Dialect/TTNN/eltwise/operand_broadcasts.mlir:17:12: error: CHECK: expected string not found in input
// CHECK: %[[C:.*]] = "ttnn.open_device"[[C:.*]]
^
<stdin>:29:93: note: scanning from here
"ttnn.close_device"(%0) : (!tt.device<<#tt.grid<8x8, (d0, d1) -> (0, d0, d1)>, [0]>>) -> ()
^
<stdin>:30:3: note: possible intended match here
return %5 : tensor<17x16x15x14xf32, #layout4>
^
Input file: <stdin>
Check file: /Users/runner/work/tt-mlir/tt-mlir/test/ttmlir/Dialect/TTNN/eltwise/operand_broadcasts.mlir
-dump-input=help explains the following input dump.
Input was:
<<<<<<
.
.
.
24: %1 = "ttnn.to_memory_config"(%arg0) : (tensor<17x16x15x14xf32, #layout4>) -> tensor<17x16x15x14xf32, #layout6>
25: %2 = "ttnn.to_memory_config"(%arg1) : (tensor<15x1xf32, #layout5>) -> tensor<15x1xf32, #layout7>
26: %3 = "ttnn.empty"(%0) : (!tt.device<<#tt.grid<8x8, (d0, d1) -> (0, d0, d1)>, [0]>>) -> tensor<17x16x15x14xf32, #layout6>
27: %4 = "ttnn.multiply"(%1, %2, %3) <{operandSegmentSizes = array<i32: 2, 1>}> : (tensor<17x16x15x14xf32, #layout6>, tensor<15x1xf32, #layout7>, tensor<17x16x15x14xf32, #layout6>) -> tensor<17x16x15x14xf32, #layout6>
28: %5 = "ttnn.to_memory_config"(%4) : (tensor<17x16x15x14xf32, #layout6>) -> tensor<17x16x15x14xf32, #layout4>
29: "ttnn.close_device"(%0) : (!tt.device<<#tt.grid<8x8, (d0, d1) -> (0, d0, d1)>, [0]>>) -> ()
check:17'0 X error: no match found
30: return %5 : tensor<17x16x15x14xf32, #layout4>
check:17'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
check:17'1 ? possible intended match
31: }
check:17'0 ~~~
32: }
check:17'0 ~~
33:
check:17'0 ~
>>>>>>
--
Check failure on line 1 in ttmlir/Silicon/TTNN
github-actions / macos-latest MLIR Tests
ttmlir/Silicon/TTNN.simple_eltwise.mlir
Exit Code: 134
Raw output
Exit Code: 134
Command Output (stderr):
--
RUN: at line 1: /Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-opt --ttir-load-system-desc="path=" --ttir-implicit-device --ttir-layout --ttnn-open-device --convert-ttir-to-ttnn /Users/runner/work/tt-mlir/tt-mlir/test/ttmlir/Silicon/TTNN/simple_eltwise.mlir > /Users/runner/work/tt-mlir/tt-mlir/build/test/ttmlir/Silicon/TTNN/Output/simple_eltwise.mlir.tmp.mlir
+ /Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-opt --ttir-load-system-desc=path= --ttir-implicit-device --ttir-layout --ttnn-open-device --convert-ttir-to-ttnn /Users/runner/work/tt-mlir/tt-mlir/test/ttmlir/Silicon/TTNN/simple_eltwise.mlir
RUN: at line 2: /opt/ttmlir-toolchain/bin/FileCheck /Users/runner/work/tt-mlir/tt-mlir/test/ttmlir/Silicon/TTNN/simple_eltwise.mlir --input-file=/Users/runner/work/tt-mlir/tt-mlir/build/test/ttmlir/Silicon/TTNN/Output/simple_eltwise.mlir.tmp.mlir
+ /opt/ttmlir-toolchain/bin/FileCheck /Users/runner/work/tt-mlir/tt-mlir/test/ttmlir/Silicon/TTNN/simple_eltwise.mlir --input-file=/Users/runner/work/tt-mlir/tt-mlir/build/test/ttmlir/Silicon/TTNN/Output/simple_eltwise.mlir.tmp.mlir
RUN: at line 3: /Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate --ttnn-to-flatbuffer /Users/runner/work/tt-mlir/tt-mlir/build/test/ttmlir/Silicon/TTNN/Output/simple_eltwise.mlir.tmp.mlir > /Users/runner/work/tt-mlir/tt-mlir/build/test/ttmlir/Silicon/TTNN/Output/simple_eltwise.mlir.tmp.ttnn
+ /Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate --ttnn-to-flatbuffer /Users/runner/work/tt-mlir/tt-mlir/build/test/ttmlir/Silicon/TTNN/Output/simple_eltwise.mlir.tmp.mlir
Assertion failed: (exists(obj) && "object does not exist"), function at, file FlatbufferObjectCache.h, line 42.
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
Stack dump:
0. Program arguments: /Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate --ttnn-to-flatbuffer /Users/runner/work/tt-mlir/tt-mlir/build/test/ttmlir/Silicon/TTNN/Output/simple_eltwise.mlir.tmp.mlir
#0 0x000000011ac99da0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/opt/ttmlir-toolchain/lib/libLLVM.dylib+0x101da0)
#1 0x000000011ac9a214 SignalHandler(int) (/opt/ttmlir-toolchain/lib/libLLVM.dylib+0x102214)
#2 0x0000000182072584 (/usr/lib/system/libsystem_platform.dylib+0x18047a584)
#3 0x0000000182041c20 (/usr/lib/system/libsystem_pthread.dylib+0x180449c20)
#4 0x0000000181f4ea30 (/usr/lib/system/libsystem_c.dylib+0x180356a30)
#5 0x0000000181f4dd20 (/usr/lib/system/libsystem_c.dylib+0x180355d20)
#6 0x0000000101254048 mlir::tt::ttnn::createOp(mlir::tt::FlatbufferObjectCache&, mlir::tt::ttnn::ToMemoryConfigOp) (.cold.5) (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x100f38048)
#7 0x00000001004584c0 tt::target::ttnn::CreateToMemoryConfigOp(flatbuffers::FlatBufferBuilderImpl<false>&, flatbuffers::Offset<tt::target::TensorRef>, flatbuffers::Offset<tt::target::TensorRef>) (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x10013c4c0)
#8 0x0000000100459224 mlir::tt::ttnn::emitTTNNOperation(mlir::tt::FlatbufferObjectCache&, mlir::Operation*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&) (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x10013d224)
#9 0x0000000100467a38 mlir::tt::Program<tt::target::ttnn::Operation> mlir::tt::funcOpToProgram<tt::target::ttnn::Operation, flatbuffers::Offset<tt::target::ttnn::Operation> (*)(mlir::tt::FlatbufferObjectCache&, mlir::Operation*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&)>(mlir::tt::FlatbufferObjectCache&, mlir::func::FuncOp, flatbuffers::Offset<tt::target::ttnn::Operation> (*)(mlir::tt::FlatbufferObjectCache&, mlir::Operation*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&))::'lambda'(mlir::Operation*)::operator()(mlir::Operation*) const (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x10014ba38)
#10 0x000000010036115c void mlir::detail::walk<mlir::ForwardIterator>(mlir::Operation*, llvm::function_ref<void (mlir::Operation*)>, mlir::WalkOrder) (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x10004515c)
#11 0x0000000100467484 mlir::tt::Program<tt::target::ttnn::Operation> mlir::tt::funcOpToProgram<tt::target::ttnn::Operation, flatbuffers::Offset<tt::target::ttnn::Operation> (*)(mlir::tt::FlatbufferObjectCache&, mlir::Operation*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&)>(mlir::tt::FlatbufferObjectCache&, mlir::func::FuncOp, flatbuffers::Offset<tt::target::ttnn::Operation> (*)(mlir::tt::FlatbufferObjectCache&, mlir::Operation*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&)) (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x10014b484)
#12 0x0000000100466ddc void llvm::function_ref<void (mlir::Operation*)>::callback_fn<std::__1::enable_if<!llvm::is_one_of<mlir::func::FuncOp, mlir::Operation*, mlir::Region*, mlir::Block*>::value && std::is_same<void, void>::value, void>::type mlir::detail::walk<(mlir::WalkOrder)1, mlir::ForwardIterator, mlir::tt::ttnn::ttnnToFlatbuffer(mlir::Operation*)::$_0, mlir::func::FuncOp, void>(mlir::Operation*, mlir::tt::ttnn::ttnnToFlatbuffer(mlir::Operation*)::$_0&&)::'lambda'(mlir::Operation*)>(long, mlir::Operation*) (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x10014addc)
#13 0x000000010036115c void mlir::detail::walk<mlir::ForwardIterator>(mlir::Operation*, llvm::function_ref<void (mlir::Operation*)>, mlir::WalkOrder) (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x10004515c)
#14 0x0000000100361120 void mlir::detail::walk<mlir::ForwardIterator>(mlir::Operation*, llvm::function_ref<void (mlir::Operation*)>, mlir::WalkOrder) (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x100045120)
#15 0x000000010045b87c mlir::tt::ttnn::ttnnToFlatbuffer(mlir::Operation*) (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x10013f87c)
#16 0x000000010045bf30 mlir::tt::ttnn::translateTTNNToFlatbuffer(mlir::Operation*, llvm::raw_ostream&) (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x10013ff30)
#17 0x00000001010e5658 std::__1::__function::__func<mlir::TranslateFromMLIRRegistration::TranslateFromMLIRRegistration(llvm::StringRef, llvm::StringRef, std::__1::function<llvm::LogicalResult (mlir::Operation*, llvm::raw_ostream&)> const&, std::__1::function<void (mlir::DialectRegistry&)> const&)::$_2, std::__1::allocator<mlir::TranslateFromMLIRRegistration::TranslateFromMLIRRegistration(llvm::StringRef, llvm::StringRef, std::__1::function<llvm::LogicalResult (mlir::Operation*, llvm::raw_ostream&)> const&, std::__1::function<void (mlir::DialectRegistry&)> const&)::$_2>, llvm::LogicalResult (std::__1::shared_ptr<llvm::SourceMgr> const&, llvm::raw_ostream&, mlir::MLIRContext*)>::operator()(std::__1::shared_ptr<llvm::SourceMgr> const&, llvm::raw_ostream&, mlir::MLIRContext*&&) (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x100dc9658)
#18 0x00000001010e34d4 llvm::LogicalResult llvm::function_ref<llvm::LogicalResult (std::__1::unique_ptr<llvm::MemoryBuffer, std::__1::default_delete<llvm::MemoryBuffer>>, llvm::raw_ostream&)>::callback_fn<mlir::mlirTranslateMain(int, char**, llvm::StringRef)::$_1>(long, std::__1::unique_ptr<llvm::MemoryBuffer, std::__1::default_delete<llvm::MemoryBuffer>>, llvm::raw_ostream&) (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x100dc74d4)
#19 0x000000010122762c mlir::splitAndProcessBuffer(std::__1::unique_ptr<llvm::MemoryBuffer, std::__1::default_delete<llvm::MemoryBuffer>>, llvm::function_ref<llvm::LogicalResult (std::__1::unique_ptr<llvm::MemoryBuffer, std::__1::default_delete<llvm::MemoryBuffer>>, llvm::raw_ostream&)>, llvm::raw_ostream&, llvm::StringRef, llvm::StringRef) (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x100f0b62c)
#20 0x00000001010e13dc mlir::mlirTranslateMain(int, char**, llvm::StringRef) (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x100dc53dc)
#21 0x000000010031e7e8 main (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x1000027e8)
#22 0x0000000181cb7154
/Users/runner/work/tt-mlir/tt-mlir/build/test/ttmlir/Silicon/TTNN/Output/simple_eltwise.mlir.script: line 3: 6884 Abort trap: 6 /Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate --ttnn-to-flatbuffer /Users/runner/work/tt-mlir/tt-mlir/build/test/ttmlir/Silicon/TTNN/Output/simple_eltwise.mlir.tmp.mlir > /Users/runner/work/tt-mlir/tt-mlir/build/test/ttmlir/Silicon/TTNN/Output/simple_eltwise.mlir.tmp.ttnn
--
Check failure on line 1 in ttmlir/Silicon/TTNN
github-actions / macos-latest MLIR Tests
ttmlir/Silicon/TTNN.simple_ge.mlir
Exit Code: 134
Raw output
Exit Code: 134
Command Output (stderr):
--
RUN: at line 1: /Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-opt --ttir-load-system-desc="path=" --ttir-implicit-device --ttir-layout --ttnn-open-device --convert-ttir-to-ttnn /Users/runner/work/tt-mlir/tt-mlir/test/ttmlir/Silicon/TTNN/simple_ge.mlir > /Users/runner/work/tt-mlir/tt-mlir/build/test/ttmlir/Silicon/TTNN/Output/simple_ge.mlir.tmp.mlir
+ /Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-opt --ttir-load-system-desc=path= --ttir-implicit-device --ttir-layout --ttnn-open-device --convert-ttir-to-ttnn /Users/runner/work/tt-mlir/tt-mlir/test/ttmlir/Silicon/TTNN/simple_ge.mlir
RUN: at line 2: /opt/ttmlir-toolchain/bin/FileCheck /Users/runner/work/tt-mlir/tt-mlir/test/ttmlir/Silicon/TTNN/simple_ge.mlir --input-file=/Users/runner/work/tt-mlir/tt-mlir/build/test/ttmlir/Silicon/TTNN/Output/simple_ge.mlir.tmp.mlir
+ /opt/ttmlir-toolchain/bin/FileCheck /Users/runner/work/tt-mlir/tt-mlir/test/ttmlir/Silicon/TTNN/simple_ge.mlir --input-file=/Users/runner/work/tt-mlir/tt-mlir/build/test/ttmlir/Silicon/TTNN/Output/simple_ge.mlir.tmp.mlir
RUN: at line 3: /Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate --ttnn-to-flatbuffer /Users/runner/work/tt-mlir/tt-mlir/build/test/ttmlir/Silicon/TTNN/Output/simple_ge.mlir.tmp.mlir > /Users/runner/work/tt-mlir/tt-mlir/build/test/ttmlir/Silicon/TTNN/Output/simple_ge.mlir.tmp.ttnn
+ /Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate --ttnn-to-flatbuffer /Users/runner/work/tt-mlir/tt-mlir/build/test/ttmlir/Silicon/TTNN/Output/simple_ge.mlir.tmp.mlir
Assertion failed: (exists(obj) && "object does not exist"), function at, file FlatbufferObjectCache.h, line 42.
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
Stack dump:
0. Program arguments: /Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate --ttnn-to-flatbuffer /Users/runner/work/tt-mlir/tt-mlir/build/test/ttmlir/Silicon/TTNN/Output/simple_ge.mlir.tmp.mlir
#0 0x000000011f215da0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/opt/ttmlir-toolchain/lib/libLLVM.dylib+0x101da0)
#1 0x000000011f216214 SignalHandler(int) (/opt/ttmlir-toolchain/lib/libLLVM.dylib+0x102214)
#2 0x0000000182072584 (/usr/lib/system/libsystem_platform.dylib+0x18047a584)
#3 0x0000000182041c20 (/usr/lib/system/libsystem_pthread.dylib+0x180449c20)
#4 0x0000000181f4ea30 (/usr/lib/system/libsystem_c.dylib+0x180356a30)
#5 0x0000000181f4dd20 (/usr/lib/system/libsystem_c.dylib+0x180355d20)
#6 0x00000001057d0048 mlir::tt::ttnn::createOp(mlir::tt::FlatbufferObjectCache&, mlir::tt::ttnn::ToMemoryConfigOp) (.cold.5) (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x100f38048)
#7 0x00000001049d44c0 tt::target::ttnn::CreateToMemoryConfigOp(flatbuffers::FlatBufferBuilderImpl<false>&, flatbuffers::Offset<tt::target::TensorRef>, flatbuffers::Offset<tt::target::TensorRef>) (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x10013c4c0)
#8 0x00000001049d5224 mlir::tt::ttnn::emitTTNNOperation(mlir::tt::FlatbufferObjectCache&, mlir::Operation*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&) (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x10013d224)
#9 0x00000001049e3a38 mlir::tt::Program<tt::target::ttnn::Operation> mlir::tt::funcOpToProgram<tt::target::ttnn::Operation, flatbuffers::Offset<tt::target::ttnn::Operation> (*)(mlir::tt::FlatbufferObjectCache&, mlir::Operation*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&)>(mlir::tt::FlatbufferObjectCache&, mlir::func::FuncOp, flatbuffers::Offset<tt::target::ttnn::Operation> (*)(mlir::tt::FlatbufferObjectCache&, mlir::Operation*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&))::'lambda'(mlir::Operation*)::operator()(mlir::Operation*) const (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x10014ba38)
#10 0x00000001048dd15c void mlir::detail::walk<mlir::ForwardIterator>(mlir::Operation*, llvm::function_ref<void (mlir::Operation*)>, mlir::WalkOrder) (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x10004515c)
#11 0x00000001049e3484 mlir::tt::Program<tt::target::ttnn::Operation> mlir::tt::funcOpToProgram<tt::target::ttnn::Operation, flatbuffers::Offset<tt::target::ttnn::Operation> (*)(mlir::tt::FlatbufferObjectCache&, mlir::Operation*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&)>(mlir::tt::FlatbufferObjectCache&, mlir::func::FuncOp, flatbuffers::Offset<tt::target::ttnn::Operation> (*)(mlir::tt::FlatbufferObjectCache&, mlir::Operation*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&)) (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x10014b484)
#12 0x00000001049e2ddc void llvm::function_ref<void (mlir::Operation*)>::callback_fn<std::__1::enable_if<!llvm::is_one_of<mlir::func::FuncOp, mlir::Operation*, mlir::Region*, mlir::Block*>::value && std::is_same<void, void>::value, void>::type mlir::detail::walk<(mlir::WalkOrder)1, mlir::ForwardIterator, mlir::tt::ttnn::ttnnToFlatbuffer(mlir::Operation*)::$_0, mlir::func::FuncOp, void>(mlir::Operation*, mlir::tt::ttnn::ttnnToFlatbuffer(mlir::Operation*)::$_0&&)::'lambda'(mlir::Operation*)>(long, mlir::Operation*) (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x10014addc)
#13 0x00000001048dd15c void mlir::detail::walk<mlir::ForwardIterator>(mlir::Operation*, llvm::function_ref<void (mlir::Operation*)>, mlir::WalkOrder) (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x10004515c)
#14 0x00000001048dd120 void mlir::detail::walk<mlir::ForwardIterator>(mlir::Operation*, llvm::function_ref<void (mlir::Operation*)>, mlir::WalkOrder) (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x100045120)
#15 0x00000001049d787c mlir::tt::ttnn::ttnnToFlatbuffer(mlir::Operation*) (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x10013f87c)
#16 0x00000001049d7f30 mlir::tt::ttnn::translateTTNNToFlatbuffer(mlir::Operation*, llvm::raw_ostream&) (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x10013ff30)
#17 0x0000000105661658 std::__1::__function::__func<mlir::TranslateFromMLIRRegistration::TranslateFromMLIRRegistration(llvm::StringRef, llvm::StringRef, std::__1::function<llvm::LogicalResult (mlir::Operation*, llvm::raw_ostream&)> const&, std::__1::function<void (mlir::DialectRegistry&)> const&)::$_2, std::__1::allocator<mlir::TranslateFromMLIRRegistration::TranslateFromMLIRRegistration(llvm::StringRef, llvm::StringRef, std::__1::function<llvm::LogicalResult (mlir::Operation*, llvm::raw_ostream&)> const&, std::__1::function<void (mlir::DialectRegistry&)> const&)::$_2>, llvm::LogicalResult (std::__1::shared_ptr<llvm::SourceMgr> const&, llvm::raw_ostream&, mlir::MLIRContext*)>::operator()(std::__1::shared_ptr<llvm::SourceMgr> const&, llvm::raw_ostream&, mlir::MLIRContext*&&) (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x100dc9658)
#18 0x000000010565f4d4 llvm::LogicalResult llvm::function_ref<llvm::LogicalResult (std::__1::unique_ptr<llvm::MemoryBuffer, std::__1::default_delete<llvm::MemoryBuffer>>, llvm::raw_ostream&)>::callback_fn<mlir::mlirTranslateMain(int, char**, llvm::StringRef)::$_1>(long, std::__1::unique_ptr<llvm::MemoryBuffer, std::__1::default_delete<llvm::MemoryBuffer>>, llvm::raw_ostream&) (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x100dc74d4)
#19 0x00000001057a362c mlir::splitAndProcessBuffer(std::__1::unique_ptr<llvm::MemoryBuffer, std::__1::default_delete<llvm::MemoryBuffer>>, llvm::function_ref<llvm::LogicalResult (std::__1::unique_ptr<llvm::MemoryBuffer, std::__1::default_delete<llvm::MemoryBuffer>>, llvm::raw_ostream&)>, llvm::raw_ostream&, llvm::StringRef, llvm::StringRef) (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x100f0b62c)
#20 0x000000010565d3dc mlir::mlirTranslateMain(int, char**, llvm::StringRef) (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x100dc53dc)
#21 0x000000010489a7e8 main (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x1000027e8)
#22 0x0000000181cb7154
/Users/runner/work/tt-mlir/tt-mlir/build/test/ttmlir/Silicon/TTNN/Output/simple_ge.mlir.script: line 3: 6888 Abort trap: 6 /Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate --ttnn-to-flatbuffer /Users/runner/work/tt-mlir/tt-mlir/build/test/ttmlir/Silicon/TTNN/Output/simple_ge.mlir.tmp.mlir > /Users/runner/work/tt-mlir/tt-mlir/build/test/ttmlir/Silicon/TTNN/Output/simple_ge.mlir.tmp.ttnn
--
Check failure on line 1 in ttmlir/Silicon/TTNN
github-actions / macos-latest MLIR Tests
ttmlir/Silicon/TTNN.simple_matmul.mlir
Exit Code: 134
Raw output
Exit Code: 134
Command Output (stderr):
--
RUN: at line 1: /Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-opt --ttir-load-system-desc="path=" --ttir-implicit-device --ttir-layout --ttnn-open-device --convert-ttir-to-ttnn /Users/runner/work/tt-mlir/tt-mlir/test/ttmlir/Silicon/TTNN/simple_matmul.mlir > /Users/runner/work/tt-mlir/tt-mlir/build/test/ttmlir/Silicon/TTNN/Output/simple_matmul.mlir.tmp.mlir
+ /Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-opt --ttir-load-system-desc=path= --ttir-implicit-device --ttir-layout --ttnn-open-device --convert-ttir-to-ttnn /Users/runner/work/tt-mlir/tt-mlir/test/ttmlir/Silicon/TTNN/simple_matmul.mlir
RUN: at line 2: /opt/ttmlir-toolchain/bin/FileCheck /Users/runner/work/tt-mlir/tt-mlir/test/ttmlir/Silicon/TTNN/simple_matmul.mlir --input-file=/Users/runner/work/tt-mlir/tt-mlir/build/test/ttmlir/Silicon/TTNN/Output/simple_matmul.mlir.tmp.mlir
+ /opt/ttmlir-toolchain/bin/FileCheck /Users/runner/work/tt-mlir/tt-mlir/test/ttmlir/Silicon/TTNN/simple_matmul.mlir --input-file=/Users/runner/work/tt-mlir/tt-mlir/build/test/ttmlir/Silicon/TTNN/Output/simple_matmul.mlir.tmp.mlir
RUN: at line 3: /Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate --ttnn-to-flatbuffer /Users/runner/work/tt-mlir/tt-mlir/build/test/ttmlir/Silicon/TTNN/Output/simple_matmul.mlir.tmp.mlir > /Users/runner/work/tt-mlir/tt-mlir/build/test/ttmlir/Silicon/TTNN/Output/simple_matmul.mlir.tmp.ttnn
+ /Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate --ttnn-to-flatbuffer /Users/runner/work/tt-mlir/tt-mlir/build/test/ttmlir/Silicon/TTNN/Output/simple_matmul.mlir.tmp.mlir
Assertion failed: (exists(obj) && "object does not exist"), function at, file FlatbufferObjectCache.h, line 42.
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
Stack dump:
0. Program arguments: /Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate --ttnn-to-flatbuffer /Users/runner/work/tt-mlir/tt-mlir/build/test/ttmlir/Silicon/TTNN/Output/simple_matmul.mlir.tmp.mlir
#0 0x000000011cbbdda0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/opt/ttmlir-toolchain/lib/libLLVM.dylib+0x101da0)
#1 0x000000011cbbe214 SignalHandler(int) (/opt/ttmlir-toolchain/lib/libLLVM.dylib+0x102214)
#2 0x0000000182072584 (/usr/lib/system/libsystem_platform.dylib+0x18047a584)
#3 0x0000000182041c20 (/usr/lib/system/libsystem_pthread.dylib+0x180449c20)
#4 0x0000000181f4ea30 (/usr/lib/system/libsystem_c.dylib+0x180356a30)
#5 0x0000000181f4dd20 (/usr/lib/system/libsystem_c.dylib+0x180355d20)
#6 0x0000000103178048 mlir::tt::ttnn::createOp(mlir::tt::FlatbufferObjectCache&, mlir::tt::ttnn::ToMemoryConfigOp) (.cold.5) (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x100f38048)
#7 0x000000010237c4c0 tt::target::ttnn::CreateToMemoryConfigOp(flatbuffers::FlatBufferBuilderImpl<false>&, flatbuffers::Offset<tt::target::TensorRef>, flatbuffers::Offset<tt::target::TensorRef>) (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x10013c4c0)
#8 0x000000010237d224 mlir::tt::ttnn::emitTTNNOperation(mlir::tt::FlatbufferObjectCache&, mlir::Operation*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&) (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x10013d224)
#9 0x000000010238ba38 mlir::tt::Program<tt::target::ttnn::Operation> mlir::tt::funcOpToProgram<tt::target::ttnn::Operation, flatbuffers::Offset<tt::target::ttnn::Operation> (*)(mlir::tt::FlatbufferObjectCache&, mlir::Operation*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&)>(mlir::tt::FlatbufferObjectCache&, mlir::func::FuncOp, flatbuffers::Offset<tt::target::ttnn::Operation> (*)(mlir::tt::FlatbufferObjectCache&, mlir::Operation*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&))::'lambda'(mlir::Operation*)::operator()(mlir::Operation*) const (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x10014ba38)
#10 0x000000010228515c void mlir::detail::walk<mlir::ForwardIterator>(mlir::Operation*, llvm::function_ref<void (mlir::Operation*)>, mlir::WalkOrder) (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x10004515c)
#11 0x000000010238b484 mlir::tt::Program<tt::target::ttnn::Operation> mlir::tt::funcOpToProgram<tt::target::ttnn::Operation, flatbuffers::Offset<tt::target::ttnn::Operation> (*)(mlir::tt::FlatbufferObjectCache&, mlir::Operation*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&)>(mlir::tt::FlatbufferObjectCache&, mlir::func::FuncOp, flatbuffers::Offset<tt::target::ttnn::Operation> (*)(mlir::tt::FlatbufferObjectCache&, mlir::Operation*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&)) (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x10014b484)
#12 0x000000010238addc void llvm::function_ref<void (mlir::Operation*)>::callback_fn<std::__1::enable_if<!llvm::is_one_of<mlir::func::FuncOp, mlir::Operation*, mlir::Region*, mlir::Block*>::value && std::is_same<void, void>::value, void>::type mlir::detail::walk<(mlir::WalkOrder)1, mlir::ForwardIterator, mlir::tt::ttnn::ttnnToFlatbuffer(mlir::Operation*)::$_0, mlir::func::FuncOp, void>(mlir::Operation*, mlir::tt::ttnn::ttnnToFlatbuffer(mlir::Operation*)::$_0&&)::'lambda'(mlir::Operation*)>(long, mlir::Operation*) (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x10014addc)
#13 0x000000010228515c void mlir::detail::walk<mlir::ForwardIterator>(mlir::Operation*, llvm::function_ref<void (mlir::Operation*)>, mlir::WalkOrder) (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x10004515c)
#14 0x0000000102285120 void mlir::detail::walk<mlir::ForwardIterator>(mlir::Operation*, llvm::function_ref<void (mlir::Operation*)>, mlir::WalkOrder) (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x100045120)
#15 0x000000010237f87c mlir::tt::ttnn::ttnnToFlatbuffer(mlir::Operation*) (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x10013f87c)
#16 0x000000010237ff30 mlir::tt::ttnn::translateTTNNToFlatbuffer(mlir::Operation*, llvm::raw_ostream&) (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x10013ff30)
#17 0x0000000103009658 std::__1::__function::__func<mlir::TranslateFromMLIRRegistration::TranslateFromMLIRRegistration(llvm::StringRef, llvm::StringRef, std::__1::function<llvm::LogicalResult (mlir::Operation*, llvm::raw_ostream&)> const&, std::__1::function<void (mlir::DialectRegistry&)> const&)::$_2, std::__1::allocator<mlir::TranslateFromMLIRRegistration::TranslateFromMLIRRegistration(llvm::StringRef, llvm::StringRef, std::__1::function<llvm::LogicalResult (mlir::Operation*, llvm::raw_ostream&)> const&, std::__1::function<void (mlir::DialectRegistry&)> const&)::$_2>, llvm::LogicalResult (std::__1::shared_ptr<llvm::SourceMgr> const&, llvm::raw_ostream&, mlir::MLIRContext*)>::operator()(std::__1::shared_ptr<llvm::SourceMgr> const&, llvm::raw_ostream&, mlir::MLIRContext*&&) (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x100dc9658)
#18 0x00000001030074d4 llvm::LogicalResult llvm::function_ref<llvm::LogicalResult (std::__1::unique_ptr<llvm::MemoryBuffer, std::__1::default_delete<llvm::MemoryBuffer>>, llvm::raw_ostream&)>::callback_fn<mlir::mlirTranslateMain(int, char**, llvm::StringRef)::$_1>(long, std::__1::unique_ptr<llvm::MemoryBuffer, std::__1::default_delete<llvm::MemoryBuffer>>, llvm::raw_ostream&) (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x100dc74d4)
#19 0x000000010314b62c mlir::splitAndProcessBuffer(std::__1::unique_ptr<llvm::MemoryBuffer, std::__1::default_delete<llvm::MemoryBuffer>>, llvm::function_ref<llvm::LogicalResult (std::__1::unique_ptr<llvm::MemoryBuffer, std::__1::default_delete<llvm::MemoryBuffer>>, llvm::raw_ostream&)>, llvm::raw_ostream&, llvm::StringRef, llvm::StringRef) (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x100f0b62c)
#20 0x00000001030053dc mlir::mlirTranslateMain(int, char**, llvm::StringRef) (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x100dc53dc)
#21 0x00000001022427e8 main (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x1000027e8)
#22 0x0000000181cb7154
/Users/runner/work/tt-mlir/tt-mlir/build/test/ttmlir/Silicon/TTNN/Output/simple_matmul.mlir.script: line 3: 6890 Abort trap: 6 /Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate --ttnn-to-flatbuffer /Users/runner/work/tt-mlir/tt-mlir/build/test/ttmlir/Silicon/TTNN/Output/simple_matmul.mlir.tmp.mlir > /Users/runner/work/tt-mlir/tt-mlir/build/test/ttmlir/Silicon/TTNN/Output/simple_matmul.mlir.tmp.ttnn
--
Check failure on line 1 in ttmlir/Silicon/TTNN
github-actions / macos-latest MLIR Tests
ttmlir/Silicon/TTNN.simple_multiply.mlir
Exit Code: 134
Raw output
Exit Code: 134
Command Output (stderr):
--
RUN: at line 1: /Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-opt --ttir-load-system-desc="path=" --ttir-implicit-device --ttir-layout --ttnn-open-device --convert-ttir-to-ttnn /Users/runner/work/tt-mlir/tt-mlir/test/ttmlir/Silicon/TTNN/simple_multiply.mlir > /Users/runner/work/tt-mlir/tt-mlir/build/test/ttmlir/Silicon/TTNN/Output/simple_multiply.mlir.tmp.mlir
+ /Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-opt --ttir-load-system-desc=path= --ttir-implicit-device --ttir-layout --ttnn-open-device --convert-ttir-to-ttnn /Users/runner/work/tt-mlir/tt-mlir/test/ttmlir/Silicon/TTNN/simple_multiply.mlir
RUN: at line 2: /opt/ttmlir-toolchain/bin/FileCheck /Users/runner/work/tt-mlir/tt-mlir/test/ttmlir/Silicon/TTNN/simple_multiply.mlir --input-file=/Users/runner/work/tt-mlir/tt-mlir/build/test/ttmlir/Silicon/TTNN/Output/simple_multiply.mlir.tmp.mlir
+ /opt/ttmlir-toolchain/bin/FileCheck /Users/runner/work/tt-mlir/tt-mlir/test/ttmlir/Silicon/TTNN/simple_multiply.mlir --input-file=/Users/runner/work/tt-mlir/tt-mlir/build/test/ttmlir/Silicon/TTNN/Output/simple_multiply.mlir.tmp.mlir
RUN: at line 3: /Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate --ttnn-to-flatbuffer /Users/runner/work/tt-mlir/tt-mlir/build/test/ttmlir/Silicon/TTNN/Output/simple_multiply.mlir.tmp.mlir > /Users/runner/work/tt-mlir/tt-mlir/build/test/ttmlir/Silicon/TTNN/Output/simple_multiply.mlir.tmp.ttnn
+ /Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate --ttnn-to-flatbuffer /Users/runner/work/tt-mlir/tt-mlir/build/test/ttmlir/Silicon/TTNN/Output/simple_multiply.mlir.tmp.mlir
Assertion failed: (exists(obj) && "object does not exist"), function at, file FlatbufferObjectCache.h, line 42.
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
Stack dump:
0. Program arguments: /Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate --ttnn-to-flatbuffer /Users/runner/work/tt-mlir/tt-mlir/build/test/ttmlir/Silicon/TTNN/Output/simple_multiply.mlir.tmp.mlir
#0 0x000000011b479da0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/opt/ttmlir-toolchain/lib/libLLVM.dylib+0x101da0)
#1 0x000000011b47a214 SignalHandler(int) (/opt/ttmlir-toolchain/lib/libLLVM.dylib+0x102214)
#2 0x0000000182072584 (/usr/lib/system/libsystem_platform.dylib+0x18047a584)
#3 0x0000000182041c20 (/usr/lib/system/libsystem_pthread.dylib+0x180449c20)
#4 0x0000000181f4ea30 (/usr/lib/system/libsystem_c.dylib+0x180356a30)
#5 0x0000000181f4dd20 (/usr/lib/system/libsystem_c.dylib+0x180355d20)
#6 0x0000000101a34048 mlir::tt::ttnn::createOp(mlir::tt::FlatbufferObjectCache&, mlir::tt::ttnn::ToMemoryConfigOp) (.cold.5) (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x100f38048)
#7 0x0000000100c384c0 tt::target::ttnn::CreateToMemoryConfigOp(flatbuffers::FlatBufferBuilderImpl<false>&, flatbuffers::Offset<tt::target::TensorRef>, flatbuffers::Offset<tt::target::TensorRef>) (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x10013c4c0)
#8 0x0000000100c39224 mlir::tt::ttnn::emitTTNNOperation(mlir::tt::FlatbufferObjectCache&, mlir::Operation*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&) (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x10013d224)
#9 0x0000000100c47a38 mlir::tt::Program<tt::target::ttnn::Operation> mlir::tt::funcOpToProgram<tt::target::ttnn::Operation, flatbuffers::Offset<tt::target::ttnn::Operation> (*)(mlir::tt::FlatbufferObjectCache&, mlir::Operation*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&)>(mlir::tt::FlatbufferObjectCache&, mlir::func::FuncOp, flatbuffers::Offset<tt::target::ttnn::Operation> (*)(mlir::tt::FlatbufferObjectCache&, mlir::Operation*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&))::'lambda'(mlir::Operation*)::operator()(mlir::Operation*) const (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x10014ba38)
#10 0x0000000100b4115c void mlir::detail::walk<mlir::ForwardIterator>(mlir::Operation*, llvm::function_ref<void (mlir::Operation*)>, mlir::WalkOrder) (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x10004515c)
#11 0x0000000100c47484 mlir::tt::Program<tt::target::ttnn::Operation> mlir::tt::funcOpToProgram<tt::target::ttnn::Operation, flatbuffers::Offset<tt::target::ttnn::Operation> (*)(mlir::tt::FlatbufferObjectCache&, mlir::Operation*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&)>(mlir::tt::FlatbufferObjectCache&, mlir::func::FuncOp, flatbuffers::Offset<tt::target::ttnn::Operation> (*)(mlir::tt::FlatbufferObjectCache&, mlir::Operation*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&)) (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x10014b484)
#12 0x0000000100c46ddc void llvm::function_ref<void (mlir::Operation*)>::callback_fn<std::__1::enable_if<!llvm::is_one_of<mlir::func::FuncOp, mlir::Operation*, mlir::Region*, mlir::Block*>::value && std::is_same<void, void>::value, void>::type mlir::detail::walk<(mlir::WalkOrder)1, mlir::ForwardIterator, mlir::tt::ttnn::ttnnToFlatbuffer(mlir::Operation*)::$_0, mlir::func::FuncOp, void>(mlir::Operation*, mlir::tt::ttnn::ttnnToFlatbuffer(mlir::Operation*)::$_0&&)::'lambda'(mlir::Operation*)>(long, mlir::Operation*) (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x10014addc)
#13 0x0000000100b4115c void mlir::detail::walk<mlir::ForwardIterator>(mlir::Operation*, llvm::function_ref<void (mlir::Operation*)>, mlir::WalkOrder) (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x10004515c)
#14 0x0000000100b41120 void mlir::detail::walk<mlir::ForwardIterator>(mlir::Operation*, llvm::function_ref<void (mlir::Operation*)>, mlir::WalkOrder) (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x100045120)
#15 0x0000000100c3b87c mlir::tt::ttnn::ttnnToFlatbuffer(mlir::Operation*) (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x10013f87c)
#16 0x0000000100c3bf30 mlir::tt::ttnn::translateTTNNToFlatbuffer(mlir::Operation*, llvm::raw_ostream&) (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x10013ff30)
#17 0x00000001018c5658 std::__1::__function::__func<mlir::TranslateFromMLIRRegistration::TranslateFromMLIRRegistration(llvm::StringRef, llvm::StringRef, std::__1::function<llvm::LogicalResult (mlir::Operation*, llvm::raw_ostream&)> const&, std::__1::function<void (mlir::DialectRegistry&)> const&)::$_2, std::__1::allocator<mlir::TranslateFromMLIRRegistration::TranslateFromMLIRRegistration(llvm::StringRef, llvm::StringRef, std::__1::function<llvm::LogicalResult (mlir::Operation*, llvm::raw_ostream&)> const&, std::__1::function<void (mlir::DialectRegistry&)> const&)::$_2>, llvm::LogicalResult (std::__1::shared_ptr<llvm::SourceMgr> const&, llvm::raw_ostream&, mlir::MLIRContext*)>::operator()(std::__1::shared_ptr<llvm::SourceMgr> const&, llvm::raw_ostream&, mlir::MLIRContext*&&) (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x100dc9658)
#18 0x00000001018c34d4 llvm::LogicalResult llvm::function_ref<llvm::LogicalResult (std::__1::unique_ptr<llvm::MemoryBuffer, std::__1::default_delete<llvm::MemoryBuffer>>, llvm::raw_ostream&)>::callback_fn<mlir::mlirTranslateMain(int, char**, llvm::StringRef)::$_1>(long, std::__1::unique_ptr<llvm::MemoryBuffer, std::__1::default_delete<llvm::MemoryBuffer>>, llvm::raw_ostream&) (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x100dc74d4)
#19 0x0000000101a0762c mlir::splitAndProcessBuffer(std::__1::unique_ptr<llvm::MemoryBuffer, std::__1::default_delete<llvm::MemoryBuffer>>, llvm::function_ref<llvm::LogicalResult (std::__1::unique_ptr<llvm::MemoryBuffer, std::__1::default_delete<llvm::MemoryBuffer>>, llvm::raw_ostream&)>, llvm::raw_ostream&, llvm::StringRef, llvm::StringRef) (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x100f0b62c)
#20 0x00000001018c13dc mlir::mlirTranslateMain(int, char**, llvm::StringRef) (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x100dc53dc)
#21 0x0000000100afe7e8 main (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x1000027e8)
#22 0x0000000181cb7154
/Users/runner/work/tt-mlir/tt-mlir/build/test/ttmlir/Silicon/TTNN/Output/simple_multiply.mlir.script: line 3: 6899 Abort trap: 6 /Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate --ttnn-to-flatbuffer /Users/runner/work/tt-mlir/tt-mlir/build/test/ttmlir/Silicon/TTNN/Output/simple_multiply.mlir.tmp.mlir > /Users/runner/work/tt-mlir/tt-mlir/build/test/ttmlir/Silicon/TTNN/Output/simple_multiply.mlir.tmp.ttnn
--
Check failure on line 1 in ttmlir/Silicon/TTNN
github-actions / macos-latest MLIR Tests
ttmlir/Silicon/TTNN.simple_relu.mlir
Exit Code: 134
Raw output
Exit Code: 134
Command Output (stderr):
--
RUN: at line 1: /Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-opt --ttir-load-system-desc="path=" --ttir-implicit-device --ttir-layout --ttnn-open-device --convert-ttir-to-ttnn /Users/runner/work/tt-mlir/tt-mlir/test/ttmlir/Silicon/TTNN/simple_relu.mlir > /Users/runner/work/tt-mlir/tt-mlir/build/test/ttmlir/Silicon/TTNN/Output/simple_relu.mlir.tmp.mlir
+ /Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-opt --ttir-load-system-desc=path= --ttir-implicit-device --ttir-layout --ttnn-open-device --convert-ttir-to-ttnn /Users/runner/work/tt-mlir/tt-mlir/test/ttmlir/Silicon/TTNN/simple_relu.mlir
RUN: at line 2: /opt/ttmlir-toolchain/bin/FileCheck /Users/runner/work/tt-mlir/tt-mlir/test/ttmlir/Silicon/TTNN/simple_relu.mlir --input-file=/Users/runner/work/tt-mlir/tt-mlir/build/test/ttmlir/Silicon/TTNN/Output/simple_relu.mlir.tmp.mlir
+ /opt/ttmlir-toolchain/bin/FileCheck /Users/runner/work/tt-mlir/tt-mlir/test/ttmlir/Silicon/TTNN/simple_relu.mlir --input-file=/Users/runner/work/tt-mlir/tt-mlir/build/test/ttmlir/Silicon/TTNN/Output/simple_relu.mlir.tmp.mlir
RUN: at line 3: /Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate --ttnn-to-flatbuffer /Users/runner/work/tt-mlir/tt-mlir/build/test/ttmlir/Silicon/TTNN/Output/simple_relu.mlir.tmp.mlir > /Users/runner/work/tt-mlir/tt-mlir/build/test/ttmlir/Silicon/TTNN/Output/simple_relu.mlir.tmp.ttnn
+ /Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate --ttnn-to-flatbuffer /Users/runner/work/tt-mlir/tt-mlir/build/test/ttmlir/Silicon/TTNN/Output/simple_relu.mlir.tmp.mlir
Assertion failed: (exists(obj) && "object does not exist"), function at, file FlatbufferObjectCache.h, line 42.
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
Stack dump:
0. Program arguments: /Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate --ttnn-to-flatbuffer /Users/runner/work/tt-mlir/tt-mlir/build/test/ttmlir/Silicon/TTNN/Output/simple_relu.mlir.tmp.mlir
#0 0x000000011aa19da0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/opt/ttmlir-toolchain/lib/libLLVM.dylib+0x101da0)
#1 0x000000011aa1a214 SignalHandler(int) (/opt/ttmlir-toolchain/lib/libLLVM.dylib+0x102214)
#2 0x0000000182072584 (/usr/lib/system/libsystem_platform.dylib+0x18047a584)
#3 0x0000000182041c20 (/usr/lib/system/libsystem_pthread.dylib+0x180449c20)
#4 0x0000000181f4ea30 (/usr/lib/system/libsystem_c.dylib+0x180356a30)
#5 0x0000000181f4dd20 (/usr/lib/system/libsystem_c.dylib+0x180355d20)
#6 0x0000000100fd4048 mlir::tt::ttnn::createOp(mlir::tt::FlatbufferObjectCache&, mlir::tt::ttnn::ToMemoryConfigOp) (.cold.5) (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x100f38048)
#7 0x00000001001d84c0 tt::target::ttnn::CreateToMemoryConfigOp(flatbuffers::FlatBufferBuilderImpl<false>&, flatbuffers::Offset<tt::target::TensorRef>, flatbuffers::Offset<tt::target::TensorRef>) (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x10013c4c0)
#8 0x00000001001d9224 mlir::tt::ttnn::emitTTNNOperation(mlir::tt::FlatbufferObjectCache&, mlir::Operation*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&) (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x10013d224)
#9 0x00000001001e7a38 mlir::tt::Program<tt::target::ttnn::Operation> mlir::tt::funcOpToProgram<tt::target::ttnn::Operation, flatbuffers::Offset<tt::target::ttnn::Operation> (*)(mlir::tt::FlatbufferObjectCache&, mlir::Operation*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&)>(mlir::tt::FlatbufferObjectCache&, mlir::func::FuncOp, flatbuffers::Offset<tt::target::ttnn::Operation> (*)(mlir::tt::FlatbufferObjectCache&, mlir::Operation*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&))::'lambda'(mlir::Operation*)::operator()(mlir::Operation*) const (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x10014ba38)
#10 0x00000001000e115c void mlir::detail::walk<mlir::ForwardIterator>(mlir::Operation*, llvm::function_ref<void (mlir::Operation*)>, mlir::WalkOrder) (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x10004515c)
#11 0x00000001001e7484 mlir::tt::Program<tt::target::ttnn::Operation> mlir::tt::funcOpToProgram<tt::target::ttnn::Operation, flatbuffers::Offset<tt::target::ttnn::Operation> (*)(mlir::tt::FlatbufferObjectCache&, mlir::Operation*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&)>(mlir::tt::FlatbufferObjectCache&, mlir::func::FuncOp, flatbuffers::Offset<tt::target::ttnn::Operation> (*)(mlir::tt::FlatbufferObjectCache&, mlir::Operation*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&)) (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x10014b484)
#12 0x00000001001e6ddc void llvm::function_ref<void (mlir::Operation*)>::callback_fn<std::__1::enable_if<!llvm::is_one_of<mlir::func::FuncOp, mlir::Operation*, mlir::Region*, mlir::Block*>::value && std::is_same<void, void>::value, void>::type mlir::detail::walk<(mlir::WalkOrder)1, mlir::ForwardIterator, mlir::tt::ttnn::ttnnToFlatbuffer(mlir::Operation*)::$_0, mlir::func::FuncOp, void>(mlir::Operation*, mlir::tt::ttnn::ttnnToFlatbuffer(mlir::Operation*)::$_0&&)::'lambda'(mlir::Operation*)>(long, mlir::Operation*) (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x10014addc)
#13 0x00000001000e115c void mlir::detail::walk<mlir::ForwardIterator>(mlir::Operation*, llvm::function_ref<void (mlir::Operation*)>, mlir::WalkOrder) (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x10004515c)
#14 0x00000001000e1120 void mlir::detail::walk<mlir::ForwardIterator>(mlir::Operation*, llvm::function_ref<void (mlir::Operation*)>, mlir::WalkOrder) (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x100045120)
#15 0x00000001001db87c mlir::tt::ttnn::ttnnToFlatbuffer(mlir::Operation*) (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x10013f87c)
#16 0x00000001001dbf30 mlir::tt::ttnn::translateTTNNToFlatbuffer(mlir::Operation*, llvm::raw_ostream&) (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x10013ff30)
#17 0x0000000100e65658 std::__1::__function::__func<mlir::TranslateFromMLIRRegistration::TranslateFromMLIRRegistration(llvm::StringRef, llvm::StringRef, std::__1::function<llvm::LogicalResult (mlir::Operation*, llvm::raw_ostream&)> const&, std::__1::function<void (mlir::DialectRegistry&)> const&)::$_2, std::__1::allocator<mlir::TranslateFromMLIRRegistration::TranslateFromMLIRRegistration(llvm::StringRef, llvm::StringRef, std::__1::function<llvm::LogicalResult (mlir::Operation*, llvm::raw_ostream&)> const&, std::__1::function<void (mlir::DialectRegistry&)> const&)::$_2>, llvm::LogicalResult (std::__1::shared_ptr<llvm::SourceMgr> const&, llvm::raw_ostream&, mlir::MLIRContext*)>::operator()(std::__1::shared_ptr<llvm::SourceMgr> const&, llvm::raw_ostream&, mlir::MLIRContext*&&) (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x100dc9658)
#18 0x0000000100e634d4 llvm::LogicalResult llvm::function_ref<llvm::LogicalResult (std::__1::unique_ptr<llvm::MemoryBuffer, std::__1::default_delete<llvm::MemoryBuffer>>, llvm::raw_ostream&)>::callback_fn<mlir::mlirTranslateMain(int, char**, llvm::StringRef)::$_1>(long, std::__1::unique_ptr<llvm::MemoryBuffer, std::__1::default_delete<llvm::MemoryBuffer>>, llvm::raw_ostream&) (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x100dc74d4)
#19 0x0000000100fa762c mlir::splitAndProcessBuffer(std::__1::unique_ptr<llvm::MemoryBuffer, std::__1::default_delete<llvm::MemoryBuffer>>, llvm::function_ref<llvm::LogicalResult (std::__1::unique_ptr<llvm::MemoryBuffer, std::__1::default_delete<llvm::MemoryBuffer>>, llvm::raw_ostream&)>, llvm::raw_ostream&, llvm::StringRef, llvm::StringRef) (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x100f0b62c)
#20 0x0000000100e613dc mlir::mlirTranslateMain(int, char**, llvm::StringRef) (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x100dc53dc)
#21 0x000000010009e7e8 main (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x1000027e8)
#22 0x0000000181cb7154
/Users/runner/work/tt-mlir/tt-mlir/build/test/ttmlir/Silicon/TTNN/Output/simple_relu.mlir.script: line 3: 6907 Abort trap: 6 /Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate --ttnn-to-flatbuffer /Users/runner/work/tt-mlir/tt-mlir/build/test/ttmlir/Silicon/TTNN/Output/simple_relu.mlir.tmp.mlir > /Users/runner/work/tt-mlir/tt-mlir/build/test/ttmlir/Silicon/TTNN/Output/simple_relu.mlir.tmp.ttnn
--
Check failure on line 1 in ttmlir/Silicon/TTNN
github-actions / macos-latest MLIR Tests
ttmlir/Silicon/TTNN.simple_subtract.mlir
Exit Code: 134
Raw output
Exit Code: 134
Command Output (stderr):
--
RUN: at line 1: /Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-opt --ttir-load-system-desc="path=" --ttir-implicit-device --ttir-layout --ttnn-open-device --convert-ttir-to-ttnn /Users/runner/work/tt-mlir/tt-mlir/test/ttmlir/Silicon/TTNN/simple_subtract.mlir > /Users/runner/work/tt-mlir/tt-mlir/build/test/ttmlir/Silicon/TTNN/Output/simple_subtract.mlir.tmp.mlir
+ /Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-opt --ttir-load-system-desc=path= --ttir-implicit-device --ttir-layout --ttnn-open-device --convert-ttir-to-ttnn /Users/runner/work/tt-mlir/tt-mlir/test/ttmlir/Silicon/TTNN/simple_subtract.mlir
RUN: at line 2: /opt/ttmlir-toolchain/bin/FileCheck /Users/runner/work/tt-mlir/tt-mlir/test/ttmlir/Silicon/TTNN/simple_subtract.mlir --input-file=/Users/runner/work/tt-mlir/tt-mlir/build/test/ttmlir/Silicon/TTNN/Output/simple_subtract.mlir.tmp.mlir
+ /opt/ttmlir-toolchain/bin/FileCheck /Users/runner/work/tt-mlir/tt-mlir/test/ttmlir/Silicon/TTNN/simple_subtract.mlir --input-file=/Users/runner/work/tt-mlir/tt-mlir/build/test/ttmlir/Silicon/TTNN/Output/simple_subtract.mlir.tmp.mlir
RUN: at line 3: /Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate --ttnn-to-flatbuffer /Users/runner/work/tt-mlir/tt-mlir/build/test/ttmlir/Silicon/TTNN/Output/simple_subtract.mlir.tmp.mlir > /Users/runner/work/tt-mlir/tt-mlir/build/test/ttmlir/Silicon/TTNN/Output/simple_subtract.mlir.tmp.ttnn
+ /Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate --ttnn-to-flatbuffer /Users/runner/work/tt-mlir/tt-mlir/build/test/ttmlir/Silicon/TTNN/Output/simple_subtract.mlir.tmp.mlir
Assertion failed: (exists(obj) && "object does not exist"), function at, file FlatbufferObjectCache.h, line 42.
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
Stack dump:
0. Program arguments: /Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate --ttnn-to-flatbuffer /Users/runner/work/tt-mlir/tt-mlir/build/test/ttmlir/Silicon/TTNN/Output/simple_subtract.mlir.tmp.mlir
#0 0x000000011d00dda0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/opt/ttmlir-toolchain/lib/libLLVM.dylib+0x101da0)
#1 0x000000011d00e214 SignalHandler(int) (/opt/ttmlir-toolchain/lib/libLLVM.dylib+0x102214)
#2 0x0000000182072584 (/usr/lib/system/libsystem_platform.dylib+0x18047a584)
#3 0x0000000182041c20 (/usr/lib/system/libsystem_pthread.dylib+0x180449c20)
#4 0x0000000181f4ea30 (/usr/lib/system/libsystem_c.dylib+0x180356a30)
#5 0x0000000181f4dd20 (/usr/lib/system/libsystem_c.dylib+0x180355d20)
#6 0x00000001035c8048 mlir::tt::ttnn::createOp(mlir::tt::FlatbufferObjectCache&, mlir::tt::ttnn::ToMemoryConfigOp) (.cold.5) (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x100f38048)
#7 0x00000001027cc4c0 tt::target::ttnn::CreateToMemoryConfigOp(flatbuffers::FlatBufferBuilderImpl<false>&, flatbuffers::Offset<tt::target::TensorRef>, flatbuffers::Offset<tt::target::TensorRef>) (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x10013c4c0)
#8 0x00000001027cd224 mlir::tt::ttnn::emitTTNNOperation(mlir::tt::FlatbufferObjectCache&, mlir::Operation*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&) (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x10013d224)
#9 0x00000001027dba38 mlir::tt::Program<tt::target::ttnn::Operation> mlir::tt::funcOpToProgram<tt::target::ttnn::Operation, flatbuffers::Offset<tt::target::ttnn::Operation> (*)(mlir::tt::FlatbufferObjectCache&, mlir::Operation*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&)>(mlir::tt::FlatbufferObjectCache&, mlir::func::FuncOp, flatbuffers::Offset<tt::target::ttnn::Operation> (*)(mlir::tt::FlatbufferObjectCache&, mlir::Operation*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&))::'lambda'(mlir::Operation*)::operator()(mlir::Operation*) const (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x10014ba38)
#10 0x00000001026d515c void mlir::detail::walk<mlir::ForwardIterator>(mlir::Operation*, llvm::function_ref<void (mlir::Operation*)>, mlir::WalkOrder) (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x10004515c)
#11 0x00000001027db484 mlir::tt::Program<tt::target::ttnn::Operation> mlir::tt::funcOpToProgram<tt::target::ttnn::Operation, flatbuffers::Offset<tt::target::ttnn::Operation> (*)(mlir::tt::FlatbufferObjectCache&, mlir::Operation*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&)>(mlir::tt::FlatbufferObjectCache&, mlir::func::FuncOp, flatbuffers::Offset<tt::target::ttnn::Operation> (*)(mlir::tt::FlatbufferObjectCache&, mlir::Operation*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&)) (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x10014b484)
#12 0x00000001027daddc void llvm::function_ref<void (mlir::Operation*)>::callback_fn<std::__1::enable_if<!llvm::is_one_of<mlir::func::FuncOp, mlir::Operation*, mlir::Region*, mlir::Block*>::value && std::is_same<void, void>::value, void>::type mlir::detail::walk<(mlir::WalkOrder)1, mlir::ForwardIterator, mlir::tt::ttnn::ttnnToFlatbuffer(mlir::Operation*)::$_0, mlir::func::FuncOp, void>(mlir::Operation*, mlir::tt::ttnn::ttnnToFlatbuffer(mlir::Operation*)::$_0&&)::'lambda'(mlir::Operation*)>(long, mlir::Operation*) (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x10014addc)
#13 0x00000001026d515c void mlir::detail::walk<mlir::ForwardIterator>(mlir::Operation*, llvm::function_ref<void (mlir::Operation*)>, mlir::WalkOrder) (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x10004515c)
#14 0x00000001026d5120 void mlir::detail::walk<mlir::ForwardIterator>(mlir::Operation*, llvm::function_ref<void (mlir::Operation*)>, mlir::WalkOrder) (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x100045120)
#15 0x00000001027cf87c mlir::tt::ttnn::ttnnToFlatbuffer(mlir::Operation*) (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x10013f87c)
#16 0x00000001027cff30 mlir::tt::ttnn::translateTTNNToFlatbuffer(mlir::Operation*, llvm::raw_ostream&) (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x10013ff30)
#17 0x0000000103459658 std::__1::__function::__func<mlir::TranslateFromMLIRRegistration::TranslateFromMLIRRegistration(llvm::StringRef, llvm::StringRef, std::__1::function<llvm::LogicalResult (mlir::Operation*, llvm::raw_ostream&)> const&, std::__1::function<void (mlir::DialectRegistry&)> const&)::$_2, std::__1::allocator<mlir::TranslateFromMLIRRegistration::TranslateFromMLIRRegistration(llvm::StringRef, llvm::StringRef, std::__1::function<llvm::LogicalResult (mlir::Operation*, llvm::raw_ostream&)> const&, std::__1::function<void (mlir::DialectRegistry&)> const&)::$_2>, llvm::LogicalResult (std::__1::shared_ptr<llvm::SourceMgr> const&, llvm::raw_ostream&, mlir::MLIRContext*)>::operator()(std::__1::shared_ptr<llvm::SourceMgr> const&, llvm::raw_ostream&, mlir::MLIRContext*&&) (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x100dc9658)
#18 0x00000001034574d4 llvm::LogicalResult llvm::function_ref<llvm::LogicalResult (std::__1::unique_ptr<llvm::MemoryBuffer, std::__1::default_delete<llvm::MemoryBuffer>>, llvm::raw_ostream&)>::callback_fn<mlir::mlirTranslateMain(int, char**, llvm::StringRef)::$_1>(long, std::__1::unique_ptr<llvm::MemoryBuffer, std::__1::default_delete<llvm::MemoryBuffer>>, llvm::raw_ostream&) (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x100dc74d4)
#19 0x000000010359b62c mlir::splitAndProcessBuffer(std::__1::unique_ptr<llvm::MemoryBuffer, std::__1::default_delete<llvm::MemoryBuffer>>, llvm::function_ref<llvm::LogicalResult (std::__1::unique_ptr<llvm::MemoryBuffer, std::__1::default_delete<llvm::MemoryBuffer>>, llvm::raw_ostream&)>, llvm::raw_ostream&, llvm::StringRef, llvm::StringRef) (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x100f0b62c)
#20 0x00000001034553dc mlir::mlirTranslateMain(int, char**, llvm::StringRef) (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x100dc53dc)
#21 0x00000001026927e8 main (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x1000027e8)
#22 0x0000000181cb7154
/Users/runner/work/tt-mlir/tt-mlir/build/test/ttmlir/Silicon/TTNN/Output/simple_subtract.mlir.script: line 3: 6908 Abort trap: 6 /Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate --ttnn-to-flatbuffer /Users/runner/work/tt-mlir/tt-mlir/build/test/ttmlir/Silicon/TTNN/Output/simple_subtract.mlir.tmp.mlir > /Users/runner/work/tt-mlir/tt-mlir/build/test/ttmlir/Silicon/TTNN/Output/simple_subtract.mlir.tmp.ttnn
--
Check failure on line 1 in ttmlir/Silicon/TTNN
github-actions / macos-latest MLIR Tests
ttmlir/Silicon/TTNN.simple_sum.mlir
Exit Code: 134
Raw output
Exit Code: 134
Command Output (stderr):
--
RUN: at line 1: /Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-opt --ttir-load-system-desc="path=" --ttir-implicit-device --ttir-layout --ttnn-open-device --convert-ttir-to-ttnn /Users/runner/work/tt-mlir/tt-mlir/test/ttmlir/Silicon/TTNN/simple_sum.mlir > /Users/runner/work/tt-mlir/tt-mlir/build/test/ttmlir/Silicon/TTNN/Output/simple_sum.mlir.tmp.mlir
+ /Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-opt --ttir-load-system-desc=path= --ttir-implicit-device --ttir-layout --ttnn-open-device --convert-ttir-to-ttnn /Users/runner/work/tt-mlir/tt-mlir/test/ttmlir/Silicon/TTNN/simple_sum.mlir
RUN: at line 2: /opt/ttmlir-toolchain/bin/FileCheck /Users/runner/work/tt-mlir/tt-mlir/test/ttmlir/Silicon/TTNN/simple_sum.mlir --input-file=/Users/runner/work/tt-mlir/tt-mlir/build/test/ttmlir/Silicon/TTNN/Output/simple_sum.mlir.tmp.mlir
+ /opt/ttmlir-toolchain/bin/FileCheck /Users/runner/work/tt-mlir/tt-mlir/test/ttmlir/Silicon/TTNN/simple_sum.mlir --input-file=/Users/runner/work/tt-mlir/tt-mlir/build/test/ttmlir/Silicon/TTNN/Output/simple_sum.mlir.tmp.mlir
RUN: at line 3: /Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate --ttnn-to-flatbuffer /Users/runner/work/tt-mlir/tt-mlir/build/test/ttmlir/Silicon/TTNN/Output/simple_sum.mlir.tmp.mlir > /Users/runner/work/tt-mlir/tt-mlir/build/test/ttmlir/Silicon/TTNN/Output/simple_sum.mlir.tmp.ttnn
+ /Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate --ttnn-to-flatbuffer /Users/runner/work/tt-mlir/tt-mlir/build/test/ttmlir/Silicon/TTNN/Output/simple_sum.mlir.tmp.mlir
Assertion failed: (exists(obj) && "object does not exist"), function at, file FlatbufferObjectCache.h, line 42.
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
Stack dump:
0. Program arguments: /Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate --ttnn-to-flatbuffer /Users/runner/work/tt-mlir/tt-mlir/build/test/ttmlir/Silicon/TTNN/Output/simple_sum.mlir.tmp.mlir
#0 0x000000011f43dda0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/opt/ttmlir-toolchain/lib/libLLVM.dylib+0x101da0)
#1 0x000000011f43e214 SignalHandler(int) (/opt/ttmlir-toolchain/lib/libLLVM.dylib+0x102214)
#2 0x0000000182072584 (/usr/lib/system/libsystem_platform.dylib+0x18047a584)
#3 0x0000000182041c20 (/usr/lib/system/libsystem_pthread.dylib+0x180449c20)
#4 0x0000000181f4ea30 (/usr/lib/system/libsystem_c.dylib+0x180356a30)
#5 0x0000000181f4dd20 (/usr/lib/system/libsystem_c.dylib+0x180355d20)
#6 0x00000001059f8048 mlir::tt::ttnn::createOp(mlir::tt::FlatbufferObjectCache&, mlir::tt::ttnn::ToMemoryConfigOp) (.cold.5) (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x100f38048)
#7 0x0000000104bfc4c0 tt::target::ttnn::CreateToMemoryConfigOp(flatbuffers::FlatBufferBuilderImpl<false>&, flatbuffers::Offset<tt::target::TensorRef>, flatbuffers::Offset<tt::target::TensorRef>) (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x10013c4c0)
#8 0x0000000104bfd224 mlir::tt::ttnn::emitTTNNOperation(mlir::tt::FlatbufferObjectCache&, mlir::Operation*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&) (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x10013d224)
#9 0x0000000104c0ba38 mlir::tt::Program<tt::target::ttnn::Operation> mlir::tt::funcOpToProgram<tt::target::ttnn::Operation, flatbuffers::Offset<tt::target::ttnn::Operation> (*)(mlir::tt::FlatbufferObjectCache&, mlir::Operation*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&)>(mlir::tt::FlatbufferObjectCache&, mlir::func::FuncOp, flatbuffers::Offset<tt::target::ttnn::Operation> (*)(mlir::tt::FlatbufferObjectCache&, mlir::Operation*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&))::'lambda'(mlir::Operation*)::operator()(mlir::Operation*) const (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x10014ba38)
#10 0x0000000104b0515c void mlir::detail::walk<mlir::ForwardIterator>(mlir::Operation*, llvm::function_ref<void (mlir::Operation*)>, mlir::WalkOrder) (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x10004515c)
#11 0x0000000104c0b484 mlir::tt::Program<tt::target::ttnn::Operation> mlir::tt::funcOpToProgram<tt::target::ttnn::Operation, flatbuffers::Offset<tt::target::ttnn::Operation> (*)(mlir::tt::FlatbufferObjectCache&, mlir::Operation*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&)>(mlir::tt::FlatbufferObjectCache&, mlir::func::FuncOp, flatbuffers::Offset<tt::target::ttnn::Operation> (*)(mlir::tt::FlatbufferObjectCache&, mlir::Operation*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&)) (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x10014b484)
#12 0x0000000104c0addc void llvm::function_ref<void (mlir::Operation*)>::callback_fn<std::__1::enable_if<!llvm::is_one_of<mlir::func::FuncOp, mlir::Operation*, mlir::Region*, mlir::Block*>::value && std::is_same<void, void>::value, void>::type mlir::detail::walk<(mlir::WalkOrder)1, mlir::ForwardIterator, mlir::tt::ttnn::ttnnToFlatbuffer(mlir::Operation*)::$_0, mlir::func::FuncOp, void>(mlir::Operation*, mlir::tt::ttnn::ttnnToFlatbuffer(mlir::Operation*)::$_0&&)::'lambda'(mlir::Operation*)>(long, mlir::Operation*) (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x10014addc)
#13 0x0000000104b0515c void mlir::detail::walk<mlir::ForwardIterator>(mlir::Operation*, llvm::function_ref<void (mlir::Operation*)>, mlir::WalkOrder) (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x10004515c)
#14 0x0000000104b05120 void mlir::detail::walk<mlir::ForwardIterator>(mlir::Operation*, llvm::function_ref<void (mlir::Operation*)>, mlir::WalkOrder) (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x100045120)
#15 0x0000000104bff87c mlir::tt::ttnn::ttnnToFlatbuffer(mlir::Operation*) (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x10013f87c)
#16 0x0000000104bfff30 mlir::tt::ttnn::translateTTNNToFlatbuffer(mlir::Operation*, llvm::raw_ostream&) (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x10013ff30)
#17 0x0000000105889658 std::__1::__function::__func<mlir::TranslateFromMLIRRegistration::TranslateFromMLIRRegistration(llvm::StringRef, llvm::StringRef, std::__1::function<llvm::LogicalResult (mlir::Operation*, llvm::raw_ostream&)> const&, std::__1::function<void (mlir::DialectRegistry&)> const&)::$_2, std::__1::allocator<mlir::TranslateFromMLIRRegistration::TranslateFromMLIRRegistration(llvm::StringRef, llvm::StringRef, std::__1::function<llvm::LogicalResult (mlir::Operation*, llvm::raw_ostream&)> const&, std::__1::function<void (mlir::DialectRegistry&)> const&)::$_2>, llvm::LogicalResult (std::__1::shared_ptr<llvm::SourceMgr> const&, llvm::raw_ostream&, mlir::MLIRContext*)>::operator()(std::__1::shared_ptr<llvm::SourceMgr> const&, llvm::raw_ostream&, mlir::MLIRContext*&&) (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x100dc9658)
#18 0x00000001058874d4 llvm::LogicalResult llvm::function_ref<llvm::LogicalResult (std::__1::unique_ptr<llvm::MemoryBuffer, std::__1::default_delete<llvm::MemoryBuffer>>, llvm::raw_ostream&)>::callback_fn<mlir::mlirTranslateMain(int, char**, llvm::StringRef)::$_1>(long, std::__1::unique_ptr<llvm::MemoryBuffer, std::__1::default_delete<llvm::MemoryBuffer>>, llvm::raw_ostream&) (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x100dc74d4)
#19 0x00000001059cb62c mlir::splitAndProcessBuffer(std::__1::unique_ptr<llvm::MemoryBuffer, std::__1::default_delete<llvm::MemoryBuffer>>, llvm::function_ref<llvm::LogicalResult (std::__1::unique_ptr<llvm::MemoryBuffer, std::__1::default_delete<llvm::MemoryBuffer>>, llvm::raw_ostream&)>, llvm::raw_ostream&, llvm::StringRef, llvm::StringRef) (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x100f0b62c)
#20 0x00000001058853dc mlir::mlirTranslateMain(int, char**, llvm::StringRef) (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x100dc53dc)
#21 0x0000000104ac27e8 main (/Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate+0x1000027e8)
#22 0x0000000181cb7154
/Users/runner/work/tt-mlir/tt-mlir/build/test/ttmlir/Silicon/TTNN/Output/simple_sum.mlir.script: line 3: 6914 Abort trap: 6 /Users/runner/work/tt-mlir/tt-mlir/build/bin/ttmlir-translate --ttnn-to-flatbuffer /Users/runner/work/tt-mlir/tt-mlir/build/test/ttmlir/Silicon/TTNN/Output/simple_sum.mlir.tmp.mlir > /Users/runner/work/tt-mlir/tt-mlir/build/test/ttmlir/Silicon/TTNN/Output/simple_sum.mlir.tmp.ttnn
--