Skip to content

Commit

Permalink
release/2.5 rc1
Browse files Browse the repository at this point in the history
  • Loading branch information
mengfei25 committed Sep 11, 2024
1 parent 7f416bc commit d9e6f71
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/actions/inductor-xpu-e2e-test/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,9 @@ runs:
pip install --force-reinstall git+https://github.com/huggingface/transformers@${TRANSFORMERS_VERSION}
fi
if [[ ${{ inputs.suite }} == *"timm_models"* ]]; then
if [ "${{ inputs.pytorch }}" != "nightly_wheel" ]; then
cd ../ && rm -rf vision && git clone --single-branch -b main https://github.com/pytorch/vision.git
cd vision && git checkout d23a6e1664d20707c11781299611436e1f0c104f
python setup.py bdist_wheel && pip uninstall torchvision -y && pip install dist/*.whl
fi
cd ../ && rm -rf vision && git clone --single-branch -b main https://github.com/pytorch/vision.git
cd vision && git checkout d23a6e1664d20707c11781299611436e1f0c104f
python setup.py bdist_wheel && pip uninstall torchvision -y && pip install dist/*.whl
# install timm without dependencies
pip install --no-deps git+https://github.com/huggingface/pytorch-image-models@ac3470188b914c5d7a5058a7e28b9eb685a62427
# install timm dependencies without torch and torchvision
Expand Down

0 comments on commit d9e6f71

Please sign in to comment.