Conversation
|
|
@lsy323 we should include an accuracy correctness analysis in our benchmarking and documentation. |
JackCaoG
left a comment
There was a problem hiding this comment.
approve to unblock, mostly lgtm we can have a follow up pr to fix review comments
|
Hi @JackCaoG, @miladm, thank you for reviewing! Sorry for the delayed respond for the comments.
In this PR the unit test is included to verify the correctness of the fp8 dtype and matmul op. Let's have documentation in a separate PR (After e4m3 variants are ready) |
Add support for
torch.fp8e5m2dtype.Right now
torch_xla/csrc/tensor_util.cppcontains many duplicated codes, in the next PR I'll try to refactor it to make it cleaner.The other fp8 variants and will be added in the following PRs
Test:
Added fp8 unit test