Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Foreach kernel codegen in inductor #99975

Closed
wants to merge 96 commits into from
Closed

Foreach kernel codegen in inductor #99975

wants to merge 96 commits into from

Conversation

mlazos
Copy link
Contributor

@mlazos mlazos commented Apr 25, 2023

design doc

Add foreach kernel codegen for a single overload of foreach add in Inductor. Coverage will expand to more ops in subsequent PRs.

example

cc @soumith @voznesenskym @penguinwu @anijain2305 @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @Xia-Weiwen @wenzhe-nrv @jiayisunx @peterbell10 @desertfire

@pytorch-bot
Copy link

pytorch-bot bot commented Apr 25, 2023

🔗 Helpful Links

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

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

✅ No Failures

As of commit 0e8b6ac:
💚 Looks good so far! There are no failures yet. 💚

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

torch/_inductor/lowering.py Outdated Show resolved Hide resolved
torch/_inductor/ir.py Outdated Show resolved Hide resolved
torch/_inductor/codegen/triton.py Outdated Show resolved Hide resolved
torch/_inductor/codegen/triton_foreach.py Show resolved Hide resolved
torch/_inductor/codegen/triton_foreach.py Outdated Show resolved Hide resolved
torch/_inductor/codegen/triton_foreach.py Show resolved Hide resolved
torch/_inductor/codegen/triton_foreach.py Outdated Show resolved Hide resolved
torch/_inductor/codegen/triton_foreach.py Show resolved Hide resolved
torch/_inductor/codegen/triton_foreach.py Outdated Show resolved Hide resolved
torch/_inductor/scheduler.py Outdated Show resolved Hide resolved
torch/_inductor/scheduler.py Outdated Show resolved Hide resolved
torch/_inductor/scheduler.py Show resolved Hide resolved
@mlazos mlazos requested a review from jansel May 23, 2023 01:30
@mlazos
Copy link
Contributor Author

mlazos commented May 25, 2023

@pytorchbot merge

@pytorch-bot pytorch-bot bot added the ciflow/trunk Trigger trunk jobs on your pull request label May 25, 2023
@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

@mlazos
Copy link
Contributor Author

mlazos commented May 25, 2023

@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

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.

None yet

5 participants