Skip to content
This repository has been archived by the owner on Aug 7, 2024. It is now read-only.

[4/x] clean up casting: ToFloat8ConstrFunc -> hp_tensor_and_scale_to_float8 #348

Closed
wants to merge 1 commit into from

Conversation

vkuzo
Copy link
Contributor

@vkuzo vkuzo commented Jul 26, 2024

Stack from ghstack (oldest at bottom):

Summary:

Moves ToFloat8ConstrFunc to private, and creates
hp_tensor_and_scale_to_float8 as the official wrapper
which clearly describes what this function is doing.

A future PR will rename the scaling-aware functions to match this
naming.

Test Plan:

./test/test_everything.sh

Reviewers:

Subscribers:

Tasks:

Tags:

Differential Revision: D60310240

…float8

Summary:

Moves `ToFloat8ConstrFunc` to private, and creates
`hp_tensor_and_scale_to_float8` as the official wrapper
which clearly describes what this function is doing.

A future PR will rename the scaling-aware functions to match this
naming.

Test Plan:

```
./test/test_everything.sh
```

Reviewers:

Subscribers:

Tasks:

Tags:

[ghstack-poisoned]
@vkuzo
Copy link
Contributor Author

vkuzo commented Jul 26, 2024

@vkuzo has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 6ac2f82.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants