99
1010jobs :
1111 test-readme-any :
12+ permissions :
13+ id-token : write
14+ contents : read
1215 uses : pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
1316 with :
1417 runner : linux.g5.4xlarge.nvidia.gpu
2831 echo "::endgroup::"
2932
3033 test-readme-cpu :
34+ permissions :
35+ id-token : write
36+ contents : read
3137 uses : pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
3238 with :
3339 runner : linux.g5.4xlarge.nvidia.gpu
4753 echo "::endgroup::"
4854
4955 test-quantization-any :
56+ permissions :
57+ id-token : write
58+ contents : read
5059 uses : pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
5160 with :
5261 runner : linux.g5.4xlarge.nvidia.gpu
6675 echo "::endgroup::"
6776
6877 test-quantization-cpu :
78+ permissions :
79+ id-token : write
80+ contents : read
6981 uses : pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
7082 with :
7183 runner : linux.g5.4xlarge.nvidia.gpu
8092 TORCHCHAT_DEVICE=cpu .ci/scripts/run-docs quantization
8193
8294 test-gguf-any :
95+ permissions :
96+ id-token : write
97+ contents : read
8398 uses : pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
8499 with :
85100 runner : linux.g5.4xlarge.nvidia.gpu
99114 echo "::endgroup::"
100115
101116 test-gguf-cpu :
117+ permissions :
118+ id-token : write
119+ contents : read
102120 uses : pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
103121 with :
104122 runner : linux.g5.4xlarge.nvidia.gpu
@@ -119,6 +137,9 @@ jobs:
119137
120138
121139 test-advanced-any :
140+ permissions :
141+ id-token : write
142+ contents : read
122143 uses : pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
123144 with :
124145 runner : linux.g5.4xlarge.nvidia.gpu
@@ -139,6 +160,9 @@ jobs:
139160
140161
141162 test-advanced-cpu :
163+ permissions :
164+ id-token : write
165+ contents : read
142166 uses : pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
143167 with :
144168 runner : linux.g5.4xlarge.nvidia.gpu
@@ -158,6 +182,9 @@ jobs:
158182 echo "::endgroup::"
159183
160184 test-evaluation-any :
185+ permissions :
186+ id-token : write
187+ contents : read
161188 uses : pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
162189 with :
163190 runner : linux.g5.4xlarge.nvidia.gpu
@@ -177,6 +204,9 @@ jobs:
177204 echo "::endgroup::"
178205
179206 test-evaluation-cpu :
207+ permissions :
208+ id-token : write
209+ contents : read
180210 uses : pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
181211 with :
182212 runner : linux.g5.4xlarge.nvidia.gpu
@@ -196,6 +226,9 @@ jobs:
196226 echo "::endgroup::"
197227
198228 test-multimodal-any :
229+ permissions :
230+ id-token : write
231+ contents : read
199232 uses : pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
200233 with :
201234 runner : linux.g5.4xlarge.nvidia.gpu
@@ -215,6 +248,9 @@ jobs:
215248 echo "::endgroup::"
216249
217250 test-multimodal-cpu :
251+ permissions :
252+ id-token : write
253+ contents : read
218254 uses : pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
219255 with :
220256 runner : linux.g5.4xlarge.nvidia.gpu
@@ -269,4 +305,4 @@ jobs:
269305 export PATH=/opt/rh/devtoolset-10/root/usr/bin/:$PATH
270306 echo "::endgroup::"
271307
272- TORCHCHAT_DEVICE=cpu .ci/scripts/run-docs native
308+ TORCHCHAT_DEVICE=cpu .ci/scripts/run-docs native
0 commit comments