55
66jobs :
77 create-habitat-index-html :
8- needs : [whl-build-cu118, whl-build-cu121]
8+ needs : [whl-build-cu118, whl-build-cu121, whl-build-cu124 ]
99 runs-on : [self-hosted]
1010 steps :
1111 - name : Configure AWS Credentials
1717
1818 - name : Create index.html
1919 run : |
20- python3 /home/builduser/create_index.py habitat -f wheels-cu113 wheels-cu116 wheels-cu117 wheels-cu118 wheels-cu121
20+ python3 /home/builduser/create_index.py habitat -f wheels-cu118 wheels-cu121 wheels-cu124
2121 - name : Upload to S3
2222 run : |
2323 aws s3 cp index.html s3://centml-releases/habitat/
@@ -138,4 +138,61 @@ jobs:
138138 python3 /home/builduser/create_index.py habitat_cu121 -f $formatted_file_list
139139 - name : Upload index.html to S3
140140 run : |
141- aws s3 cp index.html s3://centml-releases/habitat/wheels-cu121/
141+ aws s3 cp index.html s3://centml-releases/habitat/wheels-cu121/
142+
143+ whl-build-cu124 :
144+ runs-on : [self-hosted, cu124]
145+ steps :
146+ - name : Configure AWS Credentials
147+ uses : aws-actions/configure-aws-credentials@v4
148+ with :
149+ aws-access-key-id : ${{ secrets.HABITAT_AWS_ACCESS_KEY }}
150+ aws-region : ${{ secrets.HABITAT_AWS_REGION }}
151+ aws-secret-access-key : ${{ secrets.HABITAT_AWS_SECRET_ACCESS_KEY }}
152+
153+ - name : Display host information
154+ run : |
155+ uname -a
156+ hostname
157+ pwd
158+ id
159+ ls -la
160+ - name : Fetch repository
161+ uses : actions/checkout@v4
162+
163+ - name : Build Python3.8 wheel
164+ run : |
165+ ./build_scripts/build_wheel.sh python3.8
166+ env :
167+ VERSION_CUDA_TAG : cu124
168+
169+ - name : Build Python3.9 wheel
170+ run : |
171+ ./build_scripts/build_wheel.sh python3.9
172+ env :
173+ VERSION_CUDA_TAG : cu124
174+
175+ - name : Build Python3.10 wheel
176+ run : |
177+ ./build_scripts/build_wheel.sh python3.10
178+ env :
179+ VERSION_CUDA_TAG : cu124
180+
181+ - name : Build Python3.11 wheel
182+ run : |
183+ ./build_scripts/build_wheel.sh python3.11
184+ env :
185+ VERSION_CUDA_TAG : cu124
186+
187+ - name : Upload wheels to S3
188+ run : |
189+ aws s3 cp analyzer/dist/ s3://centml-releases/habitat/wheels-cu124/ --recursive --exclude "*" --include "*.whl"
190+
191+ - name : Create index.html
192+ run : |
193+ file_list=(analyzer/dist/*.whl)
194+ formatted_file_list=$(basename -a ${file_list[@]})
195+ python3 /home/builduser/create_index.py habitat_cu124 -f $formatted_file_list
196+ - name : Upload index.html to S3
197+ run : |
198+ aws s3 cp index.html s3://centml-releases/habitat/wheels-cu124/
0 commit comments