@@ -277,8 +277,69 @@ jobs:
277
277
done
278
278
done
279
279
280
+ test-nightly-build :
281
+ needs : [setup, build-flashinfer-python, build-flashinfer-cubin, build-flashinfer-jit-cache]
282
+ strategy :
283
+ fail-fast : false
284
+ matrix :
285
+ cuda : ["12.9", "13.0"]
286
+ test-shard : [1, 2, 3, 4, 5]
287
+ runs-on : [self-hosted, G5, X64]
288
+
289
+ steps :
290
+ - name : Display Machine Information
291
+ run : |
292
+ echo "CPU: $(nproc) cores, $(lscpu | grep 'Model name' | cut -d':' -f2 | xargs)"
293
+ echo "RAM: $(free -h | awk '/^Mem:/ {print $7 " available out of " $2}')"
294
+ echo "Disk: $(df -h / | awk 'NR==2 {print $4 " available out of " $2}')"
295
+ echo "Architecture: $(uname -m)"
296
+ nvidia-smi
297
+
298
+ - name : Checkout code
299
+ uses : actions/checkout@v4
300
+ with :
301
+ submodules : true
302
+
303
+ - name : Set up Python
304
+ uses : actions/setup-python@v5
305
+ with :
306
+ python-version : ' 3.10'
307
+
308
+ - name : Download flashinfer-python artifact
309
+ uses : actions/download-artifact@v4
310
+ with :
311
+ name : flashinfer-python-sdist
312
+ path : dist-python/
313
+
314
+ - name : Download flashinfer-cubin artifact
315
+ uses : actions/download-artifact@v4
316
+ with :
317
+ name : flashinfer-cubin-wheel
318
+ path : dist-cubin/
319
+
320
+ - name : Download flashinfer-jit-cache artifact
321
+ uses : actions/download-artifact@v4
322
+ with :
323
+ name : jit-cache-cu${{ matrix.cuda == '12.9' && '129' || '130' }}-x86_64
324
+ path : dist-jit-cache/
325
+
326
+ - name : Get Docker image tag
327
+ id : docker-tag
328
+ run : |
329
+ CUDA_VERSION="cu${{ matrix.cuda == '12.9' && '129' || '130' }}"
330
+ DOCKER_TAG=$(grep "flashinfer/flashinfer-ci-${CUDA_VERSION}" ci/docker-tags.yml | cut -d':' -f2 | tr -d ' ')
331
+ echo "cuda_version=${CUDA_VERSION}" >> $GITHUB_OUTPUT
332
+ echo "tag=${DOCKER_TAG}" >> $GITHUB_OUTPUT
333
+
334
+ - name : Run nightly build tests in Docker (shard ${{ matrix.test-shard }})
335
+ env :
336
+ CUDA_VISIBLE_DEVICES : 0
337
+ run : |
338
+ DOCKER_IMAGE="flashinfer/flashinfer-ci-${{ steps.docker-tag.outputs.cuda_version }}:${{ steps.docker-tag.outputs.tag }}"
339
+ bash ci/bash.sh ${DOCKER_IMAGE} -e TEST_SHARD ${{ matrix.test-shard }} ./scripts/task_test_nightly_build.sh
340
+
280
341
update-wheel-index :
281
- needs : [setup, create-release]
342
+ needs : [setup, create-release, test-nightly-build ]
282
343
runs-on : ubuntu-latest
283
344
steps :
284
345
- name : Checkout flashinfer repo
0 commit comments