Shared-scale block model #
A block code represents lanes rational values with one binary exponent and one integer
significand per lane. Quantization is contextual because the shared exponent is supplied by the
caller rather than inferred by the universal format.
The organization follows the Open Compute Project microscaling model while remaining independent of a particular element width or scale-selection policy.
Reference #
- Open Compute Project, OCP Microscaling Formats (MX) Specification, Version 1.0 (2023): https://www.opencompute.org/documents/ocp-microscaling-formats-mx-v1-0-spec-final-pdf.
Exact rational multiplier selected by a shared binary exponent.
Instances For
Decode every lane using the one scale stored in the block.
Instances For
Exact block observation retaining the selected scale and stored significands.
Forgetting this observation decodes the rational vector; it discards the choice of representation.
Instances For
Quantization at a caller-selected scale: retain the exponent and round each scaled lane to the nearest integer, with ties to even.