Skip to content

Respect default dtype #3798

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

Merged
merged 3 commits into from
Aug 5, 2022
Merged

Conversation

peterbell10
Copy link
Contributor

Prior to pytorch/pytorch#82241, the python API never actually passed nullopt
and so the OrFloat path was never tested.

Prior to the linked PR, the python API never actually passed nullopt
and so the `OrFloat` path was never tested.
@peterbell10 peterbell10 marked this pull request as ready for review July 30, 2022 15:15
@peterbell10
Copy link
Contributor Author

@JackCaoG ping

Copy link
Collaborator

@JackCaoG JackCaoG left a comment

Choose a reason for hiding this comment

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

Thanks!

@JackCaoG
Copy link
Collaborator

JackCaoG commented Aug 5, 2022

@peterbell10 Test seems to be passing, I guess I can directly merge this pr?

@peterbell10
Copy link
Contributor Author

peterbell10 commented Aug 5, 2022

Yes this change makes sense on its own. I was only using the pin to test that it fixed the xla problems in the main pytorch PR.

@JackCaoG JackCaoG merged commit 7b6747d into pytorch:master Aug 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants