diff --git a/.github/workflows/native_s3_huggingface.yml b/.github/workflows/native_s3_huggingface.yml index ac4a391037f..af48276a39f 100644 --- a/.github/workflows/native_s3_huggingface.yml +++ b/.github/workflows/native_s3_huggingface.yml @@ -65,12 +65,6 @@ jobs: key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }} restore-keys: | ${{ runner.os }}-gradle- - - name: Release JNI prep - run: | - source "$HOME/.cargo/env" - export PATH=$PATH:/opt/rh/devtoolset-7/root/usr/bin - ./gradlew :extensions:tokenizers:compileJNI - PYTORCH_PRECXX11=true ./gradlew -Pjni :extensions:tokenizers:test - name: Build djl-converter wheel working-directory: extensions/tokenizers/src/main/python/ run: ./setup.py bdist_wheel @@ -82,9 +76,6 @@ jobs: aws-region: us-east-2 - name: Copy files to S3 with the AWS CLI run: | - TOKENIZERS_VERSION="$(cat gradle.properties | awk -F '=' '/tokenizers_version/ {print $2}')" - aws s3 sync extensions/tokenizers/jnilib s3://djl-ai/publish/tokenizers/${TOKENIZERS_VERSION}/jnilib/ - aws cloudfront create-invalidation --distribution-id E371VB8JQ6NRVY --paths "/tokenizers/${TOKENIZERS_VERSION}/jnilib/*" aws s3 cp extensions/tokenizers/src/main/python/dist/djl_converter-*.whl s3://djl-ai/publish/djl_converter/ aws cloudfront create-invalidation --distribution-id E371VB8JQ6NRVY --paths "/djl_converter/*"