GitHub Repo
Transformers Community Reports FP8 Dequantization Bug That May Silently Alter Weights When Loading Partial Blocks on CPU
On November 11, the Transformers community reported that CPU loading of fine-grained FP8 weights with incomplete boundary blocks may apply incorrect scale factors. The discussion includes an offline reproduction and another user’s operation-level validation, but no related fix or official release has been reported.

The Transformers GitHub community reported a quantized-loading bug on November 11: in environments without a GPU or XPU, certain fine-grained FP8 checkpoints may load successfully while their restored weights are incorrect. The trigger is data in an edge of the quantized matrix that does not fill a complete block. Current evidence comes from a manually created small model and an operation-level test; it does not establish that all FP8 models are affected. Issue report
The official documentation explains that fine-grained FP8 quantizes weights in two-dimensional blocks, with a default size of 128×128, and uses corresponding scale information for each block. This makes block boundaries part of the format semantics that must be preserved when restoring weights. The documentation also lists GPU and software requirements, so CPU dequantization tests should not be treated as performance evidence for native FP8 accelerated inference. Quantization documentation
The report says the automatic CPU dequantization path infers block size by dividing the matrix dimensions by the scale grid dimensions. If a matrix has 130 rows and the scale grid has two rows, the code infers a block size of 65 rows. The correct boundaries should be one block covering the first 128 rows and another covering the remaining two. On November 12, another user said they had run a minimal test on the main branch, where 63 of the 130 rows received the wrong scale factor. This validation concerns a single operation, not a full-model quality evaluation. Reproduction and discussion
For engineering teams, this means that “loading successfully” is not enough to prove that model conversion is correct. When using CPU hosts to inspect, export, or compare quantized weights, consider adding element-by-element comparisons for boundary blocks and checking whether matrix dimensions are multiples of the configured block size. These are verification recommendations based on the bug mechanism, not a confirmed official fix.
As of the time of review, the issue remained open, and the page listed no related branch or proposed fix. One participant said they were willing to unify block handling and add CPU tests. Follow-up should track maintainer confirmation, regression tests for boundary blocks, and inclusion in an official release. The resulting output deviation on actual models and the range of affected checkpoints have yet to be measured. Issue status