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

FP8 with Tensor Reorg #760

Draft
wants to merge 27 commits into
base: master
Choose a base branch
from
Draft

FP8 with Tensor Reorg #760

wants to merge 27 commits into from

Conversation

ademeure
Copy link
Contributor

Current draft of the massive changes for FP8 with "tensors" being passed around instead of pointers. Only putting this up now so others can give feedback on the overall design & style (not ready to be integrated yet).

It's simpler and more elegant than my previous version of FP8 by far in my opinion, and it solves a few other problems making things cleaner elsewhere. But it does change a lot of code...!

…tocasting + make main_stream default. New gpt2_forward() feels clean!
…nd adamw (~70% due to sparse accesses/bank clashes)
@ademeure ademeure marked this pull request as draft September 19, 2024 04:25
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