Bump axios from 1.8.2 to 1.12.0 in /visualization-vue/djl-training-ui… #495
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Canary-GPU | ||
|
Check failure on line 1 in .github/workflows/canary-gpu.yml
|
||
| on: | ||
| workflow_call: | ||
| inputs: | ||
| repo-id: | ||
| description: 'staging repository id to test' | ||
| required: false | ||
| type: string | ||
| default: '' | ||
| djl-version: | ||
| description: 'djl version to test' | ||
| type: string | ||
| required: false | ||
| pt-version: | ||
| description: 'pytorch version to test' | ||
| type: string | ||
| required: false | ||
| default: '' | ||
| workflow_dispatch: | ||
| inputs: | ||
| repo-id: | ||
| description: 'staging repository id to test' | ||
| required: false | ||
| default: '' | ||
| djl-version: | ||
| description: 'djl version to test' | ||
| required: false | ||
| pt-version: | ||
| description: 'pytorch version to test' | ||
| required: false | ||
| default: '' | ||
| jobs: | ||
| canary-test-cuda113: | ||
| if: github.repository == 'deepjavalibrary/djl-demo' | ||
| runs-on: [ self-hosted, gpu ] | ||
| container: | ||
| image: nvidia/cuda:11.3.1-cudnn8-runtime-ubuntu20.04 | ||
| options: --gpus all --runtime=nvidia | ||
| env: | ||
| AWS_REGION: us-east-1 | ||
| DJL_STAGING: ${{github.event.inputs.repo-id}} | ||
| DJL_VERSION: ${{github.event.inputs.djl-version}} | ||
| PT_VERSION: ${{github.event.inputs.pt-version}} | ||
| timeout-minutes: 30 | ||
| needs: create-gpu-runner | ||
| steps: | ||
| - name: Setup Environment | ||
| run: | | ||
| apt-get update | ||
| apt-get install -y libgomp1 | ||
| - uses: actions/checkout@v3 | ||
| - name: Set up JDK 17 | ||
| uses: actions/setup-java@v3 | ||
| with: | ||
| java-version: 17 | ||
| distribution: corretto | ||
| - name: Test MXNet | ||
| working-directory: canary | ||
| run: | | ||
| set -x | ||
| DJL_ENGINE=mxnet-native-auto ./gradlew clean run | ||
| rm -rf /root/.djl.ai/ | ||
| DJL_ENGINE=mxnet-native-mkl ./gradlew clean run | ||
| rm -rf /root/.djl.ai/ | ||
| - name: Test PyTorch | ||
| working-directory: canary | ||
| run: | | ||
| set -x | ||
| DJL_ENGINE=pytorch-native-auto PYTORCH_VERSION=$PT_VERSION ./gradlew clean run | ||
| rm -rf /root/.djl.ai/ | ||
| - name: Test Tensorflow | ||
| working-directory: canary | ||
| run: | | ||
| set -x | ||
| DJL_ENGINE=tensorflow-native-auto ./gradlew clean run | ||
| rm -rf /root/.djl.ai/ | ||
| DJL_ENGINE=tensorflow-native-cpu ./gradlew clean run | ||
| rm -rf /root/.djl.ai/ | ||
| - name: Test Xgboost GPU | ||
| working-directory: canary | ||
| run: | | ||
| set -x | ||
| DJL_ENGINE=xgboost-gpu PYTORCH_VERSION=1.13.1 ./gradlew clean run | ||
| rm -rf /root/.djl.ai/ | ||
| canary-test-cuda128: | ||
| if: github.repository == 'deepjavalibrary/djl-demo' | ||
| runs-on: [ self-hosted, gpu ] | ||
| container: | ||
| image: nvidia/cuda:12.8.1-devel-ubuntu22.04 | ||
| options: --gpus all --runtime=nvidia | ||
| env: | ||
| AWS_REGION: us-east-1 | ||
| DJL_STAGING: ${{github.event.inputs.repo-id}} | ||
| DJL_VERSION: ${{github.event.inputs.djl-version}} | ||
| PT_VERSION: ${{github.event.inputs.pt-version}} | ||
| timeout-minutes: 60 | ||
| needs: create-gpu-runner | ||
| steps: | ||
| - name: Setup Environment | ||
| run: | | ||
| apt-get update | ||
| apt-get install -y libgomp1 libibverbs-dev librdmacm1 | ||
| - uses: actions/checkout@v3 | ||
| - name: Set up JDK 17 | ||
| uses: actions/setup-java@v3 | ||
| with: | ||
| java-version: 17 | ||
| distribution: corretto | ||
| - name: Test MXNet | ||
| working-directory: canary | ||
| run: | | ||
| set -x | ||
| DJL_ENGINE=mxnet-native-auto ./gradlew clean run | ||
| rm -rf /root/.djl.ai/ | ||
| DJL_ENGINE=mxnet-native-mkl ./gradlew clean run | ||
| rm -rf /root/.djl.ai/ | ||
| - name: Test PyTorch | ||
| working-directory: canary | ||
| run: | | ||
| set -x | ||
| DJL_ENGINE=pytorch-native-auto PYTORCH_VERSION=$PT_VERSION ./gradlew clean run | ||
| rm -rf /root/.djl.ai/ | ||
| DJL_ENGINE=pytorch-native-auto PYTORCH_VERSION=2.5.1 ./gradlew clean run | ||
| rm -rf /root/.djl.ai/ | ||
| DJL_ENGINE=pytorch-native-auto PYTORCH_VERSION=2.7.1 ./gradlew clean run | ||
| rm -rf /root/.djl.ai/ | ||
| DJL_ENGINE=pytorch-native-auto PYTORCH_PRECXX11=true PYTORCH_VERSION=2.5.1 ./gradlew clean run | ||
| rm -rf /root/.djl.ai/ | ||
| DJL_ENGINE=pytorch-native-cpu ./gradlew clean run | ||
| rm -rf /root/.djl.ai/ | ||
| # DJL_ENGINE=pytorch-native-cu128 ./gradlew clean run | ||
| # rm -rf /root/.djl.ai/ | ||
| DJL_ENGINE=pytorch-native-cu124 PT_VERSION=2.5.1 ./gradlew clean run | ||
| rm -rf /root/.djl.ai/ | ||
| DJL_ENGINE=pytorch-native-cu124-precxx11 PT_VERSION=2.5.1 ./gradlew clean run | ||
| rm -rf /root/.djl.ai/ | ||
| # DJL_ENGINE=pytorch-native-cu128 PT_VERSION=2.7.1 ./gradlew clean run | ||
| # rm -rf /root/.djl.ai/ | ||
| - name: Test Xgboost GPU | ||
| working-directory: canary | ||
| run: | | ||
| set -x | ||
| DJL_ENGINE=xgboost-gpu ./gradlew clean run | ||
| rm -rf /root/.djl.ai/ | ||
| create-gpu-runner: | ||
| if: github.repository == 'deepjavalibrary/djl-demo' | ||
| runs-on: [ self-hosted, scheduler ] | ||
| steps: | ||
| - name: Create new GPU instance | ||
| id: create_gpu | ||
| run: | | ||
| cd /home/ubuntu/djl_benchmark_script/scripts | ||
| token=$( curl -X POST -H "Authorization: token ${{ secrets.ACTION_RUNNER_PERSONAL_TOKEN }}" \ | ||
| https://api.github.com/repos/deepjavalibrary/djl-demo/actions/runners/registration-token \ | ||
| --fail \ | ||
| | jq '.token' | tr -d '"' ) | ||
| ./start_instance.sh action_gpu $token djl-demo | ||
| outputs: | ||
| gpu_instance_id: ${{ steps.create_gpu.outputs.action_gpu_instance_id }} | ||
| stop-runners: | ||
| if: always() | ||
| runs-on: [ self-hosted, scheduler ] | ||
| needs: [ create-gpu-runner, canary-test-cuda113, canary-test-cuda121, canary-test-cuda124 ] | ||
| steps: | ||
| - name: Stop all instances | ||
| run: | | ||
| cd /home/ubuntu/djl_benchmark_script/scripts | ||
| instance_id=${{ needs.create-gpu-runner.outputs.gpu_instance_id }} | ||
| ./stop_instance.sh $instance_id | ||