Skip to content

Commit

Permalink
fix pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
mbezuljTT committed Dec 23, 2024
1 parent f2e1abd commit 244d3c2
Show file tree
Hide file tree
Showing 13 changed files with 15 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ jobs:
ls build/
ls build/test
.build/test/unittests/OpModel/TTNN/Conversion/TestConversion
.build/test/unittests/OpModel/TTNN/Op/TestOpModelInterface
.build/test/unittests/OpModel/TTNN/Op/TestOpModelInterface
.build/test/unittests/OpModel/TTNN/Lib/TestOpModelLib
- name: Upload Test Report
Expand Down
2 changes: 1 addition & 1 deletion include/ttmlir/Dialect/TT/Utils/CoreRangeSet.h
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,4 @@ inline std::vector<locsize2d> toCoreRangeSet(GridAttr virtualGrid,

} // namespace mlir::tt::utils

#endif // TTMLIR_DIALECT_TT_UTILS_CORERANGESET_H
#endif // TTMLIR_DIALECT_TT_UTILS_CORERANGESET_H
2 changes: 1 addition & 1 deletion include/ttmlir/Dialect/TTNN/Utils/VirtualToPhysicalGrid.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,4 @@ auto SingleDeviceCreateVirtualToPhysicalLayoutMap(
}
}
} // namespace mlir::tt::ttnn::utils
#endif // TTMLIR_DIALECT_TTNN_UTILS_VIRTUALTOPHYSICALGRID_H
#endif // TTMLIR_DIALECT_TTNN_UTILS_VIRTUALTOPHYSICALGRID_H
2 changes: 1 addition & 1 deletion lib/OpModel/TTNN/SingletonDeviceContext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ SingletonDeviceContext &SingletonDeviceContext::getInstance() {
}

} // namespace mlir::tt::op_model::ttnn
#endif // TTMLIR_ENABLE_OPMODEL
#endif // TTMLIR_ENABLE_OPMODEL
4 changes: 3 additions & 1 deletion test/lit.cfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,4 +104,6 @@ def set_system_desc_features(system_desc):
llvm_config.with_environment("TT_METAL_HOME", os.environ["TT_METAL_HOME"])
else:

llvm_config.with_environment("TT_METAL_HOME", r"/__w/tt-mlir/third_party/tt-metal/src/tt-metal")
llvm_config.with_environment(
"TT_METAL_HOME", r"/__w/tt-mlir/third_party/tt-metal/src/tt-metal"
)
2 changes: 1 addition & 1 deletion test/unittests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ endfunction()

add_subdirectory(TestScheduler)
add_subdirectory(Optimizer)
add_subdirectory(OpModel)
add_subdirectory(OpModel)
2 changes: 1 addition & 1 deletion test/unittests/OpModel/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
add_subdirectory(TTNN)
add_subdirectory(TTNN)
2 changes: 1 addition & 1 deletion test/unittests/OpModel/TTNN/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
add_subdirectory(Conversion)
add_subdirectory(Lib)
add_subdirectory(Op)
add_subdirectory(Op)
2 changes: 1 addition & 1 deletion test/unittests/OpModel/TTNN/Conversion/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ target_link_libraries(TestConversion
MLIRTTIRDialect
MLIRTTNNDialect
)
endif()
endif()
2 changes: 1 addition & 1 deletion test/unittests/OpModel/TTNN/Lib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ target_link_libraries(TestOpModelLib
MLIRTTIRDialect
MLIRTTNNDialect
)
endif()
endif()
2 changes: 1 addition & 1 deletion test/unittests/OpModel/TTNN/Lib/TestOpModelLib.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -657,4 +657,4 @@ TEST_F(OpModelBase, MatmulSharded) {
EXPECT_EQ(peak_size, 524288);
}

} // namespace mlir::tt::op_model::ttnn
} // namespace mlir::tt::op_model::ttnn
2 changes: 1 addition & 1 deletion test/unittests/OpModel/TTNN/Op/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ target_link_libraries(TestOpModelInterface
MLIRTTIRDialect
MLIRTTNNDialect
)
endif()
endif()
2 changes: 1 addition & 1 deletion test/unittests/OpModel/TTNN/Op/TestOpModelInterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -226,4 +226,4 @@ TEST_F(OpModelBase, MatmulInterface) {
}
}

} // namespace mlir::tt::ttnn
} // namespace mlir::tt::ttnn

0 comments on commit 244d3c2

Please sign in to comment.