Skip to content

Update torch-xpu-ops commit pin - #186768

Closed
CuiYifeng wants to merge 4 commits into
pytorch:mainfrom
CuiYifeng:yifeng/xpu_pin_38d22c
Closed

CuiYifeng wants to merge 4 commits into
pytorch:mainfrom
CuiYifeng:yifeng/xpu_pin_38d22c

Conversation

@CuiYifeng

@CuiYifeng CuiYifeng commented Jun 9, 2026 •

Copy link
Copy Markdown
Contributor

Update the torch-xpu-ops commit to intel/torch-xpu-ops@bc2942, includes:

Fixes #186661 for build warnings:

  • [-Werror=template-id-cdtor] caused by SYCLTLA with GCC15
  • [-Werror=int-in-bool-context] caused by ‘*’ in boolean context
  • [-Wdeprecated-attributes] caused by deprecated attribute intel::reqd_sub_group_size

Migrate std::exp2, std::expm1, std::frexp and std::copysign to sycl:: namespace for SYCL compatibility.

Add compiler version check for SymmetricMemory.

@pytorch-bot

pytorch-bot Bot commented Jun 9, 2026 •

Copy link
Copy Markdown

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/186768

Note: Links to docs will display an error until the docs builds have been completed.

❌ You can merge normally! (6 Unrelated Failures), 2 Unclassified Failures

As of commit 9ecd7d4 with merge base c933d42 (image):

UNCLASSIFIED FAILURES - DrCI could not classify the following jobs because the workflow did not run on the merge base. The failures may be pre-existing on trunk or introduced by this PR:

FLAKY - The following jobs failed but were likely due to flakiness present on trunk:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@pytorch-bot pytorch-bot Bot added the topic: not user facing topic category label Jun 9, 2026
@chuanqi129 chuanqi129 added the ciflow/xpu Run XPU CI tasks label Jun 9, 2026
@CuiYifeng

Copy link
Copy Markdown
Contributor Author

@guangyey Please help review, thanks.

@guangyey

guangyey commented Jun 9, 2026

Copy link
Copy Markdown
Collaborator

Fix #186661

@guangyey
guangyey marked this pull request as ready for review June 9, 2026 06:11
@guangyey
guangyey requested a review from gujinghui as a code owner June 9, 2026 06:11
@guangyey guangyey added the ciflow/trunk Trigger trunk jobs on your pull request label Jun 9, 2026
@pytorch-bot

pytorch-bot Bot commented Jun 9, 2026 •

Copy link
Copy Markdown

Workflows were awaiting approval. CI has now been triggered for the ciflow labels on this PR.

@chuanqi129 chuanqi129 added the keep-going Don't stop on first failure, keep running tests until the end label Jun 9, 2026
Restore xpu n-1 build
@chuanqi129
chuanqi129 requested a review from a team as a code owner June 9, 2026 16:21
@chuanqi129

Copy link
Copy Markdown
Collaborator

@pytorchbot merge

@pytorchmergebot

Copy link
Copy Markdown
Collaborator

Merge started

Your change will be merged once all checks pass (ETA 0-4 Hours).

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

@pytorchmergebot

Copy link
Copy Markdown
Collaborator

Merge failed

Reason: 1 jobs have failed, first few of them are: xpu / linux-noble-xpu-n-py3.10 / test (default, 2, 12, linux.idc.xpu)

Details for Dev Infra team Raised by workflow job

@chuanqi129

Copy link
Copy Markdown
Collaborator

@pytorchbot merge -i

@pytorchmergebot

Copy link
Copy Markdown
Collaborator

Merge started

Your change will be merged while ignoring the following 2 checks: xpu / linux-noble-xpu-n-py3.10 / test (default, 10, 12, linux.idc.xpu), xpu / linux-noble-xpu-n-py3.10 / test (default, 2, 12, linux.idc.xpu)

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

Comment thread .github/workflows/xpu.yml
curr_ref_type: ${{ github.ref_type }}

linux-jammy-xpu-n-1-py3_10-build:
if: false # Temporarily disabled

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Please add a reference to the issue here like this # Temporarily disabled see: https://github.com/pytorch/pytorch/issues/186661

@chuanqi129 chuanqi129 Jun 9, 2026 •

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks @atalman , we temp disabled this n-1 build job in last commit pin update PR #186208. In this PR, we just re-enable n-1 build job

@atalman atalman left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

lgtm

@atalman atalman added the ciflow/binaries Trigger all binary build and upload jobs on the PR label Jun 9, 2026
@pytorchmergebot

Copy link
Copy Markdown
Collaborator

Merge failed

Reason: 1 jobs have failed, first few of them are: xpu / linux-noble-xpu-n-py3.10 / test (default, 1, 12, linux.idc.xpu)

Details for Dev Infra team Raised by workflow job

@chuanqi129

Copy link
Copy Markdown
Collaborator

@pytorchbot drci

@chuanqi129

Copy link
Copy Markdown
Collaborator

@pytorchbot merge

@pytorchmergebot

Copy link
Copy Markdown
Collaborator

Merge started

Your change will be merged once all checks pass (ETA 0-4 Hours).

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

@pytorchmergebot

Copy link
Copy Markdown
Collaborator

Merge failed

Reason: 2 jobs have failed, first few of them are: xpu / linux-noble-xpu-n-py3.10 / test (default, 10, 12, linux.idc.xpu), xpu / linux-noble-xpu-n-py3.10 / test (default, 1, 12, linux.idc.xpu)

