1 parent
0e48b214da
commit
b5bb75a032
1 file changed
+6
-6
@@ -7,15 +7,15 @@ ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd)"
|
||||
cd "${ROOT_DIR}"
|
||||
|
||||
python3 -m pip install --upgrade pip uv
|
||||
UV_BIN="uv"
|
||||
command -v "${UV_BIN}" >/dev/null 2>&1 || UV_BIN="python3 -m uv"
|
||||
BOOTSTRAP_PY="$(command -v python3)"
|
||||
UV_BIN=("${BOOTSTRAP_PY}" -m uv)
|
||||
|
||||
${UV_BIN} python install 3.12
|
||||
${UV_BIN} venv --python 3.12 .venv
|
||||
"${UV_BIN[@]}" python install 3.12
|
||||
"${UV_BIN[@]}" venv --python 3.12 .venv
|
||||
source .venv/bin/activate
|
||||
|
||||
${UV_BIN} pip install --python .venv/bin/python vllm==0.11.0 --torch-backend=auto
|
||||
${UV_BIN} pip install --python .venv/bin/python -e .
|
||||
"${UV_BIN[@]}" pip install --python .venv/bin/python vllm==0.11.0 --torch-backend=auto
|
||||
"${UV_BIN[@]}" pip install --python .venv/bin/python -e .
|
||||
|
||||
EXAMPLE_DIR="examples/offline_inference/qwen2_5_omni"
|
||||
cd "${EXAMPLE_DIR}"
|
||||
|
||||
Reference in new issue
Block a user