Skip to content

Commit

Permalink
2.6 source build
Browse files Browse the repository at this point in the history
  • Loading branch information
mengfei25 committed Dec 10, 2024
1 parent 4beb7d3 commit 0b2386a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .github/scripts/apply_torch_pr.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
parser.add_argument('--pr-list', '-n', nargs='+',
default=[
# Fallback to CPU for XPU FP64
"https://github.com/pytorch/pytorch/pull/126516",
# "https://github.com/pytorch/pytorch/pull/126516",
# Modify the tolerance level in TIMM benchmark
# "https://github.com/pytorch/pytorch/pull/129735",
"https://github.com/mengfei25/pytorch/pull/21",
# "https://github.com/mengfei25/pytorch/pull/21",
]
)
parser.add_argument('--extra-pr-list', '-e', nargs='+',default=[])
Expand Down
11 changes: 5 additions & 6 deletions .github/workflows/nightly_ondemand.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,18 +67,16 @@ concurrency:

jobs:
Linux-Nightly-Ondemand-UT-Tests:
if: github.event_name == 'schedule' || ${{ inputs.ut_suite }}
uses: ./.github/workflows/_linux_ut.yml
with:
keep_torch_xpu_ops: ${{ github.event_name == 'schedule' && 'false' || inputs.keep_torch_xpu_ops }}
ut: ${{ github.event_name == 'schedule' && 'op_regression,op_regression_dev1,op_extended,op_ut,torch_xpu' || inputs.ut }}
pytorch: ${{ github.event_name == 'schedule' && 'main' || inputs.pytorch }}
python: ${{ github.event_name == 'schedule' && '3.10' || inputs.python }}
triton: ${{ github.event_name == 'schedule' && '' || inputs.triton }}
runner: linux.idc.xpu
runner: e2e_internal

Linux-Weekly-UT-Tests-ABI-0:
if: github.event_name == 'schedule' && github.event.schedule == '0 16 * * 5'
uses: ./.github/workflows/_linux_ut.yml
with:
abi: 0
Expand All @@ -87,13 +85,13 @@ jobs:
pytorch: ${{ github.event_name == 'schedule' && 'main' || inputs.pytorch }}
python: ${{ github.event_name == 'schedule' && '3.10' || inputs.python }}
triton: ${{ github.event_name == 'schedule' && '' || inputs.triton }}
runner: linux.idc.xpu
runner: e2e_internal

Linux-Nightly-Ondemand-E2E-Tests:
runs-on: pvc_e2e
runs-on: e2e_internal
# Don't run on forked repos
if: github.repository_owner == 'intel'
timeout-minutes: 3600
timeout-minutes: 36000
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 @@ -180,6 +178,7 @@ jobs:
run: |
source activate e2e_ci
source .github/scripts/env.sh
export _GLIBCXX_USE_CXX11_ABI=0
cd ../pytorch
pip install -r requirements.txt
export CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}:${CONDA_PREFIX:-"$(dirname $(which conda))/../"}
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/nightly_ondemand_rolling.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ concurrency:

jobs:
Linux-Nightly-Ondemand-UT-Tests-Rolling:
if: github.event_name == 'schedule' || ${{ inputs.ut_suite }}
uses: ./.github/workflows/_linux_ut.yml
with:
keep_torch_xpu_ops: ${{ github.event_name == 'schedule' && 'false' || inputs.keep_torch_xpu_ops }}
Expand All @@ -78,7 +77,6 @@ jobs:
runner: pvc_rolling

Linux-Weekly-UT-Tests-ABI-0-Rolling:
if: github.event_name == 'schedule' && github.event.schedule == '30 16 * * 5'
uses: ./.github/workflows/_linux_ut.yml
with:
abi: 0
Expand All @@ -93,7 +91,7 @@ jobs:
runs-on: pvc_rolling
# Don't run on forked repos
if: github.repository_owner == 'intel'
timeout-minutes: 3600
timeout-minutes: 36000
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 @@ -182,6 +180,7 @@ jobs:
run: |
source activate e2e_ci
source .github/scripts/env.sh
export _GLIBCXX_USE_CXX11_ABI=0
cd ../pytorch
pip install -r requirements.txt
export CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}:${CONDA_PREFIX:-"$(dirname $(which conda))/../"}
Expand Down

0 comments on commit 0b2386a

Please sign in to comment.