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 NULL dereference in binary CPU ops #115183

Closed
wants to merge 4 commits into from

Conversation

malfet
Copy link
Contributor

@malfet malfet commented Dec 5, 2023

Targeted fix for #113037

A more fundamental one, where those functions are not even called for
empty tensors are coming later

cc @jgong5 @mingfeima @XiaobingSuper @sanchitintel @ashokei @jingxu10

Targeted fix for #113037

A more fundamental one, where those functions are not even called for
empty tensors are coming later
@pytorch-bot pytorch-bot bot added the release notes: foreach_frontend release notes category label Dec 5, 2023
Copy link

pytorch-bot bot commented Dec 5, 2023

🔗 Helpful Links

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

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

✅ No Failures

As of commit 5ea91b0 with merge base 7843df6 (image):
💚 Looks good so far! There are no failures yet. 💚

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

@github-actions github-actions bot added the module: cpu CPU specific problem (e.g., perf, algorithm) label Dec 5, 2023
@malfet
Copy link
Contributor Author

malfet commented Dec 5, 2023

@pytorchbot merge

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

@malfet malfet added topic: bug fixes topic category release notes: python_frontend release notes category labels Dec 5, 2023
@pytorchmergebot
Copy link
Collaborator

@malfet
Copy link
Contributor Author

malfet commented Dec 5, 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

@pytorchmergebot
Copy link
Collaborator

Merge failed

Reason: 1 jobs have failed, first few of them are: trunk / macos-12-py3-arm64 / test (default, 2, 3, macos-m1-12)

Details for Dev Infra team Raised by workflow job

@malfet
Copy link
Contributor Author

malfet commented Dec 6, 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

huydhn pushed a commit that referenced this pull request Dec 6, 2023
Targeted fix for #113037

A more fundamental one, where those functions are not even called for
empty tensors are coming later

Pull Request resolved: #115183
Approved by: https://github.com/drisspg, https://github.com/atalman, https://github.com/huydhn
huydhn pushed a commit that referenced this pull request Dec 6, 2023
Targeted fix for #113037

A more fundamental one, where those functions are not even called for
empty tensors are coming later

Pull Request resolved: #115183
Approved by: https://github.com/drisspg, https://github.com/atalman, https://github.com/huydhn
huydhn added a commit that referenced this pull request Dec 6, 2023
* Fix NULL dereference in binary CPU ops (#115183)

Targeted fix for #113037

A more fundamental one, where those functions are not even called for
empty tensors are coming later

Pull Request resolved: #115183
Approved by: https://github.com/drisspg, https://github.com/atalman, https://github.com/huydhn

* Fix build after conflict resolution

* Also include #113262 to pass the test

---------

Co-authored-by: Nikita Shulga <nshulga@meta.com>
malfet added a commit that referenced this pull request Dec 9, 2023
Targeted fix for #113037

A more fundamental one, where those functions are not even called for
empty tensors are coming later

Cherry-pick of release #115183 into release/2.2 branch

(cherry picked from commit b56b002)
malfet added a commit that referenced this pull request Dec 9, 2023
Targeted fix for #113037

A more fundamental one, where those functions are not even called for
empty tensors are coming later

Cherry-pick of release #115183 into release/2.2 branch

(cherry picked from commit b56b002)
malfet added a commit that referenced this pull request Dec 9, 2023
Targeted fix for #113037

A more fundamental one, where those functions are not even called for
empty tensors are coming later

Cherry-pick of release #115183 into release/2.2 branch

(cherry picked from commit b56b002)
hyperfraise pushed a commit to hyperfraise/pytorch that referenced this pull request Dec 21, 2023
Targeted fix for pytorch#113037

A more fundamental one, where those functions are not even called for
empty tensors are coming later

Pull Request resolved: pytorch#115183
Approved by: https://github.com/drisspg, https://github.com/atalman, https://github.com/huydhn
hyperfraise pushed a commit to hyperfraise/pytorch that referenced this pull request Dec 21, 2023
Targeted fix for pytorch#113037

A more fundamental one, where those functions are not even called for
empty tensors are coming later

Pull Request resolved: pytorch#115183
Approved by: https://github.com/drisspg, https://github.com/atalman, https://github.com/huydhn
ZhiweiYan-96 pushed a commit to ZhiweiYan-96/pytorch that referenced this pull request Dec 22, 2023
Targeted fix for pytorch#113037

A more fundamental one, where those functions are not even called for
empty tensors are coming later

Pull Request resolved: pytorch#115183
Approved by: https://github.com/drisspg, https://github.com/atalman, https://github.com/huydhn
@malfet malfet deleted the malfet/fix-float16-cpu-crashes branch January 20, 2024 03:01
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 module: cpu CPU specific problem (e.g., perf, algorithm) release notes: foreach_frontend release notes category release notes: python_frontend release notes category topic: bug fixes topic category
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants