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
make float8 a1x128_w128x128 granularity serializeable
Summary:
Change the granularity for this scaling type from
`PerBlock((1, 128)), PerBlock((128, 128))` to `PerBlock([1, 128]), PerBlock([128, 128])`,
to get around the current limitation of config serialization not
supporting tuples.
Error when serializing tuples:
https://gist.github.com/vkuzo/ab4d6aec83cb98ad9417898d2c024a2c
Supporting tuples and lists would be a better long term fix, but the
workaround will unblock further work in the short term.
Test Plan:
```
pytest test/quantization/quantize_/workflows/float8/test_float8_tensor.py -s -x
```
Reviewers:
Subscribers:
Tasks:
Tags:
ghstack-source-id: 68799cc
ghstack-comment-id: 3480842282
Pull-Request: #3279
0 commit comments