Skip to content

Commit

Permalink
Use flashinfer nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
james-p-xu committed Dec 10, 2024
1 parent dcfde45 commit e44fe8a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions scripts/ci_install_dependency.sh
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
# 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}"

SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
bash "${SCRIPT_DIR}/killall_sglang.sh"

pip install --upgrade pip
pip install -e "python[all]" --find-links https://flashinfer.ai/whl/cu121/torch2.4/flashinfer/
# 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 -i ${FLASHINFER_REPO} --force-reinstall
pip install https://github.com/flashinfer-ai/flashinfer-nightly/releases/download/0.1.6%2B6819a0f/flashinfer-0.1.6+6819a0f.cu121torch2.4-cp310-cp310-linux_x86_64.whl --force-reinstall

pip install transformers==4.45.2 sentence_transformers accelerate peft

Expand Down

0 comments on commit e44fe8a

Please sign in to comment.