Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add algebraic logging #2965

Open
wants to merge 104 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
104 commits
Select commit Hold shift + click to select a range
950340f
To support Yolov8 (#2776)
SidneyLann Sep 20, 2023
da15713
[onnxruntime] Upgrades OnnxRuntime to 1.16.0 (#2784)
frankfliu Sep 21, 2023
15fd0d0
build ft for sm90 (#2785)
rohithkrn Sep 25, 2023
963332d
PtndArrayEx.multiboxDetection() implementation (#2769)
juliangamble Sep 28, 2023
3a90d0a
Updates LightGBM to 1.7.6 (#2793)
zachgk Sep 29, 2023
8fd79db
Revert "Updates LightGBM to 1.7.6 (#2793)" (#2796)
zachgk Sep 29, 2023
27c6a57
[tokenizer] Allows import non-english model (#2797)
frankfliu Oct 2, 2023
d432a65
allow to just build for 1 flow (#2798)
lanking520 Oct 6, 2023
458933c
[api] Fixed NDList decode numpy file bug (#2804)
frankfliu Oct 12, 2023
2f4ebee
[api] Allows cancel Input (#2805)
frankfliu Oct 13, 2023
90059cd
[ci] Fixes out of diskspace issue (#2808)
frankfliu Oct 17, 2023
298ea1f
[docs] Fixes markdown headers (#2812)
zachgk Oct 18, 2023
f0b4334
Bump up DJL version to 0.25.0 (#2809)
frankfliu Oct 19, 2023
fe86680
add gpu flag build for triton client (#2815)
lanking520 Oct 23, 2023
1c5aef8
[xgb] Add .xgb file extension support (#2810)
frankfliu Oct 23, 2023
23e07cf
[tokenizers] Upgrade huggingface tokenizers to 1.14.1 (#2818)
frankfliu Oct 23, 2023
85d9e85
[huggingface] Adds CrossEncoderTranslator (#2817)
frankfliu Oct 23, 2023
0b6474f
[api] Added Early stopping configuration (#38) (#2806)
jagodevreede Oct 24, 2023
185981b
Creates MultiDevice (#2819)
zachgk Oct 25, 2023
7d68857
Update README with release update (#2823)
zachgk Oct 27, 2023
3927867
[api] Replace double-check singlton with lazy initialization (#2826)
frankfliu Oct 30, 2023
9b0c8c9
[api] Refactor PublisherBytesSupplier.java (#2831)
frankfliu Oct 31, 2023
6981d76
Updates doc versions to 0.24.0 (#2829)
zachgk Nov 3, 2023
715e620
Updates XGBoost to 2.0.1 (#2833)
zachgk Nov 4, 2023
9f55189
[tokenizer] Fixes tokenizer bug (#2843)
frankfliu Nov 8, 2023
f84d3bb
Add erf and atan2 (#2842)
TalGrbr Nov 9, 2023
f39640c
Add FFT2 and FFT2 inverse (#2845)
TalGrbr Nov 13, 2023
8f6ff7c
only build triton binaries (#2847)
lanking520 Nov 15, 2023
e8ceef3
[tokenizer] Update import script for huggingface_hub api change (#2850)
frankfliu Nov 15, 2023
e315554
[docs] Update serving configuration nav (#2853)
zachgk Nov 15, 2023
062d395
[tokenizer] Not returns overflow tokens by default (#2857)
frankfliu Nov 17, 2023
a30f133
Fixes archiveBaseName in native builds (#2859)
zachgk Nov 20, 2023
ccb932d
Updates DJL version to 0.25.0 (#2860)
frankfliu Nov 20, 2023
8da4287
Bump up DJL version to 0.26.0 (#2861)
frankfliu Nov 20, 2023
b5e5100
update master branch on the website to have large model inference gui…
lanking520 Nov 20, 2023
5a9191e
[pytorch] Updates PyTorch engine to 2.1.1 (#2864)
frankfliu Nov 21, 2023
c846786
[CI] Fixes flaky early stopping test (#2866)
zachgk Nov 21, 2023
969f84e
[docs] Move jupyter notebooks to DJL Demo (#2854)
zachgk Nov 22, 2023
50f8af6
[docs] Include LMI documents (#2870)
sindhuvahinis Nov 23, 2023
e45f344
[pytorch] Revert InstanceHolder for PyTorch engine (#2876)
frankfliu Nov 26, 2023
a6b2e5c
[tokenizer] Updates huggingface tokenizer to 0.15.0 (#2867)
frankfliu Nov 28, 2023
bb56edc
[pytorch] Fixes windows load nvfuser_codegen bug (#2868)
frankfliu Nov 28, 2023
e2be804
[api] Updates common-compress version to address CVE issues (#2871)
frankfliu Nov 28, 2023
b14a818
[tokenizer] Handles import huggingface model zoo exception case (#2872)
frankfliu Nov 28, 2023
ce441c1
[api] Update offline property name to avoid conflict with other app. …
frankfliu Nov 28, 2023
36d4aec
Minor fixes to improve Apple Silicon MPS support (#2873)
petebankhead Nov 28, 2023
c62a0e9
[ci] Fixes flaky early stopping training test (#2879)
frankfliu Nov 28, 2023
c057898
Tokenizers: Updated huggingface_models.py to support Safetensors mode…
dameikle Nov 29, 2023
2fc8058
[tokenizer] Uses fp32 for TextembeddingTranslator clip() (#2881)
frankfliu Dec 1, 2023
586bb07
[tensorflow] Revert InstanceHolder for TensorFlow engine (#2884)
frankfliu Dec 4, 2023
7f94c1a
[api] Use folk java process to avoid jvm consume GPU memory (#2882)
frankfliu Dec 5, 2023
3c1301a
[onnxruntime] Updates OnnxRuntime to 1.16.3 (#2888)
frankfliu Dec 10, 2023
d95edd4
[pytorch] Ensure shared library loading order for aarch64 (#2892)
frankfliu Dec 12, 2023
df109c0
[api] Handles both JNA conflict and missing case (#2896)
frankfliu Dec 19, 2023
6708a42
[ci] Use JDK 17 for github actions workflow (#2897)
frankfliu Dec 19, 2023
1060bdd
[docs] Updates documents to use JDK 17 (#2898)
frankfliu Dec 20, 2023
1eb54c0
Add Evaluator support to update multiple accumulators (#2894)
petebankhead Dec 20, 2023
e16ef9d
Adds llama.cpp engine (#2904)
bryanktliu Dec 26, 2023
0e6f143
Yelov8 Translator optimization (#2908)
gevant Dec 31, 2023
d7fa91c
[pytorch] Adds Yolov8n model to pytorch model zoo. (#2910)
frankfliu Jan 2, 2024
97102db
[onnx] Adds yolov8n to model zoo (#2909)
frankfliu Jan 2, 2024
13b72d8
[llama.cpp] Adds unit-test and standardize input parameters (#2905)
frankfliu Jan 2, 2024
632c375
[llama.cpp] Adds llama.cpp huggingface model zoo (#2911)
frankfliu Jan 3, 2024
f4a7d26
[ci] Fixes github action for centos and amazonlinux (#2913)
frankfliu Jan 3, 2024
1b2b6fa
[XGBoost] Updates XGBoost to 2.0.3 (#2915)
frankfliu Jan 3, 2024
ca1b5c5
[pytorch] Upgrade pytorch andorid to 2.1.1 (#2914)
frankfliu Jan 3, 2024
d373ff5
add awscurl release (#2917)
lanking520 Jan 4, 2024
2b04c46
change build to jar (#2918)
lanking520 Jan 4, 2024
54f5176
[bom] Adds llama engine to BOM (#2916)
frankfliu Jan 5, 2024
fcfc928
[ci] Allows build project with JDK 21 (#2903)
frankfliu Jan 5, 2024
cae3bd0
[ci] Fixes pytorch android build (#2921)
frankfliu Jan 6, 2024
72242be
[ci] Fix build failure for `build-pytorch-jni-linux` (#2920)
maaquib Jan 8, 2024
77c9a29
[ci] Fixes native ci build failure (#2924)
frankfliu Jan 8, 2024
cf4c824
[api] Adds ModelZooResolver interface (#2922)
frankfliu Jan 8, 2024
d58b755
[ci] Use macos-13 to avoid flaky test (#2927)
frankfliu Jan 9, 2024
1cbddbf
[test] Fixes EarlyStopping flaky test (#2926)
frankfliu Jan 9, 2024
96eebfa
[api] Updates dependencies to latest version (#2928)
frankfliu Jan 9, 2024
4b392f1
Adds Device.getDevices() for all Device (#2820)
zachgk Jan 9, 2024
6141c48
Creates DJL manual engine initialization (#2885)
zachgk Jan 9, 2024
f1b9da6
[pytorch] Allows to load libstdc++.so.6 form different location (#2929)
frankfliu Jan 9, 2024
b942a67
Updates DJL version to 0.26.0 (#2930)
siddvenk Jan 9, 2024
b21ecb9
Bump DJL version to 0.27.0 (#2933)
siddvenk Jan 11, 2024
94f6d29
removing pytorch 2.0.1 from 0.27.0 (#2940)
siddvenk Jan 11, 2024
c69aeb6
[doc] include trtllm convert manual (#2941)
sindhuvahinis Jan 12, 2024
478422c
Suppress serial warning for JDK21 (#2935)
zachgk Jan 16, 2024
aac5eb3
Moves to Actions hosted M1 runner (#2948)
zachgk Jan 17, 2024
1545c09
[ci] Disable run scheduled github actions in fork (#2943)
frankfliu Jan 18, 2024
fd453d9
[api] Moves commons-compress dependency to standalone class. (#2951)
frankfliu Jan 18, 2024
3bcece6
[api] Allows to load .pt or .onnx file from jar url (#2955)
frankfliu Jan 20, 2024
9c8cc60
[docs] Updates README (#2954)
frankfliu Jan 20, 2024
5ece342
[tokenizer] Return if exceed max token length (#2957)
frankfliu Jan 22, 2024
3defba6
[tokenizer] Adds getters for HuggingfaceTokenizer (#2958)
frankfliu Jan 23, 2024
c4e3023
[doc] Make LMI a separate tab and include I/O schema (#2960)
sindhuvahinis Jan 24, 2024
9a52d3d
[docs] Fixes cuda version for pytorch native library (#2963)
frankfliu Jan 25, 2024
9476112
add algebraic logging
patins1 Jan 26, 2024
bd1ca7b
log number of generated functions
patins1 Jan 26, 2024
a103528
fix naming
patins1 Jan 26, 2024
f81f4ad
fix bad practice
patins1 Jan 26, 2024
e6dafa5
fix empty-if-block problem
patins1 Jan 26, 2024
421d06e
fix build errors
patins1 Jan 31, 2024
aca0881
fix outofmem problem by using 2 epochs
patins1 Jan 31, 2024
1b25c45
reduce memory footprint
patins1 Feb 2, 2024
668be2d
mapped more operations
patins1 Feb 18, 2024
5d65575
put convolution transpose at weight init
patins1 Feb 25, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
73 changes: 4 additions & 69 deletions .github/workflows/build_triton_and_ft.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,12 @@
name: Build Triton Server and FasterTransformers
name: Build Triton Server

on:
workflow_dispatch:
inputs:
triton:
description: 'triton branch version'
required: true
default: 'r23.04'
fastertransformer:
description: 'fastertransformer branch/tag version'
required: true
default: 'main'
is_llama_build:
description: 'whether to build custom llama source'
required: false
type: boolean
default: false
default: 'r23.10'

jobs:
build-triton:
Expand All @@ -33,7 +24,8 @@ jobs:
- name: Build Triton Binary
shell: 'script -q -e -c "bash --noprofile --norc -eo pipefail {0}"'
run: |
python3 build.py --enable-logging --enable-metrics --enable-stats --enable-cpu-metrics --endpoint http
pip3 install requests
python3 build.py --enable-logging --enable-metrics --enable-stats --enable-cpu-metrics --enable-gpu --endpoint http
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v2
with:
Expand All @@ -45,60 +37,3 @@ jobs:
aws s3 cp build/install/lib/libtritonserver.so s3://djl-ai/publish/tritonserver/${{ github.event.inputs.triton }}/
aws s3 cp build/install/bin/tritonserver s3://djl-ai/publish/tritonserver/${{ github.event.inputs.triton }}/
aws cloudfront create-invalidation --distribution-id E371VB8JQ6NRVY --paths "/tritonserver/${{ github.event.inputs.triton }}/*"

create-runner:
if: github.repository == 'deepjavalibrary/djl'
runs-on: [ self-hosted, scheduler ]
steps:
- name: Create new CPU instance
id: create_cpu
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/actions/runners/registration-token \
--fail \
| jq '.token' | tr -d '"' )
./start_instance.sh action_cpu $token djl
outputs:
cpu_instance_id: ${{ steps.create_cpu.outputs.action_cpu_instance_id }}


build-fastertransformer:
if: github.repository == 'deepjavalibrary/djl'
runs-on: [ self-hosted, cpu ]
container: deepjavalibrary/djl-serving:fastertransformer-nightly
timeout-minutes: 60
needs: create-runner
steps:
- uses: actions/checkout@v3
- name: Build FasterTransformers
run: |
tools/scripts/build_ft_deps.sh ${{ github.event.inputs.fastertransformer }} ${{ github.event.inputs.triton }} ${{ github.event.inputs.is_llama_build }}
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v2
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: us-east-2
- name: Copy files to S3 with the AWS CLI
if: github.event.inputs.is_llama_build == 'false'
run: |
aws s3 sync /tmp/binaries/ s3://djl-ai/publish/fastertransformer/${{ github.event.inputs.fastertransformer }}/
aws cloudfront create-invalidation --distribution-id E371VB8JQ6NRVY --paths "/fastertransformer/${{ github.event.inputs.fastertransformer }}/*"
- name: Copy files for llama build to S3 with AWS CLI
if: github.event.inputs.is_llama_build == 'true'
run: |
echo "pushing binaries to ft/llama"
aws s3 sync /tmp/binaries/ s3://djl-ai/publish/fastertransformer/llama/
aws cloudfront create-invalidation --distribution-id E371VB8JQ6NRVY --paths "/fastertransformer-llama/${{ github.event.inputs.fastertransformer }}/*"

stop-runner:
if: ${{ github.repository == 'deepjavalibrary/djl' && always() }}
runs-on: [ self-hosted, scheduler ]
needs: [ create-runner, build-fastertransformer]
steps:
- name: Stop all instances
run: |
cd /home/ubuntu/djl_benchmark_script/scripts
instance_id=${{ needs.create-runner.outputs.cpu_instance_id }}
./stop_instance.sh $instance_id
6 changes: 3 additions & 3 deletions .github/workflows/codeql-analysis-java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3

- name: Set up JDK 11
uses: actions/setup-java@v3
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: 'corretto'
java-version: 11
java-version: 17

- name: Init gradle
run: ./gradlew --no-daemon clean
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/continuous.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: 'corretto'
java-version: 11
java-version: 17
# Enable gradle cache: https:/actions/cache/blob/master/examples.md#java---gradle
- uses: actions/cache@v3
with:
Expand Down Expand Up @@ -107,11 +107,11 @@ jobs:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: 'corretto'
java-version: 11
java-version: 17
# Enable gradle cache: https:/actions/cache/blob/master/examples.md#java---gradle
- uses: actions/cache@v3
with:
Expand Down
15 changes: 7 additions & 8 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ name: Docs
on:
pull_request:
paths:
- "**.ipynb"
- "docs/mkdocs.yml"
# Publish docs weekly
schedule:
Expand All @@ -15,11 +14,11 @@ jobs:
if: github.repository == 'deepjavalibrary/djl'
runs-on: ubuntu-latest
steps:
- name: Set up JDK 11
uses: actions/setup-java@v3
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: 'corretto'
java-version: 11
java-version: 17
- name: Set up Python3
uses: actions/setup-python@v4
with:
Expand All @@ -38,10 +37,6 @@ jobs:
- name: add mybinder link
run: |
python3 tools/scripts/add_online_runner.py
- name: run Notebooks
run: |
cd jupyter
bash test_notebook.sh
- name: clone demos
run: |
cd docs
Expand All @@ -50,6 +45,10 @@ jobs:
run: |
cd docs
git clone https:/deepjavalibrary/djl-serving.git serving
- name: run Notebooks
run: |
cd docs/demos/jupyter
bash test_notebook.sh
- name: build docs
run: |
cd docs
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/native_jni_s3_paddle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: 'corretto'
java-version: 11
java-version: 17
- uses: actions/cache@v3
with:
path: ~/.gradle/caches
Expand Down Expand Up @@ -55,11 +55,11 @@ jobs:
ln -sf /usr/bin/cmake3 /usr/bin/cmake
pip3 install awscli --upgrade
- uses: actions/checkout@v3
- name: Set up JDK 11
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
distribution: 'corretto'
java-version: 11
java-version: 17
- uses: actions/cache@v3
with:
path: ~/.gradle/caches
Expand Down
36 changes: 19 additions & 17 deletions .github/workflows/native_jni_s3_pytorch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: 'corretto'
java-version: 11
java-version: 17
- uses: actions/cache@v3
with:
path: ~/.gradle/caches
Expand Down Expand Up @@ -55,11 +55,11 @@ jobs:
container: nvidia/cuda:11.3.1-cudnn8-devel-ubuntu18.04
steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
distribution: 'corretto'
java-version: 11
java-version: 17
- uses: actions/cache@v3
with:
path: ~/.gradle/caches
Expand Down Expand Up @@ -116,11 +116,11 @@ jobs:
ln -s /usr/bin/cmake3 /usr/bin/cmake
pip3 install awscli --upgrade
- uses: actions/checkout@v3
- name: Set up JDK 11
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
distribution: 'corretto'
java-version: 11
java-version: 17
- uses: actions/cache@v3
with:
path: ~/.gradle/caches
Expand All @@ -137,6 +137,7 @@ jobs:
./gradlew :engines:pytorch:pytorch-native:compileJNI -Pprecxx11 -Ppt_version=$PYTORCH_VERSION
./gradlew -Pjni -Ppt_version=$PYTORCH_VERSION :integration:test "-Dai.djl.default_engine=PyTorch"
./gradlew :engines:pytorch:pytorch-native:cleanJNI
rm -rf ~/.djl.ai
./gradlew :engines:pytorch:pytorch-native:compileJNI -Pcu11 -Pprecxx11 -Ppt_version=$PYTORCH_VERSION
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v1-node16
Expand All @@ -156,11 +157,11 @@ jobs:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: 'corretto'
java-version: 11
java-version: 17
- uses: actions/cache@v3
with:
path: ~/.gradle/caches
Expand Down Expand Up @@ -205,13 +206,13 @@ jobs:

build-pytorch-jni-arm64-macos:
if: github.repository == 'deepjavalibrary/djl'
runs-on: [ self-hosted, ARM64, macOS ]
runs-on: macos-latest-xlarge
steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: 11
java-version: 17
distribution: corretto
architecture: aarch64
- uses: actions/cache@v3
Expand Down Expand Up @@ -259,6 +260,7 @@ jobs:
aarch64_instance_id: ${{ steps.create_aarch64.outputs.action_graviton_instance_id }}

build-pytorch-jni-aarch64:
if: github.repository == 'deepjavalibrary/djl'
runs-on: [ self-hosted, aarch64 ]
container: amazonlinux:2
timeout-minutes: 30
Expand All @@ -268,14 +270,14 @@ jobs:
run: |
yum -y update
yum -y groupinstall "Development Tools"
yum -y install patch git cmake3 python3-devel java-11-amazon-corretto
yum -y install patch git cmake3 python3-devel java-17-amazon-corretto-devel
ln -sf /usr/bin/cmake3 /usr/bin/cmake
pip3 install awscli --upgrade
- uses: actions/checkout@v3
- name: Release JNI prep
run: |
export JAVA_HOME=/usr/lib/jvm/java-11-amazon-corretto.aarch64
export PATH=$PATH:$JAVA_HOME
export JAVA_HOME=/usr/lib/jvm/java-17-amazon-corretto.aarch64
export PATH=$PATH:$JAVA_HOME/bin
PYTORCH_VERSION=${{ github.event.inputs.pt_version }}
export PYTORCH_VERSION=${PYTORCH_VERSION:-$(cat gradle.properties | awk -F '=' '/pytorch_version/ {print $2}')}
echo $PYTORCH_VERSION
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/native_jni_s3_pytorch_android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,18 @@ on:

jobs:
build-pytorch-jni-android:
if: github.repository == 'deepjavalibrary/djl'
runs-on: ubuntu-latest
env:
NDK_VERSION: "21.1.6352462"

steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: 'corretto'
java-version: 11
java-version: 17
- uses: actions/cache@v3
with:
path: ~/.gradle/caches
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/native_jni_s3_tensorrt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ jobs:
- name: Install Environment
run: pip3 install awscli --upgrade
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: 'corretto'
java-version: 11
java-version: 17
- uses: actions/cache@v3
with:
path: ~/.gradle/caches
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/native_publish_mxnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: 'corretto'
java-version: 11
java-version: 17
# Enable gradle cache: https:/actions/cache/blob/master/examples.md#java---gradle
- uses: actions/cache@v3
with:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/native_publish_paddle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: 'corretto'
java-version: 11
java-version: 17
# Enable gradle cache: https:/actions/cache/blob/master/examples.md#java---gradle
- uses: actions/cache@v3
with:
Expand Down
Loading
Loading