File tree 1 file changed +40
-0
lines changed 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Test check_binary
2
+
3
+ on :
4
+ pull_request :
5
+ paths :
6
+ - .github/workflows/test-check-binary.yml
7
+ - .ci/pytorch/check_binary.sh
8
+ - .ci/pytorch//smoke_test/smoke_test.py
9
+
10
+ concurrency :
11
+ group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}-${{ github.event_name == 'workflow_dispatch' }}
12
+ cancel-in-progress : true
13
+
14
+ jobs :
15
+ check_binary_linux_cpu :
16
+ if : github.repository_owner == 'pytorch'
17
+ name : Test check_binary.sh for Linux CPU
18
+ uses : pytorch/test-infra/.github/workflows/linux_job.yml@main
19
+ with :
20
+ docker-image : python:3.11
21
+ docker-build-dir : " skip-docker-build"
22
+ script : |
23
+ pushd .ci/pytorch/
24
+ pip install --pre torch --index-url https://download.pytorch.org/whl/nightly/cpu
25
+ DESIRED_PYTHON=3.11 DESIRED_CUDA=cpu PACKAGE_TYPE=manywheel ./check_binary.sh
26
+ popd
27
+
28
+ check_binary_linux_cuda :
29
+ if : github.repository_owner == 'pytorch'
30
+ name : Test check_binary.sh for Linux CUDA
31
+ uses : pytorch/test-infra/.github/workflows/linux_job.yml@main
32
+ with :
33
+ runner : linux.4xlarge.nvidia.gpu
34
+ docker-image : python:3.11
35
+ docker-build-dir : " skip-docker-build"
36
+ script : |
37
+ pushd .ci/pytorch/
38
+ pip install --pre torch --index-url https://download.pytorch.org/whl/nightly/cu124
39
+ DESIRED_PYTHON=3.11 DESIRED_CUDA=cu124 PACKAGE_TYPE=manywheel ./check_binary.sh
40
+ popd
You can’t perform that action at this time.
0 commit comments