Skip to content

Commit b5d3396

Browse files
authored
Use ./scripts/install-pti.sh in benchmarks workflow (#5404)
Signed-off-by: Anatoly Myachev <[email protected]>
1 parent d165754 commit b5d3396

File tree

2 files changed

+4
-11
lines changed

2 files changed

+4
-11
lines changed

.github/workflows/build-test-reusable.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ jobs:
302302
run: |
303303
echo "TRITON_TEST_CMD=${{ needs.build.outputs.test-triton-command }}" | tee -a $GITHUB_ENV
304304
305-
- name: Build PTI && Run Proton tests
305+
- name: Run Proton tests
306306
if: matrix.suite == 'rest'
307307
run: |
308308
export LD_LIBRARY_PATH=${{ env.PTI_LIBS_DIR }}:$LD_LIBRARY_PATH

.github/workflows/triton-benchmarks.yml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -117,17 +117,10 @@ jobs:
117117
cd benchmarks
118118
pip install .
119119
120-
- name: Build PTI from source
120+
- name: Build PTI
121121
run: |
122-
PTI_COMMIT_ID="$(<.github/pins/pti.txt)"
123-
git clone https://github.com/intel/pti-gpu.git
124-
cd pti-gpu
125-
git checkout $PTI_COMMIT_ID
126-
cd sdk
127-
cmake --preset linux-icpx-release
128-
BUILD_TESTING=1 PTI_BUILD_SAMPLES=1 cmake --build --preset linux-icpx-release
129-
130-
PTI_LIBS_DIR="$(pwd)/build-linux-icpx-release/lib/"
122+
./scripts/install-pti.sh --build-level-zero
123+
PTI_LIBS_DIR=$(python ./scripts/pti_lib.py)
131124
ls $PTI_LIBS_DIR
132125
echo "PTI_LIBS_DIR=$PTI_LIBS_DIR" >> $GITHUB_ENV
133126

0 commit comments

Comments
 (0)