[Intel GPU] Add XPU Platform support (#31949)

Signed-off-by: P V R K Jyothendra Varma <polisetty.v.r.k.jyothendra.varma@intel.com>
Co-authored-by: Ma Mingfei <mingfei.ma@intel.com>
This commit is contained in:
Polisetty V R K Jyothendra Varma
2026-07-24 12:49:29 +08:00
committed by GitHub
co-authored by Ma Mingfei
parent f0f78a6c93
commit 319055c191
4 changed files with 156 additions and 0 deletions
@@ -88,6 +88,7 @@ entry_points("sglang.srt.platforms") → Enumerate ALL plugins by name (metadat
├─ 0 activated + SGLANG_USE_CPU_ENGINE=1 → fallback CpuSRTPlatform
├─ 0 activated + CUDA available → fallback CudaSRTPlatform
├─ 0 activated + ROCm available → fallback RocmSRTPlatform
├─ 0 activated + XPU available → fallback XpuSRTPlatform
├─ 0 activated + none of the above → fallback base SRTPlatform
├─ 1 activated → use it
└─ N activated → RuntimeError (must set SGLANG_PLATFORM)