Skip to content

Commit ce3cfa4

Browse files
authored
1 parent 9bbae71 commit ce3cfa4

File tree

1 file changed

+17
-21
lines changed

1 file changed

+17
-21
lines changed

.github/workflows/pytorch-version-tests.yml

Lines changed: 17 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,10 @@ jobs:
1616
fail-fast: false
1717
matrix:
1818
python-version: ["3.10", "3.11", "3.12"]
19-
pytorch-version: [2.7.1, 2.5.1, 2.4.1, 2.3.1, 1.13.1]
20-
exclude:
21-
# Conda fails to install cpuonly version and few cpu distributed tests are
22-
# failing with unrelated errors
23-
- pytorch-version: 1.13.1
24-
python-version: "3.11"
25-
- pytorch-version: 1.13.1
26-
python-version: "3.12"
19+
pytorch-version: [2.7.1, 2.5.1, 2.4.1, 2.3.1, 2.2.2]
20+
# exclude:
21+
# - pytorch-version: 2.2.2
22+
# python-version: "3.12"
2723

2824
steps:
2925
- uses: actions/checkout@v5
@@ -72,16 +68,16 @@ jobs:
7268
command: bash -l tests/run_cpu_tests.sh "not test_time_profilers"
7369
new_command_on_retry: USE_LAST_FAILED=1 bash -l tests/run_cpu_tests.sh "not test_time_profilers"
7470

75-
create-issue:
76-
runs-on: ubuntu-latest
77-
# https://docs.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#needs-context
78-
needs: build
79-
if: always() && needs.build.result == 'failure'
80-
steps:
81-
- uses: actions/checkout@v5
82-
- uses: JasonEtco/create-an-issue@v2
83-
name: Create issue if pytorch version tests failed
84-
with:
85-
filename: .github/failed_schedule_issue_template.md
86-
env:
87-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
71+
# create-issue:
72+
# runs-on: ubuntu-latest
73+
# # https://docs.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#needs-context
74+
# needs: build
75+
# if: always() && needs.build.result == 'failure'
76+
# steps:
77+
# - uses: actions/checkout@v5
78+
# - uses: JasonEtco/create-an-issue@v2
79+
# name: Create issue if pytorch version tests failed
80+
# with:
81+
# filename: .github/failed_schedule_issue_template.md
82+
# env:
83+
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)