LM/vLLM: Difference between revisions

From Fundamental Ramen
< LM
Jump to navigation Jump to search
Line 12: Line 12:
pip uninstall -y triton triton-xpu
pip uninstall -y triton triton-xpu
pip install triton-xpu==3.7.2 --extra-index-url https://download.pytorch.org/whl/xpu
pip install triton-xpu==3.7.2 --extra-index-url https://download.pytorch.org/whl/xpu
VLLM_TARGET_DEVICE=xpu pip install --no-build-isolation -e . -v


vllm serve unsloth/gemma-4-E4B-it-qat-GGUF --device xpu
vllm serve unsloth/gemma-4-E4B-it-qat-GGUF --device xpu

Revision as of 02:17, 14 August 2026

Experiment

uv venv --python 3.12 --seed --managed-python
source .venv/bin/activate

git clone https://github.com/vllm-project/vllm.git
cd vllm
pip install --upgrade pip
pip install -v -r requirements/xpu.txt

pip uninstall -y triton triton-xpu
pip install triton-xpu==3.7.2 --extra-index-url https://download.pytorch.org/whl/xpu

VLLM_TARGET_DEVICE=xpu pip install --no-build-isolation -e . -v

vllm serve unsloth/gemma-4-E4B-it-qat-GGUF --device xpu

Path

TODO