-
Notifications
You must be signed in to change notification settings - Fork 295
FP8 enablement - add a pseudorandom number generator, add conversion methods #708
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
Changes from 39 commits
Commits
Show all changes
42 commits
Select commit
Hold shift + click to select a range
6f0735f
Add basic fp8 definitions and prn-generator
geyyer d3929cb
Format
geyyer 21481b4
Add fp8<->fp32 type_convert
geyyer f07a74d
Format
geyyer 5038b95
Split type_convert and cast_to/from_f8
geyyer 872093b
Format
geyyer be7e055
Minor fix
geyyer 9e24e2b
Minor fix
geyyer 185fb54
Move fp8 utils to a separate header
geyyer 4089bc6
Add elementwise ops
geyyer 4ddb62b
Add fp8_convert_sr
geyyer 653f951
Format
geyyer 2818735
Add element op
geyyer f2cf634
Merge branch 'develop' into lwpck-726
geyyer fd2e630
Eliminate magic numbers
geyyer 114c341
Split f8_convert_sr in host and device
geyyer a30a012
Format
geyyer b9bf7fb
Add some constexpr
geyyer dbd20ec
Add a datatype test
geyyer ed0cb72
Format
geyyer 0818710
Another format
geyyer 0c46096
Add fp8<->fp16 tests
geyyer 052ab48
Update type_converts
geyyer c1ba7c6
Format
geyyer 532bbe5
Add fp16 casting functions
geyyer 502942f
Format
geyyer 789862c
Use seed as a runtime arg
geyyer c5e2295
Use element location for PRNG
geyyer 8107bbb
Format
geyyer cf0845a
Merge branch 'develop' into lwpck-726
geyyer 2e7e564
Add fp8<->fp16 to PassThrough element op
geyyer 8386868
Clean up
geyyer ee568bc
Merge branch 'develop' into lwpck-726
geyyer f1c2ec7
Merge host and device implementations
geyyer f730c3f
Add comments on rounding modes
geyyer f61c770
Remove leftover code
geyyer d6a666f
Put type_converts into a separate header
geyyer c208a8a
Put random number gen to a separate header
geyyer 562ec12
Rearrange f8_utils' namespaces
geyyer 08e263e
Refactor type_convert.hpp
geyyer 2ee1c0a
Move f8_t definition
geyyer a734203
Merge branch 'develop' into lwpck-726
geyyer File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.