Details for Dev Infra team Raised by workflow job

@chuanqi129

Copy link
Copy Markdown
Collaborator

@pytorchbot merge -i

@pytorchmergebot

Copy link
Copy Markdown
Collaborator

Merge started

Your change will be merged while ignoring the following 4 checks: xpu / linux-noble-xpu-n-py3.10 / test (default, 10, 12, linux.idc.xpu), xpu / linux-noble-xpu-n-py3.10 / test (default, 2, 12, linux.idc.xpu), xpu / linux-noble-xpu-n-py3.10 / test (default, 1, 12, linux.idc.xpu), linux-s390x-binary-manywheel / manywheel-py3_14-cpu-s390x-upload / upload

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

@atalman

atalman commented Jun 10, 2026

Copy link
Copy Markdown
Collaborator

@pytorchbot cherry-pick --onto release/2.13 -c critical

@pytorchbot

Copy link
Copy Markdown
Collaborator

Cherry picking #186768

The cherry pick PR is at #186978 and it is recommended to link a critical cherry pick PR with an issue. The following tracker issues are updated:

Details for Dev Infra team Raised by workflow job

atalman pushed a commit that referenced this pull request Jun 10, 2026
Update torch-xpu-ops commit pin (#186768)

Update the torch-xpu-ops commit to [intel/torch-xpu-ops@bc2942](intel/torch-xpu-ops@bc29424), includes:

Fixes #186661 for build warnings:

- [-Werror=template-id-cdtor] caused by SYCLTLA with GCC15
- [-Werror=int-in-bool-context] caused by ‘*’ in boolean context
- [-Wdeprecated-attributes] caused by deprecated attribute intel::reqd_sub_group_size

Migrate std::exp2, std::expm1, std::frexp and std::copysign to sycl:: namespace for SYCL compatibility.

Add compiler version check for SymmetricMemory.
Pull Request resolved: #186768
Approved by: https://github.com/guangyey, https://github.com/EikanWang, https://github.com/atalman


(cherry picked from commit ddc3c36)

Co-authored-by: Cui, Yifeng <[email protected]>
Co-authored-by: Wang, Chuanqi <[email protected]>
jemitche1 pushed a commit to jemitche1/pytorch that referenced this pull request Jun 13, 2026
Update the torch-xpu-ops commit to [intel/torch-xpu-ops@bc2942](intel/torch-xpu-ops@bc29424), includes:

Fixes pytorch#186661 for build warnings:

- [-Werror=template-id-cdtor] caused by SYCLTLA with GCC15
- [-Werror=int-in-bool-context] caused by ‘*’ in boolean context
- [-Wdeprecated-attributes] caused by deprecated attribute intel::reqd_sub_group_size

Migrate std::exp2, std::expm1, std::frexp and std::copysign to sycl:: namespace for SYCL compatibility.

Add compiler version check for SymmetricMemory.
Pull Request resolved: pytorch#186768
Approved by: https://github.com/guangyey, https://github.com/EikanWang, https://github.com/atalman

Co-authored-by: Wang, Chuanqi <[email protected]>
gplutop7 pushed a commit to gplutop7/pytorch that referenced this pull request Jul 15, 2026
Update the torch-xpu-ops commit to [intel/torch-xpu-ops@bc2942](intel/torch-xpu-ops@bc29424), includes:

Fixes pytorch#186661 for build warnings:

- [-Werror=template-id-cdtor] caused by SYCLTLA with GCC15
- [-Werror=int-in-bool-context] caused by ‘*’ in boolean context
- [-Wdeprecated-attributes] caused by deprecated attribute intel::reqd_sub_group_size

Migrate std::exp2, std::expm1, std::frexp and std::copysign to sycl:: namespace for SYCL compatibility.

Add compiler version check for SymmetricMemory.
Pull Request resolved: pytorch#186768
Approved by: https://github.com/guangyey, https://github.com/EikanWang, https://github.com/atalman

Co-authored-by: Wang, Chuanqi <[email protected]>
aws-kingrj pushed a commit to amazon-contributing/upstream-to-pytorch that referenced this pull request Jul 29, 2026
Update the torch-xpu-ops commit to [intel/torch-xpu-ops@bc2942](intel/torch-xpu-ops@bc29424), includes:

Fixes pytorch#186661 for build warnings:

- [-Werror=template-id-cdtor] caused by SYCLTLA with GCC15
- [-Werror=int-in-bool-context] caused by ‘*’ in boolean context
- [-Wdeprecated-attributes] caused by deprecated attribute intel::reqd_sub_group_size

Migrate std::exp2, std::expm1, std::frexp and std::copysign to sycl:: namespace for SYCL compatibility.

Add compiler version check for SymmetricMemory.
Pull Request resolved: pytorch#186768
Approved by: https://github.com/guangyey, https://github.com/EikanWang, https://github.com/atalman

Co-authored-by: Wang, Chuanqi <[email protected]>
@CuiYifeng
CuiYifeng deleted the yifeng/xpu_pin_38d22c branch September 17, 2026 05:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/binaries Trigger all binary build and upload jobs on the PR ciflow/trunk Trigger trunk jobs on your pull request ciflow/xpu Run XPU CI tasks keep-going Don't stop on first failure, keep running tests until the end Merged open source topic: not user facing topic category

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

xpu: build fails with intel::reqd_sub_group_size deprecated attribute error

7 participants