Skip to content

Commit

Permalink
Install torchdata<0.8.0 when using IPEX
Browse files Browse the repository at this point in the history
  • Loading branch information
pbchekin committed Aug 2, 2024
1 parent de0b810 commit bf4a361
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/e2e-reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,12 @@ jobs:
ref: ${{ env.TORCHVISION_COMMIT_ID }}
extra-cache-key: ${{ env.PYTORCH_VERSION }}

# FIXME: old PyTorch does not work with torchdata=0.8.0
- name: Install torchdata package
if: ${{ inputs.suite == 'torchbench' && inputs.install_ipex }}
run: |
pip install 'torchdata<0.8.0'
- name: Install torchtext package
if: ${{ inputs.suite == 'torchbench' }}
uses: ./.github/actions/install-dependency
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/nightly-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
- "3.10"
- "3.11"
- "3.12"
fail-fast: false
defaults:
run:
shell: bash -noprofile --norc -eo pipefail -c "source /home/runner/intel/oneapi/setvars.sh > /dev/null; source {0}"
Expand Down Expand Up @@ -131,6 +132,8 @@ jobs:
- name: Install torchtext
run: |
pip install text/dist/*.whl
# FIXME: old PyTorch does not work with torchdata=0.8.0
pip install 'torchdata<0.8.0'
python -c "import torchtext; print(torchtext.__version__)"
- name: Save torchtext to a cache
Expand Down

0 comments on commit bf4a361

Please sign in to comment.