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

remove casts to getter in python_cpp_function.h #100065

Closed
wants to merge 1 commit into from
Closed

Conversation

dagitses
Copy link
Collaborator

@dagitses dagitses commented Apr 26, 2023

remove casts to getter in python_cpp_function.h

Summary:
These were triggering the warning -Wcast-function-type-strict and
breaking the build on my machine.

Test Plan: Rely on CI.

cc @ezyang @albanD @zou3519 @gqchen @pearu @nikitaved @soulitzer @lezcano @Varal7

@pytorch-bot
Copy link

pytorch-bot bot commented Apr 26, 2023

🔗 Helpful Links

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

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

✅ No Failures

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

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

@dagitses dagitses added the topic: not user facing topic category label Apr 26, 2023
@dagitses dagitses force-pushed the pr100065 branch 2 times, most recently from 4dc3ea6 to 682345f Compare April 26, 2023 05:43
Summary:
These were triggering the warning `-Wcast-function-type-strict` and
breaking the build on my machine.

Test Plan: Rely on CI.
@dagitses dagitses added the ciflow/trunk Trigger trunk jobs on your pull request label Apr 26, 2023
@dagitses dagitses marked this pull request as ready for review April 26, 2023 09:09
@dagitses dagitses added the module: autograd Related to torch.autograd, and the autograd engine in general label Apr 26, 2023
Copy link
Contributor

@ezyang ezyang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sure why not

@ezyang
Copy link
Contributor

ezyang commented Apr 26, 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

@albanD albanD added the triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module label Apr 26, 2023
@dagitses dagitses deleted the pr100065 branch April 26, 2023 19:17
tfsingh pushed a commit to tfsingh/pytorch that referenced this pull request Apr 29, 2023
remove casts to `getter` in python_cpp_function.h

Summary:
These were triggering the warning `-Wcast-function-type-strict` and
breaking the build on my machine.

Test Plan: Rely on CI.

Pull Request resolved: pytorch#100065
Approved by: https://github.com/ezyang
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 merging module: autograd Related to torch.autograd, and the autograd engine in general open source topic: not user facing topic category triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants