From 9f5f8ed343ae2467e063f7717eb915f4b6c57528 Mon Sep 17 00:00:00 2001 From: Frank Liu Date: Wed, 31 Jul 2024 16:41:00 -0700 Subject: [PATCH] [ci] Updates nightly publish for PyTorch 2.4.0 (#3373) --- .github/workflows/nightly_publish.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/nightly_publish.yml b/.github/workflows/nightly_publish.yml index 3524f399263..529c65f8413 100644 --- a/.github/workflows/nightly_publish.yml +++ b/.github/workflows/nightly_publish.yml @@ -119,7 +119,7 @@ jobs: # ./gradlew :integration:test "-Dai.djl.default_engine=OnnxRuntime" # ./gradlew :integration:clean - test-cuda-121: + test-cuda-124: if: github.repository == 'deepjavalibrary/djl' runs-on: [ self-hosted, gpu ] container: @@ -158,7 +158,7 @@ jobs: publish: if: github.repository == 'deepjavalibrary/djl' runs-on: ubuntu-latest - needs: [ build, test-pytorch, test-tensorflow, test-aarch64, test-cuda-121 ] + needs: [ build, test-pytorch, test-tensorflow, test-aarch64, test-cuda-124 ] steps: - uses: actions/checkout@v4 - name: Set up JDK 17 @@ -178,8 +178,8 @@ jobs: run: | ./gradlew clean engines:pytorch:pytorch-jni:publish -Ppt_version=1.13.1 -Psnapshot ./gradlew clean engines:pytorch:pytorch-jni:publish -Ppt_version=2.1.2 -Psnapshot - ./gradlew clean engines:pytorch:pytorch-jni:publish -Ppt_version=2.2.2 -Psnapshot ./gradlew clean engines:pytorch:pytorch-jni:publish -Ppt_version=2.3.1 -Psnapshot + ./gradlew clean engines:pytorch:pytorch-jni:publish -Ppt_version=2.4.0 -Psnapshot ./gradlew clean engines:ml:xgboost:publish -Pgpu -Psnapshot ./gradlew clean publish -Psnapshot cd bom @@ -194,8 +194,8 @@ jobs: run: | ./gradlew clean engines:pytorch:pytorch-jni:publish -Ppt_version=1.13.1 -P${{ github.event.inputs.mode }} ./gradlew clean engines:pytorch:pytorch-jni:publish -Ppt_version=2.1.2 -P${{ github.event.inputs.mode }} - ./gradlew clean engines:pytorch:pytorch-jni:publish -Ppt_version=2.2.2 -P${{ github.event.inputs.mode }} ./gradlew clean engines:pytorch:pytorch-jni:publish -Ppt_version=2.3.1 -P${{ github.event.inputs.mode }} + ./gradlew clean engines:pytorch:pytorch-jni:publish -Ppt_version=2.4.0 -P${{ github.event.inputs.mode }} ./gradlew clean engines:ml:xgboost:publish -Pgpu -P${{ github.event.inputs.mode }} ./gradlew clean publish -P${{ github.event.inputs.mode }} cd bom @@ -241,7 +241,7 @@ jobs: stop-runners: if: ${{ github.repository == 'deepjavalibrary/djl' && always() }} runs-on: [ self-hosted, scheduler ] - needs: [ create-runners, test-aarch64, test-cuda-121 ] + needs: [ create-runners, test-aarch64, test-cuda-124 ] steps: - name: Stop all instances run: |