Skip to content

Fix the XPU compilation issue#258

Merged
danieldk merged 4 commits intohuggingface:mainfrom
YangKai0616:main
Feb 4, 2026
Merged

Fix the XPU compilation issue#258
danieldk merged 4 commits intohuggingface:mainfrom
YangKai0616:main

Conversation

@YangKai0616
Copy link
Contributor

The currently compiled XPU kernels are unavailable due to the missing sycl_flags parameter. This PR:

  1. Fixes the XPU compilation issue
  2. Resolves the CUTLASS_SYCL_REVISION matching problem
  3. Moves the XPU SYCL compiler configuration before the project() call to prevent repeated reconfiguration and infinite loops.

The nix build results have passed correctness tests successfully on both XPU and CUDA.

@YangKai0616
Copy link
Contributor Author

Noticed that PR #256 has fixed the 3 point, updating this PR accordingly.

Cc @sywangyi

@YangKai0616 YangKai0616 marked this pull request as ready for review February 4, 2026 02:02
@YangKai0616
Copy link
Contributor Author

@danieldk pls help review, thx!

Copy link
Member

@danieldk danieldk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot! Will merge when after CI is done.

@danieldk danieldk merged commit 01fe108 into huggingface:main Feb 4, 2026
31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants