Sglang Xpu Run

Serve a Hugging Face safetensors model on an Intel GPU using SGLang's XPU backend with the OpenAI-compatible API. Covers pulling the pre-built `intel/sglang-dev:latest` image, fixing the render-group and UMD/kernel compatibility issues that affect non-root sglang images, the SYCL_UR / Level Zero env vars needed on Battlemage, the `--device xpu --attention-backend intel_xpu` flag set, multimodal serving, and how to validate output content (not just HTTP 200). Use when the user needs SGLang's RadixAttention prefix caching or grammar-constrained output; for broad-coverage serving on Intel today prefer vllm-xpu-run, and for benchmarking a running server use sglang-xpu-bench.

intel b8facd7 2 files · 14.6 KB Updated

File contents

intel/gpu-ai-skills/tree/main/plugins/intel-gpu-ai-skills/skills/sglang-xpu-run commit b8facd77da

Frequently asked questions

npx skillmds@latest add intel/sglang-xpu-run