Skip to content

Commit

Permalink
Move install earlier
Browse files Browse the repository at this point in the history
  • Loading branch information
xuzhao9 committed Mar 23, 2024
1 parent bef7c75 commit e2c4180
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/userbenchmark-a100-bisection.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ jobs:
run: |
CONDA_ENV=${BASE_CONDA_ENV} . "${SETUP_SCRIPT}"
cd benchmark
python install.py
mkdir -p "${BISECT_WORKDIR}"
PYTORCH_GIT_HASH=$(python -c 'import torch; print(torch.version.git_version)')
python run_benchmark.py ${{ github.event.inputs.userbenchmark }} ${{ github.event.inputs.userbenchmark_args }} --dryrun \
Expand All @@ -79,8 +80,6 @@ jobs:
. "${SETUP_SCRIPT}"; cd benchmark
python utils/cuda_utils.py --install-torch-build-deps
python utils/cuda_utils.py --install-torchbench-deps
# Install torchbench
python install.py
- name: Bisection
run: |
. "${SETUP_SCRIPT}"; cd benchmark
Expand Down

0 comments on commit e2c4180

Please sign in to comment.