Skip to content

Commit

Permalink
Use pinned upstream PyTorch in CI by default (#2002)
Browse files Browse the repository at this point in the history
Fixes #1852.
  • Loading branch information
pbchekin authored Aug 28, 2024
1 parent 3646a95 commit ee594a9
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 69 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build-test-a770.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on:
# corresponding repository. If not specified, a default (pinned) version will be used.
description: Install Intel PyTorch Extension
type: boolean
default: true
default: false
pytorch_ref:
description: PyTorch ref, keep empty for default
type: string
Expand Down Expand Up @@ -54,11 +54,11 @@ jobs:
with:
device: a770
runner_label: ${{ inputs.runner_label }}
install_ipex: ${{ inputs.install_ipex || github.event_name == 'schedule' }}
install_ipex: ${{ inputs.install_ipex }}
pytorch_ref: ${{ inputs.pytorch_ref }}
python_version: ${{ matrix.python }}
upload_test_reports: ${{ inputs.upload_test_reports || false }}
ignore_errors: ${{ inputs.ignore_errors || false }}
upload_test_reports: ${{ inputs.upload_test_reports }}
ignore_errors: ${{ inputs.ignore_errors }}
skip_list: ${{ inputs.skip_list || 'a770' }}
run_name: ${{ inputs.run_name }}
enable_unskip: ${{ inputs.enable_unskip || false }}
enable_unskip: ${{ inputs.enable_unskip }}
57 changes: 0 additions & 57 deletions .github/workflows/build-test-no-ipex.yml

This file was deleted.

10 changes: 5 additions & 5 deletions .github/workflows/build-test-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on:
# corresponding repository. If not specified, a default (pinned) version will be used.
description: Install Intel PyTorch Extension
type: boolean
default: true
default: false
pytorch_ref:
description: PyTorch ref, keep empty for default
type: string
Expand Down Expand Up @@ -81,11 +81,11 @@ jobs:
with:
driver_version: ${{ matrix.driver }}
runner_label: ${{ inputs.runner_label }}
install_ipex: ${{ inputs.install_ipex || github.event_name == 'pull_request' || github.event_name == 'push' }}
install_ipex: ${{ inputs.install_ipex }}
pytorch_ref: ${{ inputs.pytorch_ref }}
python_version: ${{ matrix.python }}
upload_test_reports: ${{ inputs.upload_test_reports || false }}
ignore_errors: ${{ inputs.ignore_errors || false }}
upload_test_reports: ${{ inputs.upload_test_reports }}
ignore_errors: ${{ inputs.ignore_errors }}
skip_list: ${{ inputs.skip_list }}
run_name: ${{ inputs.run_name }}
enable_unskip: ${{ inputs.enable_unskip || false }}
enable_unskip: ${{ inputs.enable_unskip }}
4 changes: 2 additions & 2 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on:
# corresponding repository. If not specified, a default (pinned) version will be used.
description: Install Intel PyTorch Extension
type: boolean
default: true
default: false
pytorch_ref:
description: PyTorch ref, keep empty for default
type: string
Expand Down Expand Up @@ -128,7 +128,7 @@ jobs:
with:
driver_version: ${{ matrix.driver }}
runner_label: ${{ inputs.runner_label }}
install_ipex: ${{ inputs.install_ipex || github.event_name == 'pull_request' || github.event_name == 'push' }}
install_ipex: ${{ inputs.install_ipex || false }}
pytorch_ref: ${{ inputs.pytorch_ref }}
python_version: ${{ matrix.python }}
upload_test_reports: ${{ inputs.upload_test_reports || false }}
Expand Down

0 comments on commit ee594a9

Please sign in to comment.