Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating TT-MLIR commit reference #30

Merged
merged 10 commits into from
Aug 2, 2024
4 changes: 1 addition & 3 deletions pybuda/csrc/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -97,13 +97,11 @@ target_link_libraries(ttforge_csrc PRIVATE
TTMLIRTTNNToEmitC
TTRuntime
TTRuntimeTTNN
TTMLIRTTIRToTTNN
tt_metal
device
tt_eager
ttnn
tt_metal
device
tt_eager
flatbuffers
xml2
curses
Expand Down
2 changes: 1 addition & 1 deletion third_party/tt-mlir
Submodule tt-mlir updated 97 files
+5 −1 .github/actions/build-toolchain/action.yml
+17 −1 .github/workflows/build.yml
+2 −0 CMakeLists.txt
+1 −1 docs/CMakeLists.txt
+1 −0 docs/src/SUMMARY.md
+23 −18 docs/src/adding-an-op.md
+12 −1 docs/src/build.md
+1 −1 docs/src/dialects-overview.md
+295 −0 docs/src/specs/device.md
+31 −11 docs/src/ttrt.md
+1 −1 env/CMakeLists.txt
+3 −1 env/activate
+74 −0 include/ttmlir-c/TTAttrs.h
+25 −0 include/ttmlir-c/TTTypes.h
+3 −0 include/ttmlir/Conversion/Passes.h
+13 −1 include/ttmlir/Conversion/Passes.td
+20 −0 include/ttmlir/Conversion/TTIRToTTNN/TTIRToTTNN.h
+5 −3 include/ttmlir/Conversion/TTNNToEmitC/TTNNToEmitC.h
+17 −0 include/ttmlir/Conversion/TosaToTTIR/TosaToTTIR.h
+22 −4 include/ttmlir/Dialect/TT/IR/TTOpsTypes.td
+0 −58 include/ttmlir/Dialect/TTIR/Analysis/GridAnalysis.h
+53 −0 include/ttmlir/Dialect/TTIR/Analysis/LegalGridAnalysis.h
+46 −0 include/ttmlir/Dialect/TTIR/Analysis/OptimalTargetGridAnalysis.h
+11 −11 include/ttmlir/Dialect/TTIR/Analysis/TTIRAnalysis.h
+5 −5 include/ttmlir/Dialect/TTIR/IR/TTIROps.td
+1 −1 include/ttmlir/Dialect/TTIR/IR/TTIROpsInterfaces.td
+6 −5 include/ttmlir/Dialect/TTIR/Transforms/Passes.td
+1 −1 include/ttmlir/Dialect/TTNN/IR/TTNNOps.td
+11 −10 include/ttmlir/Dialect/TTNN/Pipelines/Passes.h
+0 −7 include/ttmlir/Dialect/TTNN/Transforms/Passes.td
+12 −11 include/ttmlir/Target/Utils/MLIRToFlatbuffer.h
+2 −0 lib/CAPI/CMakeLists.txt
+156 −0 lib/CAPI/TTAttrs.cpp
+24 −0 lib/CAPI/TTTypes.cpp
+1 −0 lib/CMakeLists.txt
+10 −0 lib/Conversion/CMakeLists.txt
+0 −25 lib/Conversion/PassDetail.h
+13 −0 lib/Conversion/TTIRToTTNN/CMakeLists.txt
+154 −0 lib/Conversion/TTIRToTTNN/TTIRToTTNN.cpp
+59 −0 lib/Conversion/TTIRToTTNN/TTIRToTTNNPass.cpp
+2 −3 lib/Conversion/TTNNToEmitC/CMakeLists.txt
+0 −70 lib/Conversion/TTNNToEmitC/PopulatePatterns.h
+68 −87 lib/Conversion/TTNNToEmitC/TTNNToEmitC.cpp
+121 −0 lib/Conversion/TTNNToEmitC/TTNNToEmitCPass.cpp
+0 −32 lib/Conversion/TTNNToEmitC/TypeConverter.h
+12 −0 lib/Conversion/TosaToTTIR/CMakeLists.txt
+118 −0 lib/Conversion/TosaToTTIR/TosaToTTIR.cpp
+70 −3 lib/Dialect/TT/IR/TTOpsTypes.cpp
+2 −1 lib/Dialect/TTIR/Analysis/CMakeLists.txt
+0 −33 lib/Dialect/TTIR/Analysis/GridAnalysis.cpp
+37 −0 lib/Dialect/TTIR/Analysis/LegalGridAnalysis.cpp
+31 −0 lib/Dialect/TTIR/Analysis/OptimalTargetGridAnalysis.cpp
+1 −1 lib/Dialect/TTIR/IR/TTIROps.cpp
+82 −109 lib/Dialect/TTIR/Transforms/Passes.cpp
+3 −3 lib/Dialect/TTMetal/Transforms/Passes.cpp
+3 −1 lib/Dialect/TTNN/Pipelines/TTNNPipelines.cpp
+0 −1 lib/Dialect/TTNN/Transforms/CMakeLists.txt
+2 −120 lib/Dialect/TTNN/Transforms/Passes.cpp
+1 −1 lib/Dialect/TTNN/Transforms/TTNNToCpp.cpp
+4 −3 lib/Target/TTNN/TTNNToFlatbuffer.cpp
+2 −0 python/CMakeLists.txt
+135 −80 python/TTModule.cpp
+10 −0 python/ttmlir/dialects/TTEnumBindings.td
+1 −0 python/ttmlir/dialects/tt.py
+16 −2 runtime/lib/ttnn/program.cpp
+0 −1 runtime/test/ttnn/test_subtract.cpp
+1 −1 runtime/tools/python/setup.py
+62 −199 runtime/tools/python/ttrt/__init__.py
+3 −0 runtime/tools/python/ttrt/common/__init__.py
+247 −0 runtime/tools/python/ttrt/common/api.py
+106 −0 runtime/tools/python/ttrt/common/perf_trace.py
+157 −0 runtime/tools/python/ttrt/common/util.py
+159 −0 test/python/device_attr.py
+1 −1 test/python/simple_kernel.py
+4 −4 test/python/tensor_layout.py
+1 −1 test/ttmlir/Dialect/TTIR/test_allocate.mlir
+1 −1 test/ttmlir/Dialect/TTIR/test_generic.mlir
+4 −4 test/ttmlir/Dialect/TTIR/test_grid_set.mlir
+3 −3 test/ttmlir/Dialect/TTIR/test_layout.mlir
+10 −0 test/ttmlir/Dialect/TTIR/tosa_to_ttir_multiply.mlir
+1 −1 test/ttmlir/Dialect/TTMetal/simple_multiply.mlir
+12 −0 test/ttmlir/Dialect/TTMetal/to_layout.mlir
+1 −1 test/ttmlir/Dialect/TTNN/multiple_add_with_loc.mlir
+1 −1 test/ttmlir/Dialect/TTNN/multiple_add_with_loc_grid_override.mlir
+1 −1 test/ttmlir/Dialect/TTNN/simple_ge.mlir
+1 −1 test/ttmlir/Dialect/TTNN/simple_matmul.mlir
+1 −1 test/ttmlir/Dialect/TTNN/simple_multiply.mlir
+1 −1 test/ttmlir/Dialect/TTNN/simple_relu.mlir
+1 −1 test/ttmlir/Dialect/TTNN/simple_subtract.mlir
+1 −1 test/ttmlir/Dialect/TTNN/simple_sum.mlir
+3 −3 test/ttmlir/Dialect/TTNN/softmax/simple_softmax.mlir
+2 −2 test/ttmlir/Dialect/TTNN/softmax/softmax_negative_1.mlir
+2 −2 test/ttmlir/Dialect/TTNN/softmax/softmax_negative_2.mlir
+1 −1 test/ttmlir/Dialect/TTNN/ttir_to_ttnn_pipeline.mlir
+1 −1 test/ttmlir/Dialect/TTNN/ttir_to_ttnn_pipeline_custom_opt.mlir
+27 −19 third_party/CMakeLists.txt
+1 −1 tools/ttmlir-opt/CMakeLists.txt
Loading