-
Notifications
You must be signed in to change notification settings - Fork 207
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: 5aa5aaf6e776fe9bda230cebd0224404e0584372 ghstack-comment-id: 2560319845 Pull Request resolved: #1458
- Loading branch information
Showing
3 changed files
with
13 additions
and
10 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