-
Notifications
You must be signed in to change notification settings - Fork 368
Add new recipes for Intel XPU(B60, B70) #753
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
0d4e505
5148f3e
5f72314
8d39ffe
f064e20
59f30b0
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -9,11 +9,14 @@ meta: | |
| tasks: | ||
| - multimodal | ||
| - text | ||
| performance_headline: "Qwen3.5 flagship dense — single-GPU FP8 or 2x GPU BF16" | ||
| performance_headline: "Qwen3.5 flagship dense — single-GPU FP8 or 2x GPU or 2-4x Intel Arc Pro B60/B70 BF16" | ||
| related_recipes: | ||
| - "Qwen/Qwen3.5-397B-A17B" | ||
| - "Qwen/Qwen3.5-35B-A3B" | ||
| - "Qwen/Qwen3.5-9B" | ||
| hardware: | ||
| arc_pro_b60: verified | ||
| arc_pro_b70: verified | ||
|
|
||
| model: | ||
| model_id: "Qwen/Qwen3.5-27B" | ||
|
|
@@ -61,7 +64,7 @@ variants: | |
| default: | ||
| precision: bf16 | ||
| vram_minimum_gb: 65 | ||
| description: "Full precision BF16 — fits on 1x H200 or 2x H100" | ||
| description: "Full precision BF16 — fits on 1x H200, 2x H100, 4x Intel Arc Pro B60, 2x Intel Arc Pro B70" | ||
| fp8: | ||
| model_id: "Qwen/Qwen3.5-27B-FP8" | ||
| precision: fp8 | ||
|
|
@@ -77,7 +80,10 @@ compatible_strategies: | |
| - single_node_tp | ||
| - multi_node_tp | ||
|
|
||
| hardware_overrides: {} | ||
| hardware_overrides: | ||
| xpu: | ||
| extra_args: | ||
| - "--enforce-eager" | ||
|
Comment on lines
+83
to
+86
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The hardware_overrides:
xpu:
extra_args:
- "--enforce-eager"
- "--tensor-parallel-size"
- "4"
- "--max-model-len"
- "8192" |
||
|
|
||
| strategy_overrides: {} | ||
|
|
||
|
|
@@ -93,7 +99,7 @@ guide: | | |
| ## Prerequisites | ||
|
|
||
| - **vLLM version:** >= 0.17.0 | ||
| - **Hardware (BF16):** 1x H200 or 2x H100 | ||
| - **Hardware (BF16):** 1x H200, 2x H100, 4x Intel Arc Pro B60, 2x Intel Arc Pro B70 | ||
| - **Hardware (FP8):** single 40 GB GPU (H100/H200/L40S) | ||
| - **Hardware (Int4):** single 24 GB GPU | ||
|
|
||
|
|
@@ -105,6 +111,11 @@ guide: | | |
| uv pip install -U vllm --torch-backend=auto | ||
| ``` | ||
|
|
||
| ### Docker | ||
| ```bash | ||
| docker pull vllm/vllm-openai-xpu:latest # Intel XPU (B60 / B70) | ||
| ``` | ||
|
|
||
| ## Launching the Server | ||
|
|
||
| ### Single-GPU FP8 | ||
|
|
@@ -141,6 +152,24 @@ guide: | | |
| --enable-prefix-caching | ||
| ``` | ||
|
|
||
| ### Docker (Intel XPU B60 / B70) | ||
|
|
||
| Validated on 4× Intel Arc Pro B60 or 2x Intel Arc Pro B70 (B60 24 GB, B70 32 GB per card) with the | ||
| official vLLM XPU image `vllm/vllm-openai-xpu:latest`. | ||
|
|
||
| ```bash | ||
| docker run --device /dev/dri \ | ||
| -v /dev/dri/by-path:/dev/dri/by-path --shm-size=16g \ | ||
| --privileged --ipc=host -p 8000:8000 \ | ||
| -v ~/.cache/huggingface:/root/.cache/huggingface \ | ||
| --entrypoint bash vllm/vllm-openai-xpu:latest \ | ||
| -c "source /opt/intel/oneapi/setvars.sh && exec vllm serve Qwen/Qwen3.5-27B \ | ||
| --reasoning-parser qwen3 \ | ||
| --tensor-parallel-size 4 \ | ||
| --max-model-len 8192 \ | ||
| --enforce-eager" | ||
| ``` | ||
|
|
||
| ## Client Usage | ||
|
|
||
| ```python | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it's default option, we can remove.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I kept
--attention-backend flash_attnintentionally. For Gemma 4 on XPU, if the attention backend is not explicitly set, vLLM treats Gemma 4 as a multimodal prefix-LM model and the XPU backend selector falls back to Triton attention because Flash Attention does not support the multimodal prefix-LM mask path.Removed other args as per suggested.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
got it thanks.