From edd9efa49ee53007740e6b88c209e7a60a1bb2f3 Mon Sep 17 00:00:00 2001 From: Alisehen <814073252@qq.com> Date: Thu, 15 May 2025 07:28:50 +0000 Subject: [PATCH] fix --- install.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install.sh b/install.sh index c19a18e..c46c506 100644 --- a/install.sh +++ b/install.sh @@ -28,6 +28,9 @@ echo "Installing python dependencies from requirements.txt" pip install -r requirements-local_chat.txt pip install -r ktransformers/server/requirements.txt +echo "Installing ktransformers" +KTRANSFORMERS_FORCE_BUILD=TRUE pip install -v . --no-build-isolation + # XPU-specific fix for triton if [[ "$DEV_BACKEND" == "xpu" ]]; then echo "Replacing triton for XPU backend" @@ -35,9 +38,6 @@ if [[ "$DEV_BACKEND" == "xpu" ]]; then pip install pytorch-triton-xpu==3.3.0 --extra-index-url https://download.pytorch.org/whl/xpu fi -echo "Installing ktransformers" -KTRANSFORMERS_FORCE_BUILD=TRUE pip install -v . --no-build-isolation - if [[ "$DEV_BACKEND" == "cuda" ]]; then echo "Installing custom_flashinfer for CUDA backend" pip install third_party/custom_flashinfer/