[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:
co-authored by
Ma Mingfei
parent
f0f78a6c93
commit
319055c191
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user