Skip to content

Conversation

@benjaminglass1
Copy link
Collaborator

@benjaminglass1 benjaminglass1 commented Oct 3, 2024

Stack from ghstack (oldest at bottom):

Add an additional check that scalars wrapped to 0-D tensors by dynamo are actually 0-D. This fixes a bug where a 1-D tensor was mistakenly converted to a scalar value rather than passed as a pointer.

cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @yf225 @chenyang78 @kadeng @muchulee8 @ColinPeppler @amjames @desertfire @chauhang @aakhundov

[ghstack-poisoned]
@pytorch-bot
Copy link

pytorch-bot bot commented Oct 3, 2024

🔗 Helpful Links

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

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

✅ No Failures

As of commit 7134ea8 with merge base 4d3c0fc (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]
benjaminglass1 added a commit that referenced this pull request Oct 3, 2024
Add an additional check that scalars wrapped to 0-D tensors by dynamo
are actually 0-D.  This fixes a bug where a 1-D tensor was mistakenly
converted to a scalar value rather than passed as a pointer.

ghstack-source-id: 0023733
Pull Request resolved: #137303
@benjaminglass1 benjaminglass1 added the topic: not user facing topic category label Oct 3, 2024
@benjaminglass1 benjaminglass1 added the ciflow/trunk Trigger trunk jobs on your pull request label Oct 3, 2024
@benjaminglass1 benjaminglass1 self-assigned this Oct 3, 2024
@amjames
Copy link
Collaborator

amjames commented Oct 18, 2024

@benjaminglass1 is this ready to go?

@benjaminglass1
Copy link
Collaborator Author

@amjames Pending review, yes.

@amjames amjames requested a review from eellison October 18, 2024 19:42
@benjaminglass1
Copy link
Collaborator Author

@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

@github-actions github-actions bot deleted the gh/benjaminglass1/13/head branch November 18, 2024 02:10
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.

6 participants