Skip to content

Commit dc53ff9

Browse files
authored
[Benchmark] Pin benchmarks to PyTorch 2.9 (#860)
1 parent d83e97d commit dc53ff9

File tree

1 file changed

+1
-22
lines changed

1 file changed

+1
-22
lines changed

.github/workflows/benchmark.yml

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -81,28 +81,7 @@ jobs:
8181
- name: Install PyTorch
8282
run: |
8383
source .venv/bin/activate
84-
uv pip install -U --pre torch --index-url https://download.pytorch.org/whl/nightly/${{ inputs.runtime-version }}
85-
86-
- name: Install Triton
87-
run: |
88-
set -x
89-
source .venv/bin/activate
90-
apt-get update
91-
apt-get install -y git
92-
apt-get install -y clang-14 clang++-14 zlib1g-dev
93-
export CC=clang-14
94-
export CXX=clang++-14
95-
mkdir -p /tmp/$USER
96-
cd /tmp/$USER
97-
uv pip uninstall triton pytorch-triton || true
98-
rm -rf triton/ || true
99-
git clone https://github.com/triton-lang/triton.git
100-
cd triton/
101-
uv pip install -r python/requirements.txt
102-
MAX_JOBS=$(nproc) TRITON_PARALLEL_LINK_JOBS=2 uv pip install .
103-
cd /tmp/$USER
104-
rm -rf triton/
105-
python -c "import triton; print(f'Triton version: {triton.__version__}')"
84+
uv pip install -U "torch==2.9.*" --index-url https://download.pytorch.org/whl/test/${{ inputs.runtime-version }}
10685
10786
- name: Install Helion
10887
run: |

0 commit comments

Comments
 (0)