This commit is contained in:
2026-01-09 13:34:11 +08:00
parent dfa6476b58
commit b2ef04d792
538 changed files with 105693 additions and 2 deletions

20
build_musa.sh Normal file
View File

@@ -0,0 +1,20 @@
#!/bin/bash
set -x
set -e
pip install -r requirements-build.txt
pip install -r requirements-musa.txt
export VLLM_TARGET_DEVICE=musa
export CMAKE_BUILD_TYPE=Debug
export VERBOSE=1
export VLLM_ATTENTION_BACKEND=FLASH_ATTN
rm -rf build
rm -rf dist
rm -rf vllm.egg-info
pip uninstall -y vllm
python setup.py bdist_wheel
pip install dist/*