Skip to content

Commit

Permalink
upload
Browse files Browse the repository at this point in the history
  • Loading branch information
xyang16 committed Sep 30, 2024
1 parent 5ddd831 commit 3cc2691
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/native_s3_huggingface.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,7 @@ jobs:
echo "AWS_SESSION_TOKEN=$AWS_SESSION_TOKEN" >> "$GITHUB_ENV"
- name: Copy files to S3 with the AWS CLI
run: |
DJL_VERSION=$(awk -F '=' '/djl / {gsub(/ ?"/, "", $2); print $2}' gradle/libs.versions.toml)
TOKENIZERS_VERSION="$(awk -F '=' '/tokenizers/ {gsub(/ ?"/, "", $2); print $2}' gradle/libs.versions.toml)"
pip install gdown
gdown https://drive.google.com/uc?id=1-y04vBoCsgQHcAALgW4O4qQvRfKPN9Qq # for files
gdown https://drive.google.com/uc?id=1-y04vBoCsgQHcAALgW4O4qQvRfKPN9Qq
unzip mlrepo.zip
aws s3 sync mlrepo s3://djl-ai/mlrepo/model/

0 comments on commit 3cc2691

Please sign in to comment.