Skip to content

Commit

Permalink
chore: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
JJGadgets committed Oct 12, 2024
1 parent ca5f398 commit 5d13544
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions apps/mlc-llm/ci/latest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,12 @@ channel=$1

if [[ "${channel}" == "stable" ]]; then
version="$(curl -s https://mlc.ai/wheels | grep -oE '>mlc_llm_cpu-(.*)-cp311-manylinux.*_x86_64.whl' | awk -F'-' '{print $2}' | tail -n 1)"
elif [[ "${channel}" == "cuda" ]]; then
version="$(curl -s https://mlc.ai/wheels | grep -oE '>mlc_llm_cpu-(.*)-cp311-manylinux.*_x86_64.whl' | awk -F'-' '{print $2}' | tail -n 1)"
elif [[ "${channel}" == "nightly" ]]; then
version="$(date +%Y.%m.%d)"
elif [[ "${channel}" == "cuda-nightly" ]]; then
version="$(date +%Y.%m.%d)"
else
echo 'No version could be extracted!'
exit 1
Expand Down

0 comments on commit 5d13544

Please sign in to comment.