Skip to content

Commit

Permalink
Fix python install location
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanielMcVicar committed Oct 16, 2023
1 parent 4ac8f7c commit a2cdf3a
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/torchbench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,18 @@ jobs:
# Force user install, TorchBench expects a conda environment
- name: Install TorchBench and models
run: |
echo -e "[install]\nprefix=${HOME}/.local\n" > ${HOME}/.pydistutils.cfg
cd python
ls
python3 -m pip install --upgrade pip
python3 -m pip install --upgrade torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
python3 -m pip install --upgrade torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121
df -h
du --max-depth=1 -h
cd torchbench
cd ../torchbench
echo -e "[install]\nprefix=${HOME}/.local\n" > ${HOME}/.pydistutils.cfg
python3 install.py detectron2_fasterrcnn_r_101_c4
df -h
du --max-depth=1 -h
- name: Install the latest Triton wheel
run: |
python3 -m pip install --upgrade triton-nightly --index-url https://aiinfra.pkgs.visualstudio.com/PublicPackages/_packaging/Triton-Nightly/pypi/simple/
Expand Down

0 comments on commit a2cdf3a

Please sign in to comment.