Skip to content

Conversation

@dvrogozh
Copy link
Contributor

@dvrogozh dvrogozh commented Aug 19, 2025

Intel oneapi DPC++ compiler has changed (fixed) parsing of -fsycl-host-compiler-options option in the respect of treating arguments with escaped quotes. This commit adds an if branches depending on compiler versions.

Fixes: intel/torch-xpu-ops#1938

CC: @chuanqi129 @EikanWang @guangyey

cc @gujinghui @EikanWang @fengyuan14 @guangyey

@pytorch-bot
Copy link

pytorch-bot bot commented Aug 19, 2025

🔗 Helpful Links

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

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

✅ You can merge normally! (2 Unrelated Failures)

As of commit 36d775a with merge base 1de4540 (image):

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.

@dvrogozh
Copy link
Contributor Author

@pytorchbot label "release notes: xpu"

@pytorch-bot pytorch-bot bot added the release notes: xpu release notes category label Aug 19, 2025
@dvrogozh
Copy link
Contributor Author

@pytorchbot label "module: xpu"

Copy link
Collaborator

@guangyey guangyey left a comment

Choose a reason for hiding this comment

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

Thanks.

@chuanqi129
Copy link
Collaborator

Hi @malfet @ezyang could you please help to review this PR? The XPU support package upgrade PR #158733 depends on this fix. Thanks

Copy link
Collaborator

Choose a reason for hiding this comment

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

It is a non-backward-compatible change. Have we reported an issue to the SYCL compiler community?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I reported the original issue with handling of quoted arguments in intel/llvm#15016 a year ago. They did not update it after that, but it seems that dpc++2025.2 has changed the behavior. I will post a note in this issue.

@pytorch-bot pytorch-bot bot removed the ciflow/xpu Run XPU CI tasks label Aug 23, 2025
@malfet
Copy link
Contributor

malfet commented Aug 23, 2025

@pytorchbot merge

@pytorch-bot pytorch-bot bot added the ciflow/trunk Trigger trunk jobs on your pull request label Aug 23, 2025
@pytorchmergebot
Copy link
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
Collaborator

Merge failed

Reason: 1 mandatory check(s) failed. The first few are:

Dig deeper by viewing the failures on hud

Details for Dev Infra team Raised by workflow job

Failing merge rule: Core Maintainers

@chuanqi129
Copy link
Collaborator

@pytorchbot rebase

@pytorchmergebot
Copy link
Collaborator

@pytorchbot started a rebase job onto refs/remotes/origin/viable/strict. Check the current status here

dvrogozh and others added 2 commits August 24, 2025 23:43
Intel oneapi DPC++ compiler has changed (fixed) parsing of
`-fsycl-host-compiler-options` option in the respect of treating
arguments with escaped quotes. This commit adds an if branches
depending on compiler versions.

Fixes: intel/torch-xpu-ops#1938

Signed-off-by: Dmitry Rogozhkin <dmitry.v.rogozhkin@intel.com>
@pytorchmergebot
Copy link
Collaborator

Successfully rebased fixes onto refs/remotes/origin/viable/strict, please pull locally before adding more changes (for example, via git checkout fixes && git pull --rebase)

@pytorch-bot pytorch-bot bot removed the ciflow/trunk Trigger trunk jobs on your pull request label Aug 24, 2025
@guangyey
Copy link
Collaborator

@pytorchbot merge

@pytorch-bot pytorch-bot bot added the ciflow/trunk Trigger trunk jobs on your pull request label Aug 25, 2025
@guangyey guangyey added the ciflow/xpu Run XPU CI tasks label Aug 25, 2025
@pytorch-bot
Copy link

pytorch-bot bot commented Aug 25, 2025

To add the ciflow label ciflow/xpu please first approve the workflows that are awaiting approval (scroll to the bottom of this page).

This helps ensure we don't trigger CI on this PR until it is actually authorized to do so. Please ping one of the reviewers if you do not have access to approve and run workflows.

@pytorch-bot pytorch-bot bot removed the ciflow/xpu Run XPU CI tasks label Aug 25, 2025
@guangyey guangyey added the ciflow/xpu Run XPU CI tasks label Aug 25, 2025
@pytorchmergebot
Copy link
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
Collaborator

Merge failed

Reason: 1 jobs have failed, first few of them are: xpu / linux-jammy-xpu-2025.1-py3.9 / test (default, 1, 6, linux.idc.xpu)

Details for Dev Infra team Raised by workflow job

@etaf etaf added the keep-going Don't stop on first failure, keep running tests until the end label Aug 25, 2025
@chuanqi129
Copy link
Collaborator

@pytorchbot merge

@pytorchmergebot
Copy link
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

markc-614 pushed a commit to markc-614/pytorch that referenced this pull request Sep 17, 2025
pytorch#161012)

Intel oneapi DPC++ compiler has changed (fixed) parsing of `-fsycl-host-compiler-options` option in the respect of treating arguments with escaped quotes. This commit adds an if branches depending on compiler versions.

Fixes: intel/torch-xpu-ops#1938

CC: @chuanqi129 @EikanWang @guangyey

Pull Request resolved: pytorch#161012
Approved by: https://github.com/guangyey, https://github.com/EikanWang, https://github.com/malfet

Co-authored-by: Nikita Shulga <2453524+malfet@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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 module: xpu Intel XPU related issues open source release notes: xpu release notes category

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

PyTorch UT test_cpp_extensions_aot_ninja failed with oneAPI 2025.2 upgrade

8 participants