Skip to content

Commit

Permalink
Build ttrt as part of third party projects.
Browse files Browse the repository at this point in the history
  • Loading branch information
mmanzoorTT committed Dec 17, 2024
1 parent 03fb607 commit 8b4ba06
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion env/activate
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ else
fi

export TT_TORCH_HOME="$(pwd)"
export LD_LIBRARY_PATH=$TT_TORCH_HOME/env/venv/lib/python3.11/site-packages/torch/lib:$TTMLIR_TOOLCHAIN_DIR/lib:$LD_LIBRRARY_PATH
export LD_LIBRARY_PATH=$TT_TORCH_HOME/env/venv/lib/python3.11/site-packages/torch/lib:$TTMLIR_TOOLCHAIN_DIR/lib:$TT_TORCH_HOME/install/lib/:$LD_LIBRRARY_PATH

export TTMLIR_VENV_DIR="$(pwd)/env/venv"
if [ -d $TTMLIR_VENV_DIR/bin ]; then
Expand Down
3 changes: 3 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ torch@https://download.pytorch.org/whl/cpu-cxx11-abi/torch-2.5.0%2Bcpu.cxx11.abi
black
mdutils
ninja
patchelf
pre-commit
pybind11
pytest
Expand All @@ -12,6 +13,7 @@ transformers
protobuf
tiktoken
sentencepiece
setuptools
pytorchcv
diffusers
scipy
Expand All @@ -22,6 +24,7 @@ soundfile
matplotlib
mlp_mixer_pytorch
opencv-python
wheel
xlsxwriter
onnx
onnxruntime
Expand Down
1 change: 1 addition & 0 deletions third_party/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ else()
-DTTMLIR_ENABLE_STABLEHLO=ON
-DTTMLIR_ENABLE_RUNTIME=ON
-DCMAKE_INSTALL_PREFIX=${CMAKE_INSTALL_PREFIX}
BUILD_COMMAND "${CMAKE_COMMAND}" --build . -- ttrt
GIT_REPOSITORY https://github.com/tenstorrent/tt-mlir.git
GIT_TAG ${TT_MLIR_VERSION}
GIT_PROGRESS ON
Expand Down

0 comments on commit 8b4ba06

Please sign in to comment.