You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 7, 2024. It is now read-only.
Update on "[2/x] clean up casting functions: delayed scaling"
Summary:
Removes delayed scaling from `float8_tensor.py`. After this PR, the
invariant is that everything in `float8_tensor.py` requires the scale to
be calculated elsewhere. This moves the codebase towards separation of
concerns for calculating the scale (via various scaling strategies),
separated from creating an instance of `Float8Tensor`.
Note that stateful delayed scaling is the reason we need this separation.
Test Plan:
```
./test/test_everything.sh
```
Reviewers:
Subscribers:
Tasks:
Tags:
[ghstack-poisoned]
0 commit comments