Skip to content

Commit

Permalink
Provide the ability to run benchmarks with or without IPEX
Browse files Browse the repository at this point in the history
Signed-off-by: Anatoly Myachev <[email protected]>
  • Loading branch information
anmyachev committed Sep 11, 2024
1 parent 3102cf5 commit 0b4123e
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .github/workflows/triton-benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ on:
description: Tag for benchmark results
type: string
default: "test"
install_ipex:
description: Install Intel PyTorch Extension
type: boolean
default: true
schedule:
- cron: "5 23 * * *"

Expand Down Expand Up @@ -49,10 +53,20 @@ jobs:
run: |
pip install wheel
- name: Setup PyTorch
- name: Setup PyTorch with IPEX
if: ${{ inputs.install_ipex }}
uses: ./.github/actions/setup-pytorch
with:
repository: Stonepia/pytorch

- name: Setup PyTorch without IPEX
if: ${{ !inputs.install_ipex }}
uses: ./.github/actions/setup-pytorch
with:
repository: pytorch/pytorch

- name: Setup IPEX
if: ${{ inputs.install_ipex }}
uses: ./.github/actions/setup-ipex

- name: Build Triton wheels
Expand Down

0 comments on commit 0b4123e

Please sign in to comment.