Repository navigation
Open
Description
Feature request
Intel XPU support for ROLL's Ray + FSDP2 + vLLM training path.
Motivation
ROLL supports NVIDIA CUDA, AMD ROCm, and Ascend NPU. Extending the platform abstraction to Intel XPU enables the same ROLL workflows to run on Intel GPUs with minimal configuration changes.
This roadmap proposes Intel XPU support over the next 1–2 quarters, starting with the FSDP2 + vLLM path. The issue will be updated as implementation and validation progress.
P0 - Intel XPU platform
- Register Intel XPU as a platform alongside CUDA, ROCm, and NPU.
- Add XPU device detection, XCCL communication, runtime handling, and platform capability flags.
- Use the existing broadcast-based weight-update path when tensor IPC is unavailable.
- feat(xpu): add Intel XPU platform support #526
- Generic PR: replace direct
torch.cudacalls with ROLL's existingcurrent_platformAPIs. It keeps CUDA behavior unchanged and can be merged independently of the XPU platform PR. - fix: use device-neutral platform calls instead of torch.cuda #524
P1 - Explicit device placement for multi-XPU training
- Keep all node-local XPUs visible to each Ray worker so oneCCL has a consistent device view across participating ranks.
- Explicitly select each worker's Ray-assigned XPU, align
LOCAL_RANKwith the assigned device, and pass the assigned device IDs to vLLM, including for vLLM data-parallel ranks. - Keep the new platform hooks opt-in so existing CUDA, ROCm, NPU, and CPU behavior remains unchanged.
- fix(xpu): add explicit device placement for Ray workers and vLLM #527
P2 - Ulysses context parallel on XPU
- Apply ROLL's existing Ulysses attention patch on XPU, so
ulysses_size > 1takes effect instead of falling back to 1. - Make the
flash_attnpackage import optional in the Ulysses attention module; on XPU, attention runs through transformers' flash-attention integration (attn_implementation: fa2). - No change for CUDA, ROCm, NPU, or CPU: with
flash_attninstalled, the import is the same as before. - PR: to be opened
P3 -New stacks and scale
- LoRA weight sync to vLLM
- Vision-language models
- FSDP2 with MoE & Diffusion
- FP8, vLLM-omni, SGLang
Notes
- P0 provides the base Intel XPU platform support.
- P1 builds on P0 and adds explicit device placement for multi-XPU execution.
- P2 builds on P0 and enables context parallel on XPU.
- Existing CUDA, ROCm, NPU, and CPU configurations and workflows retain their current behavior.
- Implementation and validation updates will be tracked through focused PRs linked from this roadmap.
Metadata
Metadata
Assignees
Labels
No labels
Activity