Skip to content

Commit

Permalink
add HF_TOKEN
Browse files Browse the repository at this point in the history
Signed-off-by: Eli Uriegas <[email protected]>
  • Loading branch information
seemethere committed Apr 23, 2024
1 parent 610ade6 commit fccda32
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/periodic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,15 @@ jobs:
echo "::group::Download checkpoint"
export REPO_NAME=${{ matrix.repo_name }}
case "${{ matrix.install_method }}" in
wget) bash .ci/scripts/wget_checkpoint.sh ${REPO_NAME} ${{ matrix.resources }} ;;
huggingface-cli) bash .ci/scripts/download_llama.sh ;;
wget)
bash .ci/scripts/wget_checkpoint.sh ${REPO_NAME} ${{ matrix.resources }}
;;
huggingface-cli)
(
set +x
HF_TOKEN="${HF_TOKEN_PERIODIC}" bash .ci/scripts/download_llama.sh
)
;;
esac
bash .ci/scripts/wget_checkpoint.sh ${REPO_NAME} ${{ matrix.resources }}
echo "::endgroup::"
Expand Down

0 comments on commit fccda32

Please sign in to comment.