diff --git a/.github/workflows/build-test-reusable.yml b/.github/workflows/build-test-reusable.yml index 3c3a3c3150..d97ced2d54 100644 --- a/.github/workflows/build-test-reusable.yml +++ b/.github/workflows/build-test-reusable.yml @@ -302,7 +302,7 @@ jobs: run: | echo "TRITON_TEST_CMD=${{ needs.build.outputs.test-triton-command }}" | tee -a $GITHUB_ENV - - name: Build PTI && Run Proton tests + - name: Run Proton tests if: matrix.suite == 'rest' run: | export LD_LIBRARY_PATH=${{ env.PTI_LIBS_DIR }}:$LD_LIBRARY_PATH diff --git a/.github/workflows/triton-benchmarks.yml b/.github/workflows/triton-benchmarks.yml index e92c1084a0..a28fe59d6a 100644 --- a/.github/workflows/triton-benchmarks.yml +++ b/.github/workflows/triton-benchmarks.yml @@ -117,17 +117,10 @@ jobs: cd benchmarks pip install . - - name: Build PTI from source + - name: Build PTI run: | - PTI_COMMIT_ID="$(<.github/pins/pti.txt)" - git clone https://github.com/intel/pti-gpu.git - cd pti-gpu - git checkout $PTI_COMMIT_ID - cd sdk - cmake --preset linux-icpx-release - BUILD_TESTING=1 PTI_BUILD_SAMPLES=1 cmake --build --preset linux-icpx-release - - PTI_LIBS_DIR="$(pwd)/build-linux-icpx-release/lib/" + ./scripts/install-pti.sh --build-level-zero + PTI_LIBS_DIR=$(python ./scripts/pti_lib.py) ls $PTI_LIBS_DIR echo "PTI_LIBS_DIR=$PTI_LIBS_DIR" >> $GITHUB_ENV