Skip to content

Commit

Permalink
Merge pull request #5 from tenstorrent/mmanzoor/env-use-py3.11
Browse files Browse the repository at this point in the history
Use python3.11 explicitly to install the requirements.
  • Loading branch information
mmanzoorTT authored Oct 30, 2024
2 parents 521520e + 13c1d05 commit 958c588
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion env/activate
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ else
python3.11 -m venv $TTMLIR_VENV_DIR
source $TTMLIR_VENV_DIR/bin/activate
pip install --upgrade pip
pip install -r requirements.txt
python3.11 -m pip install -r requirements.txt
fi
export TTTORCH_ENV_ACTIVATED=1
export TTMLIR_ENV_ACTIVATED=1
Expand Down
5 changes: 4 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ torch@https://download.pytorch.org/whl/cpu-cxx11-abi/torch-2.5.0%2Bcpu.cxx11.abi
torchvision
--extra-index-url https://download.pytorch.org/whl/nightly/cpu
-f https://github.com/llvm/torch-mlir-release/releases/expanded_assets/dev-wheels
black
ninja
pre-commit
pybind11
tabulate
pytest
tabulate
transformers

0 comments on commit 958c588

Please sign in to comment.