Skip to content

Conversation

[ghstack-poisoned]
@pytorch-bot
Copy link

pytorch-bot bot commented Sep 20, 2025

🔗 Helpful Links

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

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

✅ No Failures

As of commit 4d8ea71 with merge base 51152ef (image):
💚 Looks good so far! There are no failures yet. 💚

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

[ghstack-poisoned]
@jansel jansel changed the title Fallback on strided complex add [inductor] Fallback on strided complex add Sep 20, 2025
[ghstack-poisoned]
jansel added a commit that referenced this pull request Sep 20, 2025
Fixes #163243

ghstack-source-id: c7c71fc
Pull-Request: #163387
@jansel jansel requested a review from eellison September 20, 2025 15:24
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
z = alpha * y
complex_type = torch.promote_types(x.dtype, y.dtype)

if _requires_fallback(x) or _requires_fallback(z):
Copy link
Contributor

Choose a reason for hiding this comment

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

Would we need this if we called .contiguous instead ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Likely not, though that would require 2 kernels so not sure if it would be better.

[ghstack-poisoned]
pytorchmergebot pushed a commit that referenced this pull request Sep 24, 2025
jainapurva pushed a commit that referenced this pull request Sep 29, 2025
@github-actions github-actions bot deleted the gh/jansel/535/head branch October 23, 2025 02:13
Khanaksahu pushed a commit to Khanaksahu/pytorch that referenced this pull request Nov 17, 2025
Fixes #163243

ghstack-source-id: 2dc2f05
Pull-Request: pytorch/pytorch#163387
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants