Skip to content

Commit

Permalink
install torch
Browse files Browse the repository at this point in the history
  • Loading branch information
mengfei25 committed Jul 30, 2024
1 parent 67eccb9 commit 8f55668
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/nightly_ondemand.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,10 @@ concurrency:

jobs:
Linux-Nightly-Ondemand-E2E-Tests:
runs-on: e2e_internal
runs-on: pvc_e2e
# Don't run on forked repos
if: github.repository_owner == 'intel'
timeout-minutes: 900
timeout-minutes: 90000
env:
pytorch: ${{ github.event_name == 'schedule' && 'main' || inputs.pytorch }}
keep_torch_xpu_ops: ${{ github.event_name == 'schedule' && 'false' || inputs.keep_torch_xpu_ops }}
Expand Down Expand Up @@ -105,7 +105,7 @@ jobs:
cd ../ && rm -rf pytorch
source activate e2e_ci
git clone https://github.com/pytorch/pytorch pytorch
cd pytorch && git checkout bd12fbe65295fd59b73cfcf63eca32f30e5f15e5 # 0717 nightly
cd pytorch && git checkout dfa18bf3f39c5a90b48baf956e50fa7da4462d3d # 0717 nightly
# apply PRs for stock pytorch
pip install requests
python ../torch-xpu-ops/.github/scripts/apply_torch_pr.py
Expand Down Expand Up @@ -157,8 +157,10 @@ jobs:
export USE_XPU=1
source /home/sdp/mengfeil/0.5.3/setvars.sh
export CMAKE_PREFIX_PATH=${CONDA_PREFIX:-"$(dirname $(which conda))/../"}
python setup.py bdist_wheel
pip install --force-reinstall dist/*.whl
# python setup.py bdist_wheel
# pip install --force-reinstall dist/*.whl
pip install ${HOME}/mengfeil/torch-2.5.0a0+gitdfa18bf-cp310-cp310-linux_x86_64.whl
- name: Show GITHUB_ENV
run: |
echo "$GITHUB_ENV"
Expand Down

0 comments on commit 8f55668

Please sign in to comment.