-
Notifications
You must be signed in to change notification settings - Fork 196
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[cleanup][1/x] make hp_tensor_to_float8_dynamic only work with hp inputs
Summary: `hp_tensor_to_float8_dynamic` should only work with high precision inputs, logic which checks for the input being already in float8 up to the callsites to make it more explicit and easier to follow. Test Plan: CI Reviewers: Subscribers: Tasks: Tags: ghstack-source-id: c7801ee07e4da620a0a2d93454710b4e8e120ee1 ghstack-comment-id: 2560319845 Pull Request resolved: #1458
- Loading branch information
Showing
4 changed files
with
28 additions
and
22 deletions.
There are no files selected for viewing
This file contains 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 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 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 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