feat: Intel XPU (Arc Pro B70) training support for DSpark drafters - #769
Open
rmacy wants to merge 1 commit into
Open
feat: Intel XPU (Arc Pro B70) training support for DSpark drafters#769rmacy wants to merge 1 commit into
rmacy wants to merge 1 commit into
Conversation
Adds XPU device support to SpecForge offline DSpark training: - Device detection and xccl backend selection for XPU - Eager attention fallback (flex_attention is CUDA-only) - CPU optimizer offload for memory-constrained XPU - DDP/RNG fixes for single-GPU XPU runs - pin_memory guard (not supported on XPU) Also adds Qwen3.8-27B DSpark config and example offline training config. Verified: trained a 1.36B DSpark drafter for Qwen3.8-27B FP8 on 2x Arc Pro B70, achieving 72.2 tok/s median on isolated C1 (vs 32.4 no-spec, 54.67 MTP2).
rmacy
requested review from
FlamingoPg,
FrankLeeeee,
shuaills and
sleepcoo
as code owners
August 16, 2026 23:14
Collaborator
|
Hi, thank you very much for your implementation on Intel XPU. Since we lack access to XPU hardware, if you wish to add support for it, please provide the training loss and model performance results to demonstrate its effectiveness. Ideally, please also open-source the draft model. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds Intel XPU device support to SpecForge offline DSpark training, enabling drafter training on Intel Arc Pro B70 (Battlemage) GPUs.
Changes
Training constraints discovered (XPU-specific)
Verification
Trained a 1.36B DSpark drafter for Qwen3.8-27B FP8 on 2x Arc Pro B70 (TP=2):