Skip to content

[Inductor] Prevent circular imports in triton_kernel_wrap#176836

Closed
AmesingFlank wants to merge 1 commit intogh/AmesingFlank/7/basefrom
gh/AmesingFlank/7/head
Closed

[Inductor] Prevent circular imports in triton_kernel_wrap#176836
AmesingFlank wants to merge 1 commit intogh/AmesingFlank/7/basefrom
gh/AmesingFlank/7/head

Conversation

@AmesingFlank
Copy link
Copy Markdown
Contributor

@AmesingFlank AmesingFlank commented Mar 8, 2026

test plan: create a new python file with

from torch._higher_order_ops.triton_kernel_wrap import get_mutated_tensors

and see that this no longer errs on circular import

Stack from ghstack (oldest at bottom):

[ghstack-poisoned]
@pytorch-bot
Copy link
Copy Markdown

pytorch-bot bot commented Mar 8, 2026

🔗 Helpful Links

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

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

✅ You can merge normally! (1 Unrelated Failure)

As of commit 094df9f with merge base 82374f2 (image):

FLAKY - The following job failed but was likely due to flakiness present on trunk:

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

AmesingFlank added a commit that referenced this pull request Mar 8, 2026
@pytorch-bot
Copy link
Copy Markdown

pytorch-bot bot commented Mar 8, 2026

This PR needs a release notes: label

If your changes are user facing and intended to be a part of release notes, please use a label starting with release notes:.

If not, please add the topic: not user facing label.

To add a label, you can comment to pytorchbot, for example
@pytorchbot label "topic: not user facing"

For more information, see
https://github.com/pytorch/pytorch/wiki/PyTorch-AutoLabel-Bot#why-categorize-for-release-notes-and-how-does-it-work.

@AmesingFlank
Copy link
Copy Markdown
Contributor Author

@pytorchmergebot merge

@pytorch-bot pytorch-bot bot added the ciflow/trunk Trigger trunk jobs on your pull request label Mar 8, 2026
@Skylion007 Skylion007 added the topic: not user facing topic category label Mar 8, 2026
@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

EmanueleCoradin pushed a commit to EmanueleCoradin/pytorch that referenced this pull request Mar 30, 2026
…6836)

test plan: create a new python file with

```
from torch._higher_order_ops.triton_kernel_wrap import get_mutated_tensors
```

and see that this no longer errs on circular import

Pull Request resolved: pytorch#176836
Approved by: https://github.com/Skylion007
@github-actions github-actions bot deleted the gh/AmesingFlank/7/head branch April 8, 2026 02:23
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 Merged topic: not user facing topic category

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants