File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Tests
2
+
3
+ on :
4
+ pull_request :
5
+ push :
6
+ branches :
7
+ - nightly
8
+ - main
9
+ - release/*
10
+ workflow_dispatch :
11
+
12
+ jobs :
13
+ unittests-linux :
14
+ strategy :
15
+ matrix :
16
+ python-version :
17
+ - " 3.8"
18
+ runner : ["linux.12xlarge"]
19
+ gpu-arch-type : ["cpu"]
20
+ include :
21
+ - python-version : 3.11
22
+ runner : linux.g5.4xlarge.nvidia.gpu
23
+ gpu-arch-type : cuda
24
+ gpu-arch-version : " 11.8"
25
+ fail-fast : false
26
+ uses : pytorch/test-infra/.github/workflows/linux_job.yml@main
27
+ with :
28
+ repository : pytorch/extension-cpp
29
+ runner : ${{ matrix.runner }}
30
+ gpu-arch-type : ${{ matrix.gpu-arch-type }}
31
+ gpu-arch-version : ${{ matrix.gpu-arch-version }}
32
+ timeout : 120
33
+ test-infra-ref : master
34
+ script : |
35
+ set -euo pipefail
36
+
37
+ export PYTHON_VERSION=${{ matrix.python-version }}
38
+ export GPU_ARCH_TYPE=${{ matrix.gpu-arch-type }}
39
+ export GPU_ARCH_VERSION=${{ matrix.gpu-arch-version }}
40
+
41
+ ./.github/scripts/unittest.sh
You can’t perform that action at this time.
0 commit comments