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

Expose BFloat in Python bindings #8255

Merged
merged 1 commit into from
Jun 2, 2024
Merged

Conversation

jansel
Copy link
Contributor

@jansel jansel commented Jun 2, 2024

There are two parts to support for BFloat16 in Python:

  1. Ability to define kernels and AOT compile them [fixed in this PR]
  2. Ability to call kernels from Python

This fixes part 1, which is what I need for my use case. Part 2 is blocked on bfloat16 support in Python buffer protocols. See #6849 for more details.

There are two parts to support for BFloat16 in Python:
1) Ability to define kernels and AOT compile them [fixed in this PR]
2) Ability to call kernels from Python

This fixes part 1, which is what I need for my use case.  Part 2 is
blocked on bfloat16 support in Python buffer protocols. See halide#6849 for
more details.
@abadams abadams requested a review from halidebuildbots June 2, 2024 01:41
Copy link
Contributor

@steven-johnson steven-johnson left a comment

Choose a reason for hiding this comment

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

Thanks for the fix!

@steven-johnson steven-johnson merged commit 7ca95d8 into halide:main Jun 2, 2024
18 of 19 checks passed
jansel added a commit to pytorch/pytorch that referenced this pull request Jun 19, 2024
Requires halide/Halide#8255

ghstack-source-id: 237dae83a8e846d8b2e839dcf5389d9eeba22308
Pull Request resolved: #129036
jansel added a commit to pytorch/pytorch that referenced this pull request Jun 22, 2024
Requires halide/Halide#8255

ghstack-source-id: 5c70a851d647169c1881a6370e2235cc290065e7
Pull Request resolved: #129036
pytorchmergebot pushed a commit to pytorch/pytorch that referenced this pull request Jun 29, 2024
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