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

WIP: Add a bf16 datatype to sfnp #914

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

WIP: Add a bf16 datatype to sfnp #914

wants to merge 1 commit into from

Conversation

KyleHerndon
Copy link
Contributor

I don't fully understand the surrounding code, but I made this thin wrapper and it seems to mostly work. Let me know if you see any glaring issues, because I'm debugging Flux BF16 on top of this and can't pinpoint the issue.

It probably makes sense to move the type definition to another file, I was just hacking on it. Trying to figure out where things belong too.

(For reference I tried working with the __bf16 clang type, but it didn't have enough support so I decided to make this from scratch/uint16 instead)

@KyleHerndon KyleHerndon changed the title Add a bf16 datatype to sfnp WIP: Add a bf16 datatype to sfnp Feb 5, 2025
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.

1 participant