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

Fix python custom ops tutorial #3299

Merged
merged 1 commit into from
Mar 19, 2025
Merged

Conversation

zou3519
Copy link
Contributor

@zou3519 zou3519 commented Mar 19, 2025

We tightned invariants in PyTorch 2.7 that exposed a bug with the python custom ops tutorial. This PR fixes said bug.

Fixes pytorch/pytorch#149425

Test Plan:

  • tested locally

We tightned invariants in PyTorch 2.7 that exposed a bug with the python
custom ops tutorial. This PR fixes said bug.

Test Plan:
- tested locally
Copy link

pytorch-bot bot commented Mar 19, 2025

🔗 Helpful Links

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

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

✅ No Failures

As of commit 9b4208c with merge base 270db76 (image):
💚 Looks good so far! There are no failures yet. 💚

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

@zou3519 zou3519 merged commit 08a9bcd into main Mar 19, 2025
20 checks passed
@zou3519 zou3519 deleted the fix_python_custom_ops_tutorial branch March 19, 2025 15:08
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.

python custom ops tutorial stopped working in PyTorch 2.7 RC1
3 participants