9
9
10
10
jobs :
11
11
test-readme-cpu :
12
- uses : pytorch/test-infra/.github/workflows/linux_job.yml@main
12
+ uses : pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
13
+ permissions :
14
+ id-token : write
15
+ contents : read
13
16
with :
14
- runner : linux-aarch64
15
- gpu-arch-type : cuda
16
- gpu-arch-version : " 12.1 "
17
+ runner : linux.arm64.2xlarge
18
+ docker-image : " pytorch/manylinux2_28_aarch64-builder:cpu-aarch64-main "
19
+ gpu-arch-type : cpu-aarch64
17
20
timeout : 60
18
21
script : |
19
22
echo "::group::Print machine info"
20
23
uname -a
21
24
echo "::endgroup::"
22
25
23
- echo "::group::Install newer objcopy that supports --set-section-alignment"
24
- yum install -y devtoolset-10-binutils
25
- export PATH=/opt/rh/devtoolset-10/root/usr/bin/:$PATH
26
- echo "::endgroup::"
27
-
28
26
TORCHCHAT_DEVICE=cpu .ci/scripts/run-docs readme
29
27
30
28
echo "::group::Completion"
@@ -33,41 +31,37 @@ jobs:
33
31
echo "::endgroup::"
34
32
35
33
test-quantization-cpu :
36
- uses : pytorch/test-infra/.github/workflows/linux_job.yml@main
34
+ uses : pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
35
+ permissions :
36
+ id-token : write
37
+ contents : read
37
38
with :
38
- runner : linux-aarch64
39
- gpu-arch-type : cuda
40
- gpu-arch-version : " 12.1 "
39
+ runner : linux.arm64.2xlarge
40
+ docker-image : " pytorch/manylinux2_28_aarch64-builder:cpu-aarch64-main "
41
+ gpu-arch-type : cpu-aarch64
41
42
timeout : 60
42
43
script : |
43
44
echo "::group::Print machine info"
44
45
uname -a
45
46
echo "::endgroup::"
46
47
47
- echo "::group::Install newer objcopy that supports --set-section-alignment"
48
- yum install -y devtoolset-10-binutils
49
- export PATH=/opt/rh/devtoolset-10/root/usr/bin/:$PATH
50
- echo "::endgroup::"
51
-
52
48
TORCHCHAT_DEVICE=cpu .ci/scripts/run-docs quantization
53
49
54
50
test-gguf-cpu :
55
51
uses : pytorch/test-infra/.github/workflows/linux_job.yml@main
52
+ permissions :
53
+ id-token : write
54
+ contents : read
56
55
with :
57
- runner : linux-aarch64
58
- gpu-arch-type : cuda
59
- gpu-arch-version : " 12.1 "
56
+ runner : linux.arm64.2xlarge
57
+ docker-image : " pytorch/manylinux2_28_aarch64-builder:cpu-aarch64-main "
58
+ gpu-arch-type : cpu-aarch64
60
59
timeout : 60
61
60
script : |
62
61
echo "::group::Print machine info"
63
62
uname -a
64
63
echo "::endgroup::"
65
64
66
- echo "::group::Install newer objcopy that supports --set-section-alignment"
67
- yum install -y devtoolset-10-binutils
68
- export PATH=/opt/rh/devtoolset-10/root/usr/bin/:$PATH
69
- echo "::endgroup::"
70
-
71
65
TORCHCHAT_DEVICE=cpu .ci/scripts/run-docs gguf
72
66
73
67
echo "::group::Completion"
@@ -77,21 +71,19 @@ jobs:
77
71
78
72
test-advanced-cpu :
79
73
uses : pytorch/test-infra/.github/workflows/linux_job.yml@main
74
+ permissions :
75
+ id-token : write
76
+ contents : read
80
77
with :
81
- runner : linux-aarch64
82
- gpu-arch-type : cuda
83
- gpu-arch-version : " 12.1 "
78
+ runner : linux.arm64.2xlarge
79
+ docker-image : " pytorch/manylinux2_28_aarch64-builder:cpu-aarch64-main "
80
+ gpu-arch-type : cpu-aarch64
84
81
timeout : 60
85
82
script : |
86
83
echo "::group::Print machine info"
87
84
uname -a
88
85
echo "::endgroup::"
89
86
90
- echo "::group::Install newer objcopy that supports --set-section-alignment"
91
- yum install -y devtoolset-10-binutils
92
- export PATH=/opt/rh/devtoolset-10/root/usr/bin/:$PATH
93
- echo "::endgroup::"
94
-
95
87
TORCHCHAT_DEVICE=cpu .ci/scripts/run-docs advanced
96
88
97
89
echo "::group::Completion"
@@ -101,21 +93,19 @@ jobs:
101
93
102
94
test-evaluation-cpu :
103
95
uses : pytorch/test-infra/.github/workflows/linux_job.yml@main
96
+ permissions :
97
+ id-token : write
98
+ contents : read
104
99
with :
105
- runner : linux-aarch64
106
- gpu-arch-type : cuda
107
- gpu-arch-version : " 12.1 "
100
+ runner : linux.arm64.2xlarge
101
+ docker-image : " pytorch/manylinux2_28_aarch64-builder:cpu-aarch64-main "
102
+ gpu-arch-type : cpu-aarch64
108
103
timeout : 60
109
104
script : |
110
105
echo "::group::Print machine info"
111
106
uname -a
112
107
echo "::endgroup::"
113
108
114
- echo "::group::Install newer objcopy that supports --set-section-alignment"
115
- yum install -y devtoolset-10-binutils
116
- export PATH=/opt/rh/devtoolset-10/root/usr/bin/:$PATH
117
- echo "::endgroup::"
118
-
119
109
TORCHCHAT_DEVICE=cpu .ci/scripts/run-docs evaluation
120
110
121
111
echo "::group::Completion"
0 commit comments