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

Use .scalar_type() in AT_DISPATCH #154

Merged
merged 1 commit into from
Nov 7, 2024
Merged

Use .scalar_type() in AT_DISPATCH #154

merged 1 commit into from
Nov 7, 2024

Conversation

malfet
Copy link
Contributor

@malfet malfet commented Nov 7, 2024

As AT_DISPATCH_FLOATING_TYPES(x.type() pattern is deprecated since pytorch/pytorch#17996

As `AT_DISPATCH_FLOATING_TYPES(x.type()`  pattern is deprecated since pytorch/pytorch#17996
@jermenkoo
Copy link

Beat me to it by a few minutes! :)

Copy link
Contributor

@Luthaf Luthaf left a comment

Choose a reason for hiding this comment

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

Thanks a lot!

@Luthaf Luthaf merged commit b003104 into lab-cosmo:main Nov 7, 2024
9 checks passed
@Luthaf
Copy link
Contributor

Luthaf commented Nov 7, 2024

If I may @malfet, could you give a quick look at pytorch/pytorch#131340, and/or recommend a different reviewer?

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.

3 participants