minor: update flashinfer nightly (#2490)

This commit is contained in:
Yineng Zhang
2024-12-16 23:02:49 +08:00
committed by GitHub
parent b532a5fd16
commit 7154b4b1df
2 changed files with 10 additions and 10 deletions

View File

@@ -1,7 +1,7 @@
# Install the dependency in CI.
# Use repo from environment variable, passed from GitHub Actions
FLASHINFER_REPO="${FLASHINFER_REPO:-https://flashinfer.ai/whl/cu121/torch2.4}"
FLASHINFER_REPO="${FLASHINFER_REPO:-https://flashinfer.ai/whl/cu121/torch2.4/flashinfer}"
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
bash "${SCRIPT_DIR}/killall_sglang.sh"
@@ -10,7 +10,7 @@ pip install --upgrade pip
pip install -e "python[all]" --find-links https://flashinfer.ai/whl/cu121/torch2.4/flashinfer/
# Force reinstall flashinfer
pip install flashinfer -i ${FLASHINFER_REPO} --force-reinstall
pip install flashinfer --find-links ${FLASHINFER_REPO} --force-reinstall --no-deps
pip install transformers==4.45.2 sentence_transformers accelerate peft