99 runs-on : [self-hosted]
1010 steps :
1111 - name : Configure AWS Credentials
12- uses : aws-actions/configure-aws-credentials@v1
12+ uses : aws-actions/configure-aws-credentials@v4
1313 with :
1414 aws-access-key-id : ${{ secrets.HABITAT_AWS_ACCESS_KEY }}
1515 aws-region : ${{ secrets.HABITAT_AWS_REGION }}
2727 runs-on : [self-hosted, cu113]
2828 steps :
2929 - name : Configure AWS Credentials
30- uses : aws-actions/configure-aws-credentials@v1
30+ uses : aws-actions/configure-aws-credentials@v4
3131 with :
3232 aws-access-key-id : ${{ secrets.HABITAT_AWS_ACCESS_KEY }}
3333 aws-region : ${{ secrets.HABITAT_AWS_REGION }}
@@ -42,28 +42,36 @@ jobs:
4242 ls -la
4343
4444 - name : Fetch repository
45- uses : actions/checkout@v3
46-
47- - name : Build Python3.7 wheel
48- run : |
49- ./build_scripts/build_wheel.sh python3.7
45+ uses : actions/checkout@v4
5046
5147 - name : Build Python3.8 wheel
5248 run : |
5349 ./build_scripts/build_wheel.sh python3.8
50+ env :
51+ CUDA_TAG : cu113
52+ EXTRA_REQUIRES : nvidia-cuda-cupti-cu11==11.7.101,nvidia-cuda-runtime-cu11==11.7.99
5453
5554 - name : Build Python3.9 wheel
5655 run : |
5756 ./build_scripts/build_wheel.sh python3.9
58-
57+ env :
58+ CUDA_TAG : cu113
59+ EXTRA_REQUIRES : nvidia-cuda-cupti-cu11==11.7.101,nvidia-cuda-runtime-cu11==11.7.99
60+
5961 - name : Build Python3.10 wheel
6062 run : |
6163 ./build_scripts/build_wheel.sh python3.10
62-
64+ env :
65+ CUDA_TAG : cu113
66+ EXTRA_REQUIRES : nvidia-cuda-cupti-cu11==11.7.101,nvidia-cuda-runtime-cu11==11.7.99
67+
6368 - name : Build Python3.11 wheel
6469 run : |
6570 ./build_scripts/build_wheel.sh python3.11
66-
71+ env :
72+ CUDA_TAG : cu113
73+ EXTRA_REQUIRES : nvidia-cuda-cupti-cu11==11.7.101,nvidia-cuda-runtime-cu11==11.7.99
74+
6775 - name : Upload wheels to S3
6876 run : |
6977 aws s3 cp analyzer/dist/ s3://centml-releases/habitat/wheels-cu113/ --recursive --exclude "*" --include "*.whl"
8290 runs-on : [self-hosted, cu116]
8391 steps :
8492 - name : Configure AWS Credentials
85- uses : aws-actions/configure-aws-credentials@v1
93+ uses : aws-actions/configure-aws-credentials@v4
8694 with :
8795 aws-access-key-id : ${{ secrets.HABITAT_AWS_ACCESS_KEY }}
8896 aws-region : ${{ secrets.HABITAT_AWS_REGION }}
@@ -97,33 +105,35 @@ jobs:
97105 ls -la
98106
99107 - name : Fetch repository
100- uses : actions/checkout@v3
101-
102- - name : Build Python3.7 wheel
103- run : |
104- ./build_scripts/build_wheel.sh python3.7
108+ uses : actions/checkout@v4
105109
106110 - name : Build Python3.8 wheel
107111 run : |
108112 ./build_scripts/build_wheel.sh python3.8
109-
113+ env :
114+ CUDA_TAG : cu116
115+ EXTRA_REQUIRES : nvidia-cuda-cupti-cu11==11.7.101,nvidia-cuda-runtime-cu11==11.7.99
116+
110117 - name : Build Python3.9 wheel
111118 run : |
112119 ./build_scripts/build_wheel.sh python3.9
113-
120+ env :
121+ CUDA_TAG : cu116
122+ EXTRA_REQUIRES : nvidia-cuda-cupti-cu11==11.7.101,nvidia-cuda-runtime-cu11==11.7.99
123+
114124 - name : Build Python3.10 wheel
115125 run : |
116126 ./build_scripts/build_wheel.sh python3.10
117-
127+ env :
128+ CUDA_TAG : cu116
129+ EXTRA_REQUIRES : nvidia-cuda-cupti-cu11==11.7.101,nvidia-cuda-runtime-cu11==11.7.99
130+
118131 - name : Build Python3.11 wheel
119132 run : |
120133 ./build_scripts/build_wheel.sh python3.11
121-
122- - name : Upload wheel artifact
123- uses : actions/upload-artifact@v3
124- with :
125- name : wheels-cu116
126- path : analyzer/dist/*.whl
134+ env :
135+ CUDA_TAG : cu116
136+ EXTRA_REQUIRES : nvidia-cuda-cupti-cu11==11.7.101,nvidia-cuda-runtime-cu11==11.7.99
127137
128138 - name : Upload wheels to S3
129139 run : |
@@ -143,7 +153,7 @@ jobs:
143153 runs-on : [self-hosted, cu117]
144154 steps :
145155 - name : Configure AWS Credentials
146- uses : aws-actions/configure-aws-credentials@v1
156+ uses : aws-actions/configure-aws-credentials@v4
147157 with :
148158 aws-access-key-id : ${{ secrets.HABITAT_AWS_ACCESS_KEY }}
149159 aws-region : ${{ secrets.HABITAT_AWS_REGION }}
@@ -158,27 +168,35 @@ jobs:
158168 ls -la
159169
160170 - name : Fetch repository
161- uses : actions/checkout@v3
162-
163- - name : Build Python3.7 wheel
164- run : |
165- ./build_scripts/build_wheel.sh python3.7
166-
171+ uses : actions/checkout@v4
172+
167173 - name : Build Python3.8 wheel
168174 run : |
169175 ./build_scripts/build_wheel.sh python3.8
176+ env :
177+ CUDA_TAG : cu117
178+ EXTRA_REQUIRES : nvidia-cuda-cupti-cu11==11.7.101,nvidia-cuda-runtime-cu11==11.7.99
170179
171180 - name : Build Python3.9 wheel
172181 run : |
173182 ./build_scripts/build_wheel.sh python3.9
183+ env :
184+ CUDA_TAG : cu117
185+ EXTRA_REQUIRES : nvidia-cuda-cupti-cu11==11.7.101,nvidia-cuda-runtime-cu11==11.7.99
174186
175187 - name : Build Python3.10 wheel
176188 run : |
177189 ./build_scripts/build_wheel.sh python3.10
178-
190+ env :
191+ CUDA_TAG : cu117
192+ EXTRA_REQUIRES : nvidia-cuda-cupti-cu11==11.7.101,nvidia-cuda-runtime-cu11==11.7.99
193+
179194 - name : Build Python3.11 wheel
180195 run : |
181196 ./build_scripts/build_wheel.sh python3.11
197+ env :
198+ CUDA_TAG : cu117
199+ EXTRA_REQUIRES : nvidia-cuda-cupti-cu11==11.7.101,nvidia-cuda-runtime-cu11==11.7.99
182200
183201 - name : Upload wheels to S3
184202 run : |
@@ -198,7 +216,7 @@ jobs:
198216 runs-on : [self-hosted, cu118]
199217 steps :
200218 - name : Configure AWS Credentials
201- uses : aws-actions/configure-aws-credentials@v1
219+ uses : aws-actions/configure-aws-credentials@v4
202220 with :
203221 aws-access-key-id : ${{ secrets.HABITAT_AWS_ACCESS_KEY }}
204222 aws-region : ${{ secrets.HABITAT_AWS_REGION }}
@@ -213,27 +231,35 @@ jobs:
213231 ls -la
214232
215233 - name : Fetch repository
216- uses : actions/checkout@v3
217-
218- - name : Build Python3.7 wheel
219- run : |
220- ./build_scripts/build_wheel.sh python3.7
234+ uses : actions/checkout@v4
221235
222236 - name : Build Python3.8 wheel
223237 run : |
224238 ./build_scripts/build_wheel.sh python3.8
239+ env :
240+ CUDA_TAG : cu118
241+ EXTRA_REQUIRES : nvidia-cuda-cupti-cu11==11.8.87,nvidia-cuda-runtime-cu11==11.8.89
225242
226243 - name : Build Python3.9 wheel
227244 run : |
228245 ./build_scripts/build_wheel.sh python3.9
246+ env :
247+ CUDA_TAG : cu118
248+ EXTRA_REQUIRES : nvidia-cuda-cupti-cu11==11.8.87,nvidia-cuda-runtime-cu11==11.8.89
229249
230250 - name : Build Python3.10 wheel
231251 run : |
232252 ./build_scripts/build_wheel.sh python3.10
253+ env :
254+ CUDA_TAG : cu118
255+ EXTRA_REQUIRES : nvidia-cuda-cupti-cu11==11.8.87,nvidia-cuda-runtime-cu11==11.8.89
233256
234257 - name : Build Python3.11 wheel
235258 run : |
236259 ./build_scripts/build_wheel.sh python3.11
260+ env :
261+ CUDA_TAG : cu118
262+ EXTRA_REQUIRES : nvidia-cuda-cupti-cu11==11.8.87,nvidia-cuda-runtime-cu11==11.8.89
237263
238264 - name : Upload wheels to S3
239265 run : |
@@ -253,7 +279,7 @@ jobs:
253279 runs-on : [self-hosted, cu121]
254280 steps :
255281 - name : Configure AWS Credentials
256- uses : aws-actions/configure-aws-credentials@v1
282+ uses : aws-actions/configure-aws-credentials@v4
257283 with :
258284 aws-access-key-id : ${{ secrets.HABITAT_AWS_ACCESS_KEY }}
259285 aws-region : ${{ secrets.HABITAT_AWS_REGION }}
@@ -268,28 +294,32 @@ jobs:
268294 ls -la
269295
270296 - name : Fetch repository
271- uses : actions/checkout@v3
272-
273- - name : Build Python3.7 wheel
274- run : |
275- ./build_scripts/build_wheel.sh python3.7
297+ uses : actions/checkout@v4
276298
277299 - name : Build Python3.8 wheel
278300 run : |
279301 ./build_scripts/build_wheel.sh python3.8
302+ env :
303+ CUDA_TAG : cu121
280304
281305 - name : Build Python3.9 wheel
282306 run : |
283307 ./build_scripts/build_wheel.sh python3.9
308+ env :
309+ CUDA_TAG : cu121
284310
285311 - name : Build Python3.10 wheel
286312 run : |
287313 ./build_scripts/build_wheel.sh python3.10
288-
314+ env :
315+ CUDA_TAG : cu121
316+
289317 - name : Build Python3.11 wheel
290318 run : |
291319 ./build_scripts/build_wheel.sh python3.11
292-
320+ env :
321+ CUDA_TAG : cu121
322+
293323 - name : Upload wheels to S3
294324 run : |
295325 aws s3 cp analyzer/dist/ s3://centml-releases/habitat/wheels-cu121/ --recursive --exclude "*" --include "*.whl"
0 commit comments