Skip to content

Commit

Permalink
modify
Browse files Browse the repository at this point in the history
  • Loading branch information
mengfei25 committed Feb 9, 2025
1 parent d70e15a commit 93587f1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/actions/inductor-xpu-e2e-test/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,10 @@ runs:
if [ "${{ inputs.pytorch }}" != "" ]; then
cd ../ && rm -rf audio && git clone --single-branch -b main https://github.com/pytorch/audio.git
cd audio && git checkout $TORCHAUDIO_COMMIT_ID
python setup.py bdist_wheel && pip uninstall torchaudio -y && pip install dist/*.whl
python setup.py bdist_wheel && pip uninstall torchaudio -y && pip install --no-deps dist/*.whl
cd ../ && rm -rf vision && git clone --single-branch -b main https://github.com/pytorch/vision.git
cd vision && git checkout $TORCHVISION_COMMIT_ID
python setup.py bdist_wheel && pip uninstall torchvision -y && pip install dist/*.whl
python setup.py bdist_wheel && pip uninstall torchvision -y && pip install --no-deps dist/*.whl
fi
cd ../ && python -c "import torch, torchvision, torchaudio"
rm -rf benchmark && git clone https://github.com/mengfei25/benchmark.git
Expand All @@ -78,7 +78,7 @@ runs:
if [ "${{ inputs.pytorch }}" != "" ]; then
cd ../ && rm -rf vision && git clone --single-branch -b main https://github.com/pytorch/vision.git
cd vision && git checkout $TORCHVISION_COMMIT_ID
python setup.py bdist_wheel && pip uninstall torchvision -y && pip install dist/*.whl
python setup.py bdist_wheel && pip uninstall torchvision -y && pip install --no-deps dist/*.whl
fi
# install timm without dependencies
pip install --no-deps git+https://github.com/huggingface/pytorch-image-models@$TIMM_COMMIT_ID
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/nightly_ondemand_whl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@ jobs:
git status && git show -s
pip install -r requirements.txt
cd ../
pip install torch==2.6.0 --index-url https://download.pytorch.org/whl/test/xpu
pip uninstall -y torch && pip uninstall -y torch
pip install torch==2.6.0 torchvision torchaudio --index-url https://download.pytorch.org/whl/test/xpu
pip uninstall -y torch torchvision torchaudio && pip uninstall -y torch torchvision torchaudio
pip install --no-deps /home/sdp/mengfeil/torch-2.6.0.dev20250207+xpu-cp310-cp310-linux_x86_64.whl
- name: Identify pinned versions
id: pinned
Expand Down

0 comments on commit 93587f1

Please sign in to comment.