@@ -176,7 +176,7 @@ jobs:
176
176
with :
177
177
ref : ${{ github.event.pull_request.head.sha }}
178
178
repository : ${{github.event.pull_request.head.repo.full_name}}
179
- - uses : Oneflow-Inc/get-oneflow/cache-complete/matrix/build@refactor-versions-wheels
179
+ - uses : Oneflow-Inc/get-oneflow/cache-complete/matrix/build@ci-test-with-cu118
180
180
name : find cache
181
181
id : find-cache
182
182
timeout-minutes : 5
@@ -188,7 +188,7 @@ jobs:
188
188
builder
189
189
oneflow-src : ${{ env.ONEFLOW_SRC }}
190
190
entries : |
191
- cu116
191
+ cu118
192
192
cpu
193
193
cpu-asan-ubsan
194
194
cpu-tsan
@@ -223,7 +223,7 @@ jobs:
223
223
with :
224
224
ref : ${{ github.event.pull_request.head.sha }}
225
225
repository : ${{github.event.pull_request.head.repo.full_name}}
226
- - uses : Oneflow-Inc/get-oneflow/cache-complete@refactor-versions-wheels
226
+ - uses : Oneflow-Inc/get-oneflow/cache-complete@ci-test-with-cu118
227
227
name : Save cache if successful
228
228
id : save-cache
229
229
timeout-minutes : 5
@@ -237,7 +237,7 @@ jobs:
237
237
run : |
238
238
echo "::error file=test.yml,line=204,col=10::steps.save-cache.outputs.cache-hit != matrix.cache-hit"
239
239
exit 1
240
- - uses : Oneflow-Inc/get-oneflow@refactor-versions-wheels
240
+ - uses : Oneflow-Inc/get-oneflow@ci-test-with-cu118
241
241
name : Build manylinux ${{ matrix.entry }}
242
242
id : build-cpu
243
243
if : ${{ matrix.entry =='cpu' && !matrix.cache-hit }}
@@ -259,7 +259,7 @@ jobs:
259
259
python-versions : |
260
260
3.7
261
261
3.8
262
- - uses : Oneflow-Inc/get-oneflow@refactor-versions-wheels
262
+ - uses : Oneflow-Inc/get-oneflow@ci-test-with-cu118
263
263
name : Build manylinux ${{ matrix.entry }}
264
264
id : build-cpu-sanitizers
265
265
if : ${{ (matrix.entry == 'cpu-asan-ubsan' || matrix.entry == 'cpu-tsan') && !matrix.cache-hit && false }}
@@ -280,10 +280,10 @@ jobs:
280
280
clean-ccache : ${{ contains(github.event.pull_request.labels.*.name, 'need-clean-ccache') }}
281
281
python-versions : |
282
282
3.8
283
- - uses : Oneflow-Inc/get-oneflow@refactor-versions-wheels
283
+ - uses : Oneflow-Inc/get-oneflow@ci-test-with-cu118
284
284
name : Build manylinux ${{ matrix.entry }}
285
285
id : build-cuda
286
- if : ${{ matrix.entry =='cu116 ' && !matrix.cache-hit }}
286
+ if : ${{ matrix.entry =='cu118 ' && !matrix.cache-hit }}
287
287
with :
288
288
cmake-init-cache : ${{ env.ONEFLOW_SRC }}/cmake/caches/ci/cuda.cmake
289
289
build-script : ${{ env.ONEFLOW_SRC }}/ci/manylinux/build-gcc9.sh
@@ -292,15 +292,15 @@ jobs:
292
292
wheelhouse-dir : ${{ env.WHEELHOUSE_DIR }}
293
293
clear-wheelhouse-dir : true
294
294
self-hosted : ${{ contains(matrix.runs-on, 'self-hosted') }}
295
- cuda-version : " 11.6 "
295
+ cuda-version : " 11.8 "
296
296
manylinux-cache-dir : ${{ env.MANYLINUX_CACHE_DIR }}
297
297
docker-run-use-system-http-proxy : false
298
298
docker-run-use-lld : false
299
299
retry-failed-build : true
300
300
clean-ccache : ${{ contains(github.event.pull_request.labels.*.name, 'need-clean-ccache') }}
301
301
python-versions : |
302
302
3.7
303
- - uses : Oneflow-Inc/get-oneflow@refactor-versions-wheels
303
+ - uses : Oneflow-Inc/get-oneflow@ci-test-with-cu118
304
304
name : Build ${{ matrix.entry }}
305
305
if : ${{ matrix.entry == 'llvm15' && !matrix.cache-hit }}
306
306
with :
@@ -339,7 +339,7 @@ jobs:
339
339
})
340
340
- name : Upload packed liboneflow
341
341
if : ${{ !fromJson(matrix.cache-hit) && matrix.entry != 'llvm15' && matrix.entry != 'cpu-asan-ubsan' && matrix.entry != 'cpu-tsan' }}
342
- uses : Oneflow-Inc/get-oneflow/digest/upload@refactor-versions-wheels
342
+ uses : Oneflow-Inc/get-oneflow/digest/upload@ci-test-with-cu118
343
343
timeout-minutes : 10
344
344
with :
345
345
digest : ${{ steps.save-cache.outputs.build-digest }}
@@ -350,7 +350,7 @@ jobs:
350
350
dst-dir : cpack
351
351
- name : Upload whl
352
352
if : ${{ !fromJson(matrix.cache-hit) && matrix.entry != 'llvm15' && matrix.entry != 'cpu-asan-ubsan' && matrix.entry != 'cpu-tsan' }}
353
- uses : Oneflow-Inc/get-oneflow/digest/upload@refactor-versions-wheels
353
+ uses : Oneflow-Inc/get-oneflow/digest/upload@ci-test-with-cu118
354
354
timeout-minutes : 10
355
355
with :
356
356
digest : ${{ steps.save-cache.outputs.build-digest }}
@@ -375,7 +375,7 @@ jobs:
375
375
with :
376
376
ref : ${{ github.event.pull_request.head.sha }}
377
377
repository : ${{github.event.pull_request.head.repo.full_name}}
378
- - uses : Oneflow-Inc/get-oneflow/cache-complete/matrix/test@refactor-versions-wheels
378
+ - uses : Oneflow-Inc/get-oneflow/cache-complete/matrix/test@ci-test-with-cu118
379
379
name : find cache
380
380
id : find-cache
381
381
timeout-minutes : 5
@@ -406,7 +406,7 @@ jobs:
406
406
with :
407
407
ref : ${{ github.event.pull_request.head.sha }}
408
408
repository : ${{github.event.pull_request.head.repo.full_name}}
409
- - uses : Oneflow-Inc/get-oneflow/cache-complete/matrix/test@refactor-versions-wheels
409
+ - uses : Oneflow-Inc/get-oneflow/cache-complete/matrix/test@ci-test-with-cu118
410
410
name : find cache
411
411
id : find-cache
412
412
timeout-minutes : 5
@@ -488,7 +488,7 @@ jobs:
488
488
if : ${{ contains(matrix.runs-on, 'self-hosted') }}
489
489
run : |
490
490
docker rm -f ${{ env.TEST_CONTAINER_NAME }} || true
491
- - uses : Oneflow-Inc/get-oneflow/cache-complete@refactor-versions-wheels
491
+ - uses : Oneflow-Inc/get-oneflow/cache-complete@ci-test-with-cu118
492
492
name : Save cache if successful
493
493
id : save-cache
494
494
timeout-minutes : 5
@@ -504,7 +504,7 @@ jobs:
504
504
exit 1
505
505
- name : Download wheel and packed liboneflow
506
506
if : ${{ !fromJson(matrix.cache-hit) && contains(matrix.runs-on, 'self-hosted') }}
507
- uses : Oneflow-Inc/get-oneflow/digest/download@refactor-versions-wheels
507
+ uses : Oneflow-Inc/get-oneflow/digest/download@ci-test-with-cu118
508
508
id : download-digest
509
509
timeout-minutes : 10
510
510
with :
@@ -514,7 +514,7 @@ jobs:
514
514
ssh-tank-path : ${{ env.SSH_TANK_PATH }}
515
515
- name : Get primary node
516
516
if : ${{ !fromJson(matrix.cache-hit) && contains(matrix.runs-on, 'self-hosted') }}
517
- uses : Oneflow-Inc/get-oneflow/master-address@refactor-versions-wheels
517
+ uses : Oneflow-Inc/get-oneflow/master-address@ci-test-with-cu118
518
518
id : get-primary-node
519
519
with :
520
520
rank : ${{ matrix.rank }}
@@ -650,7 +650,7 @@ jobs:
650
650
TEST_CONTAINER_NAME : " pr-${{ github.event.pull_request.number }}-run-id-${{ github.run_id }}-${{ matrix.entry }}-test"
651
651
TEST_MANYLINUX_CONTAINER_NAME : " pr-${{ github.event.pull_request.number }}-run-id-${{ github.run_id }}-${{ matrix.entry }}-test-manylinux"
652
652
TEST_WITH_TF_IMG_TAG : registry.cn-beijing.aliyuncs.com/oneflow/test-with-tf-2.3.0:2f831e9354298a11447578e869d983959feb046f
653
- TEST_MANYLINUX_IMG_TAG : registry.cn-beijing.aliyuncs.com/oneflow/manylinux2014_x86_64_cuda11.6:328e477069c80035adb3cd4db9632997e6284edd
653
+ TEST_MANYLINUX_IMG_TAG : registry.cn-beijing.aliyuncs.com/oneflow/manylinux2014_x86_64_cuda11.8:6455f9b8154333333e6285fde3747aaac4a92929
654
654
METRICS_DIR : metrics
655
655
steps :
656
656
- name : Set proxy
@@ -718,7 +718,7 @@ jobs:
718
718
if : ${{ contains(matrix.runs-on, 'self-hosted') }}
719
719
run : |
720
720
docker rm -f ${{ env.TEST_MANYLINUX_CONTAINER_NAME }} || true
721
- - uses : Oneflow-Inc/get-oneflow/cache-complete@refactor-versions-wheels
721
+ - uses : Oneflow-Inc/get-oneflow/cache-complete@ci-test-with-cu118
722
722
name : Save cache if successful
723
723
id : save-cache
724
724
timeout-minutes : 5
@@ -734,7 +734,7 @@ jobs:
734
734
exit 1
735
735
- name : Download wheel and packed liboneflow
736
736
if : ${{ !fromJson(matrix.cache-hit) && contains(matrix.runs-on, 'self-hosted') }}
737
- uses : Oneflow-Inc/get-oneflow/digest/download@refactor-versions-wheels
737
+ uses : Oneflow-Inc/get-oneflow/digest/download@ci-test-with-cu118
738
738
id : download-digest
739
739
timeout-minutes : 10
740
740
with :
@@ -744,7 +744,7 @@ jobs:
744
744
ssh-tank-path : ${{ env.SSH_TANK_PATH }}
745
745
- name : Download ASAN and UBSAN wheel and packed liboneflow
746
746
if : ${{ !fromJson(matrix.cache-hit) && contains(matrix.runs-on, 'self-hosted') && matrix.device == 'cpu' && false }}
747
- uses : Oneflow-Inc/get-oneflow/digest/download@refactor-versions-wheels
747
+ uses : Oneflow-Inc/get-oneflow/digest/download@ci-test-with-cu118
748
748
id : asan-ubsan-download-digest
749
749
timeout-minutes : 10
750
750
with :
@@ -754,7 +754,7 @@ jobs:
754
754
ssh-tank-path : ${{ env.SSH_TANK_PATH }}
755
755
- name : Download TSAN wheel and packed liboneflow
756
756
if : ${{ !fromJson(matrix.cache-hit) && contains(matrix.runs-on, 'self-hosted') && matrix.device == 'cpu' && false }}
757
- uses : Oneflow-Inc/get-oneflow/digest/download@refactor-versions-wheels
757
+ uses : Oneflow-Inc/get-oneflow/digest/download@ci-test-with-cu118
758
758
id : tsan-download-digest
759
759
timeout-minutes : 10
760
760
with :
@@ -902,7 +902,7 @@ jobs:
902
902
run : |
903
903
ls ${ONEFLOW_WHEEL_PATH}
904
904
docker exec ${TEST_CONTAINER_NAME} python3 -m pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
905
- docker exec ${TEST_CONTAINER_NAME} python3 -m pip install --find-links=${ONEFLOW_WHEEL_PATH} oneflow
905
+ docker exec ${TEST_CONTAINER_NAME} python3 -m pip install -U - -find-links=${ONEFLOW_WHEEL_PATH} oneflow
906
906
- name : Install downstream libs
907
907
if : ${{ !fromJson(matrix.cache-hit) && contains(matrix.runs-on, 'self-hosted') }}
908
908
run : |
@@ -1080,7 +1080,7 @@ jobs:
1080
1080
- name : Benchmark Test
1081
1081
timeout-minutes : 100
1082
1082
if : ${{ !fromJson(matrix.cache-hit) && matrix.test-type == 'benchmark' && matrix.device == 'cuda' }}
1083
- uses : Oneflow-Inc/get-oneflow/pytest-benchmark@refactor-versions-wheels
1083
+ uses : Oneflow-Inc/get-oneflow/pytest-benchmark@ci-test-with-cu118
1084
1084
with :
1085
1085
collect-path : ${{ env.FLOW_VISION_SRC }}/benchmark
1086
1086
container-name : ${{ env.TEST_CONTAINER_NAME }}
@@ -1141,7 +1141,7 @@ jobs:
1141
1141
ref : ${{ github.event.pull_request.head.sha }}
1142
1142
repository : ${{github.event.pull_request.head.repo.full_name}}
1143
1143
fetch-depth : 0
1144
- - uses : Oneflow-Inc/get-oneflow/cache-complete@refactor-versions-wheels
1144
+ - uses : Oneflow-Inc/get-oneflow/cache-complete@ci-test-with-cu118
1145
1145
name : Save cache if successful
1146
1146
id : save-cache
1147
1147
timeout-minutes : 5
0 commit comments