FP8 Formats for Deep Learning
Paper · 2022 · Paulius Micikevicius, Dusan Stosic, Neil Burgess et al.
Summary
Training a neural network involves moving and manipulating large collections of numbers. Reducing the space occupied by those numbers can ease demands on memory and arithmetic hardware, but it also removes numerical distinctions that learning may need. FP8 Formats for Deep Learning investigates how far this reduction can go without materially damaging the resulting predictions. Its proposal is an interchange format with complementary encodings called E4M3 and E5M2. Both fit into 8 bits; their different allocations of exponent and mantissa bits support different numerical requirements. The contribution concerns efficient models and compression, with an emphasis on preserving task quality while making a smaller representation usable across training and inference.
The exponent determines the scale of a floating-point value, while the mantissa distinguishes nearby values at that scale. E4M3 devotes 4 bits to the exponent and 3 to the mantissa; E5M2 uses 5 and 2, respectively. The authors assign the former primarily to learned weights and forward activations, and the latter to gradients, which guide parameter changes during learning. They also alter E4M3’s handling of exceptional values. Removing infinity encodings and reducing the patterns reserved for NaNs makes additional finite magnitudes available, extending its maximum magnitude from 240 to 448. E5M2 preserves conventional IEEE special-value behavior because its existing range is already adequate in the reported studies. The proposal therefore combines distinct compromises instead of asking a single encoding to satisfy every numerical role.
Using these encodings successfully requires more than casting existing arrays into a smaller datatype. Values are multiplied by a scale before conversion, so their magnitudes occupy a useful portion of the representable range. Some workloads tolerate a shared adjustment across related tensors; others require more local scales. The main experiments restrict inputs to matrix multiplications and convolutions, while surrounding computation retains wider precision. FP8 is simulated by restricting values to its representable levels before carrying out arithmetic in FP16 or bfloat16. This establishes evidence about numerical representation, without constituting a benchmark of native FP8 instruction speed or energy consumption.
The training study includes convolutional, recurrent, and attention-based architectures across classification, translation, and language prediction. Architecture, initialization, and optimizer settings follow the higher-precision references. The authors generally find task quality comparable to the variation between ordinary training runs, although MobileNet v2 remains an acknowledged exception. Because the bfloat16 reference had not finished, the comparison for language experiments reaching 175B parameters is reported at the 75% training mark. Separate inference experiments favor FP8 over the tested int8 conversions. A particularly informative analysis concerns a GPT network on wikitext103: its bfloat16 perplexity is 10.19, while converting matrix-operation inputs and residual paths with shared exponent bias 7 gives 12.59. Calibrated scaling produces 10.44 for that broader FP8 setting. The conclusion is substantial but conditional: compact floating point can preserve useful behavior when encoding, scale selection, and precision boundaries are designed together.
Interesting ideas
Match representation to numerical purpose. Data that share an array datatype need not share the same range requirements. The distinction between forward values and gradients motivates complementary encodings instead of a universal compromise. This principle applies to compressed scientific data, approximate numerical services, and compact statistical state: identify which distinctions each quantity must preserve before deciding how to encode it. A uniform storage width can still accommodate different semantic or computational roles.
Keep adaptation outside the stable encoding. The authors retain fixed exponent biases and let software scale individual tensors. This separates the shared binary contract from adjustments needed by particular inputs. The same arrangement can help any system that must support diverse distributions without repeatedly changing its storage specification. Explicit adaptation metadata makes local flexibility compatible with a common representation, provided every consumer knows how to interpret and reverse the adjustment.
Evaluate compatibility before spending the last available pattern. E4M3 recovers finite values from exceptional encodings, yet stops short of removing signed zero and signed NaN representations. The authors judge the remaining compatibility useful enough to preserve. Engineers can reuse this decision process whenever a compact format has scarce states: weigh the practical benefit of an additional representable case against the algorithms and assumptions that a changed convention would disrupt.
Introduce approximation at a named boundary. The principal experiments target inputs to computationally intensive operations and leave other parts wider. This makes the intervention understandable and testable. A similar strategy helps when compressing indexes, accelerating simulators, or introducing approximate arithmetic into an established service. Restrict a clearly described interface first, establish its consequences, and treat each subsequent expansion as a separate claim requiring evidence.
Separate representability tests from execution claims. Restricting values to FP8 levels while retaining wider arithmetic lets the authors investigate large workloads without committing to a particular hardware pipeline. That separation is useful whenever an interface can be studied independently of its implementation. It supports early numerical evaluation, while keeping questions about throughput, accumulation, memory traffic, and energy attached to the systems experiments that actually measure them.
Preserve the reference procedure during comparison. Unchanged initialization, architecture, and optimizer settings reduce ambiguity about what caused the result. This experimental discipline transfers well beyond neural training. A grammar revision, storage transformation, or statistical approximation becomes easier to assess when unrelated choices remain stable. Recovery obtained only after further tuning answers a different question from compatibility with an existing procedure.
Expand scope to discover hidden dependencies. Quantizing residual paths exposes a scaling problem that is less apparent when only matrix-operation inputs are affected. The broader intervention makes a supporting requirement visible. Researchers can use this pattern in other systems by deliberately moving the boundary of a successful approximation. Failure under expansion can identify assumptions that an initial positive result left concealed.
Deep dive: FP8 Formats for Deep Learning
FP8 Formats for Deep Learning explains how two compact floating-point encodings, scaling, and mixed precision preserve learning quality. · about 37 minutes to read
How Mova uses it
Mova’s language core relies on explicit structure, rules, learned parameters, and graph knowledge. Its assessed CPU path and its separate GPU parser have different numerical and implementation roles. The connection to FP8 is therefore selective. The strongest immediate transfers concern experimental design, approximation contracts, and explicit conversion semantics. Direct FP8 use would be a separate engineering investigation, especially for the GPU parser; the digest establishes neither an FP8 implementation nor an FP8 measurement. The status marks below describe proposed relationships to existing mechanisms, and every suggested transfer remains unverified until evaluated within Mova.
Idea: Give different numerical roles different representation policies. Where: FP8 Binary Interchange Format. Area: numerical representation. Mova: частково є (CPU reference and GPU approximants, described in README.md and docs/architecture.md). Mova already distinguishes execution paths, but that does not establish tensor-specific precision choices. A GPU-parser experiment could distinguish stored parameters, forward intermediates, and gradients before evaluating a compact representation. The paper motivates this separation; it does not show which policy would preserve Mova’s parsing behavior.
Idea: Keep scaling as explicit metadata around a fixed encoding. Where: Exponent bias. Area: numerical interfaces. Mova: нове. This is a proposed FP8-related extension, with implementation status beyond the digest unknown. An experimental numerical component could retain its encoding identity, scale, and conversion policy together, so readers and diagnostics can reconstruct what a stored quantity means. Why Mova: its transparent interfaces would benefit from inspectable numerical assumptions instead of adjustments hidden inside backend operations.
Idea: Preserve useful conventions when reclaiming representation space. Where: Special value representations. Area: compatibility. Mova: частково є (serialized relation identifiers in en/src/gram.rs and en/src/store.rs). The digest records attention to keeping established identifiers stable when extending the relation catalog. FP8 supplies an analogous design question: whether a marginal capacity gain justifies breaking consumer assumptions. Mova could make that tradeoff explicit when designing compact graph records or numerical formats, without assuming floating-point conventions apply to linguistic identifiers.
Idea: Put approximation at an explicitly named interface. Where: Training. Area: execution architecture. Mova: вже є (CPU/GPU stage contracts in README.md and docs/architecture.md). Existing GPU stages are described as exact or measured approximants. The paper reinforces the need to specify precisely which inputs are altered and which outputs retain their previous representation. A proposed FP8 stage would need that same declaration; calling an entire workflow low precision would conceal the actual scope of the intervention.
Idea: Investigate numerical effects separately from backend speed. Where: Empirical Results. Area: evaluation. Mova: частково є (measured CPU/GPU agreement and executable approximants described in docs/architecture.md). A representability-only experiment could test whether compact tensor values change parser decisions before implementing specialized arithmetic. That result would concern linguistic quality under quantization, while any speed or resource claim would require a separate measurement of the eventual backend.
Idea: Compare against an unchanged reference procedure. Where: Training. Area: experimental controls. Mova: вже є (regression gates in docs/architecture.md and tested self-revision described in README.md). Mova already requires evidence before admitting changes. The transferable refinement is to keep training data, feature choices, and downstream readers stable during an initial precision experiment. Otherwise a recovered score could reflect several interventions at once, making the numerical contribution difficult to identify.
Idea: Expand a successful approximation deliberately. Where: Per-tensor scaling factors. Area: robustness evaluation. Mova: частково є (stage-specific GPU approximation boundaries in README.md). A compact parser experiment could begin at selected numerical inputs, then separately extend to additional intermediates. Each expansion would have its own agreement and task-quality checks. The residual analysis provides the experimental pattern, while the appropriate boundaries for Mova would depend on its actual implementation.
Idea: Evaluate whether shared calibration hides local failures. Where: Per-tensor scaling factors. Area: statistics and calibration. Mova: нове. The digest does not establish numerical calibration at this granularity, so this is a proposal rather than a confirmed missing feature. An approximation could be inspected by component or tensor group before accepting a global setting. Why Mova: aggregate agreement can conceal a small subsystem whose values require a different range adjustment.
Idea: Distinguish limited range from limited resolution. Where: FP8 Binary Interchange Format and Exponent bias. Area: error analysis. Mova: нове. A numerical diagnostic could classify changes caused by values exceeding the available range separately from changes caused by coarse spacing among representable values. Neither diagnosis should be inferred solely from a reduced parser score. Why Mova: different causes suggest different repairs, such as changing scale, changing encoding, or retaining wider precision.
Idea: Record saturation as an observable event. Where: Aspects of FP8 Usage in Deep Learning. Area: diagnostics. Mova: нове. A proposed FP8 path could count and locate finite values clipped during conversion, attaching those observations to the run configuration. Clipping would remain an implementation event rather than proof that a linguistic error was caused by overflow. Why Mova: numerical receipts would make an opaque quality regression easier to investigate alongside parse and frame evidence.
Idea: Keep exceptional values distinct from ordinary clipping. Where: Aspects of FP8 Usage in Deep Learning. Area: numerical semantics. Mova: нове. E4M3’s lack of infinity makes conversion policy especially important. Any corresponding Mova experiment should state how incoming infinities and NaNs are handled, separately from finite values outside the permitted range. Why Mova: explicit failure meanings fit its practice of retaining unsupported outcomes instead of silently treating them as successful ordinary results.
Idea: Do not copy an overflow policy across formats without testing it. Where: Aspects of FP8 Usage in Deep Learning. Area: training control. Mova: нове. The paper explains why skipping updates after overflow can become unsuitable when the representable range narrows. A compact training experiment should therefore evaluate its update policy as part of the design. Why Mova: a familiar safety response can itself disrupt learning when the numerical conditions change.
Idea: Restore scale where the operation permits it cheaply. Where: Aspects of FP8 Usage in Deep Learning. Area: numerical optimization. Mova: нове. Linear numerical components could examine whether correction belongs after a combined operation rather than on every contributing value. This is an implementation hypothesis and would need both correctness and cost checks. Why Mova: transparent algebraic transformations could reduce overhead while keeping the relationship between stored and interpreted quantities explicit.
Idea: Keep rounding policy separate from the format name. Where: Aspects of FP8 Usage in Deep Learning. Area: reproducibility. Mova: частково є (fixed seeds and repeatability requirements in README.md). An FP8 experiment would need to record rounding alongside encoding, scale, and backend. The paper allows different rounding choices, so naming E4M3 alone cannot identify a reproducible procedure. Mova’s deterministic reference makes that missing distinction particularly consequential.
Idea: Describe component coverage before claiming workflow coverage. Where: Training. Area: reporting. Mova: вже є (bounded configured capabilities in docs/hybrid-system.md). Mova already separates successful operations from broader task understanding. The corresponding numerical discipline is to identify which tensors and operations were tested before making a pipeline-level statement. A positive result for matrix inputs would not establish that retained graph state, exact mathematics, or all parser intermediates can use the same approximation.
Idea: Carry the interpretation contract through recursive calls. Where: Aspects of FP8 Usage in Deep Learning and FP8 Binary Interchange Format. Area: operational interfaces. Mova: частково є (nested-call identities, budgets, and outcomes in docs/hybrid-system.md). A numerical capability called recursively could return its approximation profile with its observation. This is a transfer from FP8’s encoding-plus-policy distinction, instead of a procedure demonstrated in the paper. It would help a caller avoid interpreting a compact approximate result as exact evidence.
Idea: Measure multiple architectural families before generalizing. Where: Training. Area: evaluation coverage. Mova: частково є (separate parser, reader, and school assessments in docs/architecture.md). A numerical intervention could be assessed across parsing and the consumers that rely on its trees. The authors’ architectural diversity motivates breadth, but Mova’s relevant diversity is its own set of task paths. Agreement on one component would leave effects on frames and retained knowledge unresolved.
Idea: Treat workload size as a possible numerical variable. Where: Introduction and Empirical Results. Area: robustness. Mova: частково є (bounded workload reporting in tools/dictindex/README.md). The paper tests large networks because earlier studies found size-dependent behavior. An analogous Mova investigation could vary document or batch characteristics where they affect the numerical path. This does not imply that neural parameter count and document length are interchangeable; it suggests testing size assumptions rather than extending a small probe automatically.
Idea: Preserve named exceptions in the final conclusion. Where: Training, image-classification discussion. Area: scientific reporting. Mova: вже є (explicit limits and dated application evidence in README.md and the application ledger). MobileNet v2 demonstrates why a broad positive finding should retain a visible exception. Mova could apply the same discipline to a rule or approximation that improves aggregate results while harming a known construction, language variety, or downstream reader.
Idea: Identify incomplete comparisons by their actual checkpoint. Where: Training, language-results discussion. Area: evaluation provenance. Mova: частково є (source-bound run states and completion gates in tools/enrich/README.md). The unfinished higher-precision reference limits the largest paired comparison. Mova can reuse that reporting principle by distinguishing completed candidate work from completed reference evidence. A successful artifact alone does not make every intended comparison complete.
Idea: Compare quantization methods under compatible calibration conditions. Where: Inference. Area: fair comparison. Mova: нове. If several numerical representations are investigated, they could share the same input coverage and comparable calibration opportunities before conclusions are drawn. This would be a new experimental protocol, not a claim about present support. Why Mova: differences in preparation can otherwise be mistaken for advantages of the representation itself.
Idea: Keep calibration material separate from final assessment. Where: Inference. Area: evaluation design. Mova: вже є (teacher-separated assessment in README.md and held-out exclusions in tools/dictindex/README.md). The paper’s calibration choices motivate careful bookkeeping around any proposed compact path. For Mova, scale selection should not quietly consume frozen assessment evidence. This proposed application extends an existing separation principle; the paper does not provide a complete Mova-specific calibration split.
Idea: Evaluate downstream decisions as well as numerical agreement. Where: Training and Inference. Area: task evaluation. Mova: частково є (school controls, traceable choices, and CPU/GPU agreement in docs/architecture.md). The paper judges numerical restrictions through classification, translation, and perplexity outcomes. Mova could similarly check whether changed values alter dependency relations, frame roles, and answers. Numerical similarity alone would not establish preservation of the decisions that users depend on.
Idea: Separate lossy approximation from lossless storage compression. Where: Empirical Results and Conclusions. Area: data representation. Mova: вже є (byte-exact storage in pack and measured approximants in docs/architecture.md). FP8 deliberately merges numerical distinctions, whereas Mova’s packing tools preserve bytes. Any future integration should keep these guarantees distinct. A smaller file produced by an approximate numerical transformation would require quality evidence beyond the existing storage round-trip checks.
Idea: Reuse a numerical representation across training and deployment where justified. Where: Inference and Conclusions. Area: deployment. Mova: нове. A GPU-parser experiment could ask whether training under compact input conditions reduces later conversion difficulties. This would concern a specific numerical component, not Mova’s rule-based language core as a whole. Why Mova: aligned numerical conditions might simplify deployment, but their benefit must be measured against the existing wider-precision path.
The problem and its context
Numerical representation became a resource question
The paper starts from the growing computational demands of deep learning. Improving results had been accompanied by larger networks and expensive training. The authors point to Language Models are Few-Shot Learners, the Megatron-Turing work, PaLM, and OPT as examples of this pressure. Their introductory account describes training that occupies thousands of processors for weeks. Numerical storage is therefore part of a systems problem, rather than merely a choice of mathematical notation.
A number’s representation affects both its residence in memory and the hardware that processes it. Wider values demand more storage and data movement. Arithmetic pipelines must also accommodate their fields and required operations. The authors see a smaller floating-point type as a way to reduce these demands while retaining the advantages that had already made reduced-precision training practical.
The difficulty is that storage savings do not guarantee usable learning. A representation must preserve the magnitudes and distinctions that matter to a network’s calculations. Losing a distinction can be harmless in one operation and consequential in another. The paper’s central question is consequently about compatibility between numerical constraints and an existing learning process.
This framing explains why task quality carries so much weight in the experiments. A compact representation is not useful simply because its values fit in less space. The trained system must still solve the intended task. The authors therefore compare outcomes against wider-precision training, rather than treating compression as a sufficient result.
Earlier reductions had already changed practice
According to the paper, single precision was no longer the only established option for training. FP16, bfloat16, and TF32 had already made reduced precision part of practical computation. The proposal moves further along that direction, while retaining mixed precision as an organizing principle.
The authors also discuss much more aggressive reductions. Their references include BinaryConnect, DoReFa-Net, and XNOR-Net. These works establish a broader search for very small numerical representations. The FP8 paper’s account is that such approaches had not retained the quality required across many practical applications.
That historical assessment helps explain the selected compromise. The authors do not aim to minimize the number of possible values regardless of consequences. They retain floating-point structure and seek a width that can accommodate a broad range of existing workloads without changing the training recipe.
Alternative number systems receive a similar treatment. The introduction mentions logarithmic representations, posits, and a combination of logarithmic values with posit-style exponents. Convolutional Neural Networks using Logarithmic Data Representation belongs to this context. The authors argue that the demonstrated benefits had not justified adopting new arithmetic pipelines in practice. Compatibility with familiar floating-point behavior is therefore an important constraint on their own design.
The proposal continues earlier FP8 research
FP8 training predates this paper. The authors describe Wang and colleagues’ use of a format with 5 exponent bits for image classification, including CIFAR-10 and ILSVRC12 experiments. They also discuss Mellempudi and colleagues’ extension to larger convolutional systems and translation networks containing recurrent or attention-based components.
Those studies investigated more than stored input width. Their numerical procedures included questions about parameter updates and stochastic rounding. The present paper preserves the distinction between a representation and the surrounding training policy instead of treating those earlier choices as properties inherent in an FP8 name.
A further predecessor used complementary encodings with different exponent allocations. Its experiments extended across image, speech, and translation tasks. The recommendation to distinguish forward values from gradients therefore builds on an existing empirical direction.
The paper also credits Noune and colleagues with exploring range expansion through reduced exceptional-value encodings and with studying exponent-bias choices. Another cited work examined compact-format inference after wider-precision training. The authors’ contribution is a particular interchange specification, its rationale, and evaluation across a broad range of tasks and sizes.
Inference adds a different kind of difficulty
The introduction describes int8 as an established inference option. Yet converting floating-point-trained networks to fixed-point values can require calibration, and sometimes additional training that accounts for the conversion. The authors cite cases where quality remains difficult to recover.
FP8 is attractive in part because floating-point levels are distributed nonuniformly over numerical magnitude. Its representable values differ from those of a fixed-point representation. The authors suggest that this can help inference, while their experiments test specific conversion procedures rather than every possible integer alternative.
Training and post-training conversion remain different questions. During FP8 training, learning takes place under the numerical restrictions being investigated. Post-training conversion asks whether parameters learned under wider conditions remain effective after those restrictions are imposed. A positive result in either setting does not automatically settle the other.
The paper studies both because a common datatype could reduce the gap between learning and deployment. That is a practical motivation, not a claim that all calibration or implementation decisions disappear. Scale metadata, exceptional behavior, and the choice of wider operations remain part of the complete system.
The method, step by step
Start by deciding what the format specifies
An interchange format determines how a pattern of bits represents a number or a special value. It does not have to dictate the full arithmetic pipeline that consumes those bits. The authors make this distinction explicit because processors may use different vector or matrix instructions.
Their field notation is:
S.E.M
S is the sign bit. E identifies the exponent field, whose stored value includes a bias. M identifies the mantissa field. The periods separate fields; they do not express multiplication or a decimal fraction. Here, mantissa means the stored trailing part of the significand, excluding the implicit leading bit used for normal floating-point values.
E4M3 and E5M2 divide their available fields differently. The former has more mantissa capacity and less exponent capacity. The latter gives the exponent more room while accepting fewer mantissa distinctions. Both belong to the FP8 proposal because the authors find that different tensor roles require different compromises.
A tensor is a structured array of values. In these experiments it may contain parameters, intermediate activations, or gradients entering an operation. The assignment of an encoding concerns those numerical arrays, rather than individual words or examples in a dataset.
The general procedure can be understood as a sequence of boundary decisions:
Numerical boundaries in the FP8 experiments
The steps in order.
Understand why both encodings are available
Weights store learned parameters. Activations are values produced as data move through the network. Gradients convey how the learning objective changes with respect to quantities involved in training. These roles are related computationally, but they need not have similar magnitude distributions.
The authors’ recommendation gives E4M3 to weights and activations, while gradients use E5M2. More exponent capacity is useful when important magnitudes occupy a broader range. More mantissa capacity preserves additional distinctions among values within the available scale.
The recommendation is not an absolute requirement for every network. The paper acknowledges cases that can use either encoding alone. It also identifies cases that need the pair unless fewer arrays are restricted to FP8. This qualification ties the datatype decision to the scope of quantization.
“Use FP8” therefore leaves several questions unanswered. It must be followed by an encoding assignment, an inventory of affected tensors, a scaling procedure, and a statement about which computations remain wider. The paper’s method is the combination of those decisions.
Extend E4M3 without abandoning every convention
E4M3’s exponent field makes its available range relatively scarce. Reserving patterns for infinities and numerous NaNs would consume states that could otherwise represent finite magnitudes. The authors reclaim much of this space.
E4M3 contains no infinity representation. It also uses a single mantissa pattern for NaN, while retaining positive and negative forms. A NaN is a special marker indicating that a value is not an ordinary numerical result. Restricting the patterns devoted to such markers leaves more encodings for finite values.
The extension changes the range from 17 binades to 18. A binade is a magnitude interval organized around successive powers of 2. The additional finite levels listed by the authors begin with 256, 288, and 320; the sequence continues through 352, 384, and 416 to 448.
Without this allocation change, the largest magnitude would be 240. These values describe the representable number system, not an improvement in accuracy or a measured resource saving. The practical intent is to reduce clipping when scaled tensors contain large values.
The authors consider a further extension to 480. That alternative would give zero and NaN only a single encoding each, removing the positive-negative symmetry they retain. They reject the change because its limited range benefit does not justify the compatibility cost.
The compatibility argument is concrete. Existing floating-point properties can support comparison and sorting through integer operations. A representation change may invalidate assumptions used by those algorithms. The design therefore trades exceptional-value capacity selectively, rather than reclaiming every possible pattern.
Leave E5M2’s exceptional behavior conventional
E5M2 preserves IEEE treatment of signed zeros, infinities, and NaNs. Its relationship to FP16 is straightforward: the exponent structure remains familiar, while the mantissa is shorter. That makes conversion between the representations easier to accommodate.
The authors report that its exponent capacity supplies adequate range for individual tensors in their studies. Counting subnormal values, they describe coverage of 32 binades. Subnormal encodings extend representation toward smaller magnitudes outside the normal-value pattern.
Repeating E4M3’s special-value changes would offer a weaker benefit here. The smaller mantissa would yield only 3 additional finite magnitudes, and another binade matters less when the existing range is broader. The authors consequently see less reason to depart from established conventions.
This asymmetry is part of the proposal. E4M3 and E5M2 are not required to make identical compromises merely because they share a width. Their exceptional-value rules reflect different assessments of what would help the intended numerical roles.
Position values with software scaling
A fixed floating-point format covers a fixed numerical range. A tensor may occupy that range poorly: useful values can be too small, too large, or concentrated in an inconvenient region. Scaling moves its values before conversion.
The authors keep exponent biases of 7 for E4M3 and 15 for E5M2. A bias determines how the stored exponent field is interpreted. Changing that bias shifts the placement of the available range, but does not change the field widths.
Rather than making programmable bias the main adaptation mechanism, the paper favors software-managed scales. Each affected tensor is multiplied by a factor before its values are cast into FP8. The general aim is to bring its largest magnitude near the encoding’s maximum finite magnitude.
This is related to loss scaling in FP16 training, but the authors identify a stronger need for local treatment. FP8 may not cover the important values from several tensors under a common adjustment. Arrays of the same broad kind can still require different factors.
A software factor is also more flexible than an exponent shift. Programmable bias corresponds to factors restricted to powers of 2. A factor held in a wider numerical type can represent other adjustments. The paper therefore places adaptation in software while retaining a stable interchange definition.
The exact training-time scale-selection heuristic is outside the paper’s scope. That omission matters for reproduction: the format specifies representable values, but a working training implementation must additionally decide how to choose and maintain the factors.
Specify conversion and overflow behavior
After scaling, conversion restricts values to levels supported by the chosen encoding. Some distinctions disappear through rounding. Finite values whose magnitude exceeds the permitted range are saturated under the conversion policy described for the experiments.
Saturation maps an out-of-range finite value to the largest supported magnitude with the appropriate sign. It preserves an extreme finite result at the boundary, while acknowledging that its original magnitude cannot be retained.
The authors distinguish this from skipping weight updates after overflow. In the FP16 automatic mixed-precision procedure they discuss, an overflow can trigger an adjustment of loss scale and omission of an update. They argue that directly carrying this response into FP8 would omit too many updates because overflow becomes more frequent.
Incoming exceptional values require a separate rule. A wider NaN converts to an FP8 NaN. In E4M3, an incoming infinity also becomes a NaN because no infinity encoding exists. This is different from saturating an ordinary finite number that happens to exceed the available range.
The paper connects this exceptional behavior to systems that combine FP8 with FP16. Automatic loss-scale management may rely on detecting overflow-related special values. It also allows a nonsaturating conversion option for applications requiring stricter overflow handling.
Rounding remains an implementation choice. The authors mention nearest-even and stochastic alternatives without making either intrinsic to the interchange format. As a result, two implementations sharing the same encoding name may still need additional configuration details to identify their conversion behavior.
Keep arithmetic wider and restore scale
The proposed use follows mixed-precision practice. Compact values enter important calculations, while the calculations produce wider outputs. An implementation may convert such outputs before storing them, but that is a further boundary decision.
A dot product combines many products into an output value. Wider arithmetic prevents the input representation from automatically dictating the precision of every intermediate accumulation. Less arithmetic-intensive operations can likewise begin by converting compact inputs into a wider representation.
Scale correction restores the intended interpretation. This can happen after recovering an individual value from FP8, or after a linear operation has generated a wider output. The appropriate location depends on the operation and its scaling relationships.
For matrix computation, the authors describe applying correction at the dot-product output. Its cost is then spread over the multiply-accumulate work that produced that result. They argue that the additional arithmetic is modest relative to the main operation.
For nonlinear functions, normalization, and optimizer updates, their rationale differs. Such operations are frequently limited by memory bandwidth rather than arithmetic throughput. An extra arithmetic instruction per value is therefore expected to be less consequential. This is a design argument about likely cost, not a reported timing measurement.
Reproduce numerical restrictions without emulating hardware
In the experiments, an affected array is restricted to FP8 values and then returned to FP16 or bfloat16 for computation. The procedure includes scaling and saturation. It therefore exposes the wider computation to the numerical information retained by FP8 inputs.
The authors choose this arrangement partly because hardware implementations can differ. Their focus is the interchange representation, so they avoid treating one emulated arithmetic pipeline as definitive. They also state that complete emulation would be prohibitively slow for the large training runs.
The principal affected operations are convolutions and matrix multiplications, grouped under GEMM operations because of their dot-product structure. Weights, activations, and activation gradients entering these calculations are restricted unless a particular experiment states a different scope.
Many outputs remain wider. They frequently pass into nonlinear or normalization operations, and some surrounding processing can be fused with the preceding arithmetic. This boundary is essential: the main study does not make every stored value or calculation FP8.
Calibrate inference as a separate procedure
Post-training conversion begins from a network learned with wider precision. The authors compare E4M3 and int8 while giving both a scale per weight channel and a scale per activation tensor. Matching this granularity makes the comparison more informative.
Weight calibration uses the observed maximum magnitude to select the scale. For activations, the procedure chooses among maximum-based, percentile-based, and mean-squared-error calibration. These approaches fit the representable range differently to the observed values.
Every matrix-multiplication input is included, including activation-only batched products within Transformer and attention computation. The numerical restriction therefore reaches beyond operations that multiply an activation by a learned parameter array.
A later analysis adds residual paths, which carry values into addition operations. This extends the compression boundary and tests whether the same shared scale placement remains adequate. It is an especially useful comparison because it changes tensor coverage while retaining the basic FP8 representation.
Experiments and results
Read each result through its task and boundary
The training references use FP16 or bfloat16. The authors cite earlier evidence that these formats can retain the outcomes of single-precision training, making them practical baselines for the proposed reduction.
Their FP8 runs retain the reference architecture, starting weights, and optimizer hyper-parameters. The comparison therefore asks whether a numerical change can fit an existing recipe. It does not ask whether a specially redesigned architecture could compensate for a smaller format.
Different tasks require different measures. Classification uses top-1 accuracy, translation uses sacreBLEU, and language prediction uses perplexity. Higher is preferable for the former measures; lower perplexity is preferable for the language experiments.
The authors repeatedly interpret outcomes relative to variation between runs with different random seeds. Their claim is about comparable practical quality, not bitwise agreement between learned parameters or identical predictions on every example.
This distinction is particularly important for a numerical-format study. A compact representation necessarily removes distinctions among some inputs. The empirical question is whether those losses materially change the task result under the tested procedure.
Image classification includes normally protected boundaries
Image experiments use ImageNet ILSVRC12 for training and report validation top-1 accuracy. This metric checks whether the highest-ranked class prediction matches the reference class.
The evaluated architectures include convolutional networks and DeiT. The latter connects the study to Training data-efficient image transformers & distillation through attention, giving the image evaluation an attention-based architecture as well as convolutional ones.
The numerical scope is deliberately broad within GEMM inputs. The first convolution and final fully connected layer are included, whereas earlier FP8 studies discussed by the authors had protected those operations with wider inputs.
The authors report quality within ordinary higher-precision training variation for the image cases apart from MobileNet v2. They explicitly retain that exception and describe recovery of the remaining accuracy as unfinished work.
The image result consequently supports a useful compatibility claim without establishing universality. It shows that protecting the initial and final operations is not always necessary. It also shows that successful treatment of many image architectures does not settle every architecture-specific numerical issue.
Translation tests recurrence as well as attention
Translation training uses WMT 2016 English-to-German data. The evaluation set is newstest2014, and the reported measure is sacreBLEU, an implementation associated with the BLEU score.
The study includes attention-based translation and GNMT, whose recurrent computation uses LSTM components. The authors explain that recurrent translation had been displaced in practice, but retain this case to broaden architectural coverage.
That choice tests a different computational organization. Recurrence creates dependencies across repeated processing steps, while attention arranges information exchange differently. The paper does not need to claim that their numerical distributions are identical to make the comparison useful.
The reported FP8 translation quality falls within variation observed for the reference training runs. This is evidence of compatibility with the chosen recipes. It is not presented as a translation-quality improvement caused by reduced precision.
GNMT also has a limited representative role. The authors use it as a proxy for other recurrent applications, but the experiment directly evaluates translation. It cannot establish outcomes for every task that happens to contain recurrence.
Language training reaches a much larger scale
The language study separates Wikipedia-trained Transformer systems from GPT systems trained on a modified Pile mixture. The latter adds Common Crawl material and datasets derived from it.
The GPT training-data account follows Using DeepSpeed and Megatron to Train Megatron-Turing NLG 530B. Its relevance is the established large-scale training setup, instead of a new corpus introduced by the FP8 paper.
Perplexity provides the language-training comparison. The authors describe the FP8 outcomes as consistent with variation in the wider-precision runs. They also inspect loss trajectories, which can reveal whether training proceeds plausibly instead of judging only an isolated endpoint.
The largest case has 175B parameters. Its paired perplexity comparison occurs at 75% of training because the bfloat16 run had not completed. The FP8 run was finished, and the authors interpret its trajectory as successful.
This is significant evidence at a scale where a small-network demonstration would be insufficient. Nonetheless, the completed candidate run and the incomplete reference remain different kinds of evidence. The reported intermediate comparison should not be described as a completed final-endpoint match.
Post-training inference compares calibrated procedures
The inference study converts wider-trained networks into E4M3 or int8. Its calibration procedure uses the same broad scaling granularity for both representations, and it quantizes the input arrays for attention-related matrix products as well as weighted matrix operations.
BERT is evaluated on the Stanford Question Answering Dataset. The authors report preservation of task quality with FP8 and a substantial deterioration with their int8 procedure. The relevant table identifies F1 as a higher-is-better measure for this evaluation.
For GPT systems, wikitext103 perplexity favors FP8 quality retention over the tested int8 conversion. The result concerns those procedures and workloads; it does not establish an ordering over all possible floating-point and integer quantizers.
The inference discussion also reports perplexity of 11.0 after casting without a scaling factor. That observation supports the importance of preparation before conversion. Its surrounding description does not identify a fully matched set of conditions for combining it with every later scaling comparison.
Scaling produces the clearest explicit numerical contrast
The focused scaling experiment evaluates GPT inference on wikitext103. It separates restricting GEMM inputs from also restricting residual additions, and compares shared exponent placement with calibrated scales.
GPT on wikitext103, inference perplexity under FP8 settings
Calibrated scales make broader tensor conversion much more reliable than a shared bias.
The numbers
| System or setting | perplexity |
|---|---|
| bfloat16 reference | 10.19 |
| E4M3 GEMM and residual inputs, bias 7 | 12.59 |
| E4M3 GEMM inputs, calibrated (this paper) | 10.29 |
| E4M3 GEMM and residual inputs, calibrated | 10.44 |
The starred row is the strongest FP8 setting among these reported results. The reference remains better numerically, while the authors regard the calibrated outcomes as preserving quality substantially more successfully than the shared-bias residual setting.
The comparison measures prediction quality. It contains no execution-time or energy result. Its main contribution is explanatory: the same compact encoding can behave quite differently when the quantized boundary or scale granularity changes.
What the ablations show
Bias selection can suffice for a restricted tensor set
The exponent-bias analysis begins with a bfloat16-trained GPT network converted into E4M3 without individual tensor calibration. The authors vary the placement of the available numerical range through exponent bias.
When conversion is limited to GEMM inputs, several biases within [7, 10] provide quality matching the reference in the authors’ interpretation. The affected operations include the attention products involving activations alone.
This establishes that local scaling is not universally necessary under every tested boundary. A shared range placement can be adequate when the collection of restricted arrays is limited appropriately.
It also cautions against diagnosing a format from an arbitrary unscaled cast. A poor default placement can make an otherwise useful encoding appear inadequate. Encoding capacity and alignment with actual tensor magnitudes are distinct factors.
Adding residual values exposes a stronger requirement
The broader condition additionally restricts arrays entering residual addition. This tests a natural route towards reducing more storage and memory traffic, but it changes the range problem faced by a shared adjustment.
The authors find no single bias that preserves sufficient quality for this expanded condition. Bias 7 is explicitly associated with the worse perplexity shown in the results chart.
The contrast is informative because it does not require replacing the architecture or the encoding. Expanding tensor coverage is enough to reveal that the earlier successful scale strategy was conditional.
Residual values are therefore not shown to be intrinsically unsuitable for FP8. What fails is the attempt to cover the expanded collection with one shared exponent placement. That distinction matters when deciding whether to abandon compression or improve its supporting policy.
Local calibration addresses the expanded condition
The calibrated comparison gives weights channel-level scales and activations tensor-level scales. Both the narrower and broader conditions then achieve the perplexities reported in the chart.
This supports the decision to keep scaling in software. A fixed interchange format can serve arrays with different magnitude requirements when their factors are allowed to differ.
The evidence is strongest for the practical importance of granularity. It does not reveal the complete causal contribution of every individual tensor, nor does it identify a universal calibration algorithm that will work for all future architectures.
The broader calibrated condition also remains distinguishable from the narrower one. The authors’ conclusion is compatible quality, instead of a claim that including more arrays has no numerical consequence.
Other design choices receive less isolated testing
The paper offers substantial architectural coverage and a focused scaling analysis, but it does not present an exhaustive factorial study of all numerical decisions.
Its discussion of E4M3’s exceptional patterns is primarily a representation argument. Reclaimed states demonstrably add finite levels, but the paper does not independently quantify the task-quality contribution of each recovered level across the training suite.
Likewise, rounding modes are left open rather than compared comprehensively. Training-time scale-update heuristics are not developed into a complete controlled comparison. The recommendation to combine encodings draws on empirical experience and prior work, without establishing that every alternative assignment has been ruled out.
Keeping the training recipe fixed is a valuable control, but it answers a compatibility question. It does not isolate every mechanism through which compact values affect learning. MobileNet v2 remains a reported exception without a detailed causal diagnosis.
The analyses therefore support a measured interpretation: the complete numerical arrangement works broadly, and scaling becomes crucial under an expanded boundary. They do not establish that the proposed arrangement is uniquely optimal.
Limitations
Author-stated limits: the arithmetic implementation is not the experiment
The authors explicitly use simulated FP8 restrictions with wider computation. This isolates an important numerical question, but it leaves native arithmetic behavior open.
A hardware implementation can make additional decisions about accumulation and conversion. The successful experiments do not validate every possible instruction design that accepts the proposed encodings.
The authors also explain that complete arithmetic emulation would be too expensive for their large training study. The choice is purposeful, yet it means that interchange-format evidence and implementation evidence remain separate.
Resource advantages motivate the proposal. Smaller values can reduce memory pressure and permit smaller arithmetic pipelines. However, the reported quality experiments do not themselves measure a particular FP8 device’s speed, power, or area.
A careful reader should therefore resist converting numerical feasibility into a quantified systems benefit. Those questions require measurements attached to an actual execution path.
Author-stated limits: much of the computation remains wider
The main training restriction applies to inputs of convolutions and matrix multiplications. Many outputs, nonlinear operations, normalizations, and optimizer calculations retain wider representations.
The paper identifies extending FP8 to more tensors as future work. Its results should not be read as a demonstration that all neural computation can safely adopt the compact format.
This boundary also affects expected resource savings. If important operations and arrays remain wider, the complete workflow’s storage and execution characteristics depend on their contribution. The paper does not quantify that contribution through an end-to-end resource benchmark.
The residual analysis demonstrates why extension cannot be assumed harmless. A successful initial boundary can become unsuccessful after additional values are restricted, even without changing the datatype itself.
Author-stated limits: a complete scaling recipe is outside scope
The authors explain the purpose of scaling and describe its placement around conversion. They do not supply a complete training-time policy for selecting and updating factors.
An implementation therefore needs further decisions about changing value distributions and scale maintenance. Merely supporting the binary format is insufficient to reproduce every numerical condition of a successful training run.
Inference calibration receives more detail, including the candidate activation-calibration methods. Even there, the result depends on preparation choices as well as representable levels.
This is a limitation of specification scope instead of a contradiction. The paper proposes an interchange format and demonstrates useful applications. It does not claim to settle every operational policy required by training and deployment software.
Author-stated limits: exceptions and unfinished reference evidence remain
MobileNet v2 does not fit the broad image-training result. The authors preserve this exception and state that accuracy recovery remains ongoing.
The exception weakens any universal claim about architectural compatibility. A family label such as convolutional does not guarantee identical numerical sensitivity across its members.
The largest language case has a different qualification. FP8 training is complete, but the paired reference comparison stops before completion because the bfloat16 run was unfinished.
Its successful trajectory establishes important feasibility evidence. A complete comparison at the final endpoint would answer an additional question that the reported checkpoint cannot settle.
A careful reader’s limit: comparable aggregate quality is not identical behavior
The paper’s practical standard is often variation among runs. That is appropriate for stochastic learning, but it is narrower than proving numerical or behavioral equivalence.
Two runs can have similar aggregate scores while disagreeing on particular examples. Perplexity can remain close without every token prediction receiving the same probability. Classification accuracy can be comparable while the mistakes occur on different inputs.
The paper does not claim otherwise, but downstream users should distinguish these possibilities. Applications with strict requirements may need evaluations beyond the broad task metrics used here.
The language-training results likewise do not establish preservation of every downstream language capability. The measured quantity is perplexity under the reported setup, not an exhaustive account of later use.
A careful reader’s limit: the int8 comparison is bounded
FP8 performs well against the int8 post-training procedures tested by the authors. Shared scaling granularity and multiple activation-calibration choices make that comparison useful.
It remains a comparison of selected procedures. The paper does not evaluate every integer format, grouping strategy, or training-based recovery method.
Its own discussion acknowledges quantization-aware training as another route. Consequently, the inference results cannot support a claim that floating-point compression always dominates integer alternatives.
The reverse caution also matters: successful calibrated FP8 does not validate careless casting. The unscaled observation and shared-bias failure show that using the datatype name alone is not enough.
A careful reader’s limit: causes are only partly localized
The paper makes a convincing case that range placement and calibration granularity matter. It does not completely partition error into overflow, underflow, coarse spacing, and downstream interactions.
Changing a scale can improve the placement of useful values while also changing which distinctions are lost. A better final score does not identify every local mechanism responsible.
Similarly, E4M3’s range extension has an exact representational explanation, but the task results do not separately attribute success to that extension rather than to the broader mixed-precision arrangement.
The most defensible interpretation concerns the package: complementary encodings, suitable scaling, and retained wider computation work together across the tested settings. Individual design choices may deserve further isolation before broader causal claims are made.
A careful reader’s limit: architectural breadth is still a sample
The study includes substantially different task and architecture types, which is a strength. Nevertheless, successful coverage is evidence about those experiments, not a proof over all numerical workloads.
New architectures can introduce different operations or distributions. Different training objectives can change gradient behavior. Expanding the set of compact intermediates can create requirements absent from the original boundary.
The paper itself supplies reasons to expect such dependencies, particularly through its discussion of size and residual quantization. Its broad positive result should therefore encourage targeted evaluation rather than replace it.
What came after
The citation trail extends towards attention implementations, inference serving, precision selection, and sensitivity analysis. These later works cite the FP8 paper, but their titles provide different amounts of information about the connection. They identify subsequent research questions more clearly than they establish specific reuse of E4M3, E5M2, or the original scaling procedure.
FlashAttention-3: Fast and Accurate Attention with Asynchrony and Low-precision brings low precision into an explicitly execution-oriented attention study. Its title joins numerical accuracy with asynchronous computation and speed. This continues a distinction central to the FP8 paper: a compact representation must eventually meet an arithmetic implementation. The available citation information does not establish its exact encoding assignments, scale policy, or results, so those details cannot be attributed to it here.
FlashInfer: Efficient and Customizable Attention Engine for LLM Inference Serving places attention inside a customizable serving engine. That scope broadens the surrounding question from numerical feasibility to how inference computation is organized for deployment. Its citation connects it to FP8’s representation context, while the title does not establish which parts of the engine use which datatypes. It therefore belongs to the implementation side of the research trajectory without proving adoption of the earlier training recipe.
Atom: Low-bit Quantization for Efficient and Accurate LLM Serving retains the central tension between compact numbers and useful prediction quality. Its stated setting is serving, where the representation must fit a deployment procedure. The connection to FP8 is clear at the problem level: reducing numerical width requires attention to retained behavior. The citation information does not identify Atom’s precise format or establish equivalence with either proposed FP8 encoding.
The case for 4-bit precision: k-bit Inference Scaling Laws asks a related question at another precision width and frames it through inference scaling. Its title indicates an investigation of numerical allocation rather than a direct repetition of the FP8 training experiments. This is an important neighboring direction: demonstrating that a representation works does not establish that its width is best under every resource constraint. No particular scaling-law result is available from the citation description alone.
LLM Inference Unveiled: Survey and Roofline Model Insights moves towards a survey and systems-analysis perspective. The FP8 paper already distinguishes arithmetic-intensive matrix work from operations dominated by memory movement. A roofline-oriented account belongs to that broader effort to understand where an inference workload spends its resources. Its title supports this connection, while providing no basis for importing specific bottleneck measurements or performance conclusions.
Nemotron-H: A Family of Accurate and Efficient Hybrid Mamba-Transformer Models introduces a later architectural setting concerned with accuracy and efficiency. The original FP8 study stresses that numerical behavior must be tested across architectures and sizes. A hybrid family makes that question relevant again, but the citation does not establish how its components adopt FP8. Its role in the trajectory is therefore architectural breadth, with the implementation relationship left unspecified.
Lost in Quantization: Activation Outliers Explain Language-Specific FP8 Sensitivity in Llama-3 has the most directly diagnostic title in this group. It identifies unusually large activations as an explanation for language-dependent FP8 sensitivity. That stated focus narrows the earlier paper’s broad feasibility question towards variation across conditions. The original scaling analysis shows that tensor values and their numerical placement matter; the later title points to a more specific source of sensitivity. Its detailed experiments and quantitative conclusions remain outside the available citation information.
Cite
Cite as Paulius Micikevicius, Dusan Stosic, Neil Burgess, Marius Cornea, Pradeep Dubey, Richard Grisenthwaite, Sangwon Ha, Alexander Heinecke, Patrick Judd, John Kamalu, Naveen Mellempudi, Stuart Oberman, Mohammad Shoeybi, Michael Siu and Hao Wu. 2022. FP8 Formats for Deep Learning. arXiv:2209.05433.
@misc{micikevicius2022fp8,
title = {{FP8 Formats for Deep Learning}},
author = {Paulius Micikevicius, Dusan Stosic, Neil Burgess, Marius Cornea, Pradeep Dubey, Richard Grisenthwaite, Sangwon Ha, Alexander Heinecke, Patrick Judd, John Kamalu, Naveen Mellempudi, Stuart Oberman, Mohammad Shoeybi, Michael Siu and Hao Wu},
year = {2022},
doi = {10.48550/arxiv.2209.05433},
eprint = {2209.05433},
archivePrefix = {arXiv},
url = {https://doi.org/10.48550/arxiv.2209.05433}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/micikevicius-2022-fp8-formats-deep-learning/
References
- Michael J. Anderson, Benny Chen, Stephen Chen, Summer Deng, Jordan Fix, Michael Gschwind, Aravind Kalaiah, Changkyu Kim, Jaewon Lee, Jason Liang, Haixin Liu, Yinghai Lu, Jack Montgomery, Arun Moorthy, Nadathur Satish, Sam Naghshineh, Avinash Nayak, Jongsoo Park, Chris Petersen, Martin Schatz, Narayanan Sundaram, Bangsheng Tang, Peter Tang, Amy Yang, Jiecao Yu, Hector Yuen, Ying Zhang, Aravind Anbudurai, Vandana Balan, Harsha Bojja, Joe Boyd, Matthew Breitbach, Claudio Caldato, Anna Calvo, Garret Catron, Sneh Chandwani, Panos Christeas, Brad Cottel, Brian Coutinho, Arun Dalli, Abhishek Dhanotia, Oniel Duncan, Roman Dzhabarov, Simon Elmir, Chunli Fu, Wenyin Fu, Michael Fulthorp, Adi Gangidi, Nick Gibson, Sean Gordon, Beatriz Padilla Hernandez, Daniel Ho, Yu-Cheng Huang, Olof Johansson, Shishir Juluri, and et al. First-generation inference accelerator deployment at facebook. arxiv, abs/2107.04140, 2021. OpenAlex ↗ · Scholar ↗
- Tom Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared D Kaplan, Prafulla Dhariwal, Arvind Neelakantan, Pranav Shyam, Girish Sastry, Amanda Askell, Sandhini Agarwal, Ariel Herbert-Voss, Gretchen Krueger, Tom Henighan, Rewon Child, Aditya Ramesh, Daniel Ziegler, Jeffrey Wu, Clemens Winter, Chris Hesse, Mark Chen, Eric Sigler, Mateusz Litwin, Scott Gray, Benjamin Chess, Jack Clark, Christopher Berner, Sam McCandlish, Alec Radford, Ilya Sutskever, and Dario Amodei. Language models are few-shot learners. In H. Larochelle, M. Ranzato, R. Hadsell, M.F. Balcan, and H. Lin, editors, Advances in Neural Information Processing Systems, volume 33, pages 1877–1901. Curran Associates, Inc., 2020. our card
- Neil Burgess, Jelena Milanovic, Nigel Stephens, Konstantinos Monachopoulos, and David Mansell. Bfloat16 processing for neural networks. In Martin Langhammer Sylvie Boldo, editor, 26th IEEE Symposium on Computer Arithmetic, ARITH 2019, Kyoto, Japan, June 10-12, 2019, pages 88–91. IEEE, 2017. OpenAlex ↗ · Scholar ↗
- Aakanksha Chowdhery, Sharan Narang, Jacob Devlin, Maarten Bosma, Gaurav Mishra, Adam Roberts, Paul Barham, Hyung Won Chung, Charles Sutton, Sebastian Gehrmann, Parker Schuh, Kensen Shi, Sasha Tsvyashchenko, Joshua Maynez, Abhishek Rao, Parker Barnes, Yi Tay, Noam Shazeer, Vinodkumar Prabhakaran, Emily Reif, Nan Du, Ben Hutchinson, Reiner Pope, James Bradbury, Jacob Austin, Michael Isard, Guy Gur-Ari, Pengcheng Yin, Toju Duke, Anselm Levskaya, Sanjay Ghemawat, Sunipa Dev, Henryk Michalewski, Xavier Garcia, Vedant Misra, Kevin Robinson, Liam Fedus, Denny Zhou, Daphne Ippolito, David Luan, Hyeontaek Lim, Barret Zoph, Alexander Spiridonov, Ryan Sepassi, David Dohan, Shivani Agrawal, Mark Omernick, Andrew M. Dai, Thanumalayan Sankaranarayana Pillai, Marie Pellat, Aitor Lewkowycz, Erica Moreira, Rewon Child, Oleksandr Polozov, Katherine Lee, Zongwei Zhou, Xuezhi Wang, Brennan Saeta, Mark Diaz, Orhan Firat, Michele Catasta, Jason Wei, Kathy Meier-Hellstern, Douglas Eck, Jeff Dean, Slav Petrov, and Noah Fiedel. Palm: Scaling language modeling with pathways, 2022. our card
- Matthieu Courbariaux, Yoshua Bengio, and Jean-Pierre David. Binaryconnect: Training deep neural networks with binary weights during propagations. Advances in neural information processing systems, 28, 2015. our card
- Leo Gao, Stella Biderman, Sid Black, Laurence Golding, Travis Hoppe, Charles Foster, Jason Phang, Horace He, Anish Thite, Noa Nabeshima, Shawn Presser, and Connor Leahy. The Pile: An 800gb dataset of diverse text for language modeling. arXiv preprint arXiv:2101.00027, 2020. our card
- Itay Hubara, Matthieu Courbariaux, Daniel Soudry, Ran El-Yaniv, and Yoshua Bengio. Binarized neural networks. Advances in neural information processing systems, 29, 2016. OpenAlex ↗ · Scholar ↗
- Jeff Johnson. Rethinking floating point for deep learning. CoRR, abs/1811.01721, 2018. OpenAlex ↗ · Scholar ↗
- Dhiraj D. Kalamkar, Dheevatsa Mudigere, Naveen Mellempudi, Dipankar Das, Kunal Banerjee, Sasikanth Avancha, Dharma Teja Vooturi, Nataraj Jammalamadaka, Jianyu Huang, Hector Yuen, Jiyan Yang, Jongsoo Park, Alexander Heinecke, Evangelos Georganas, Sudarshan Srinivasan, Abhisek Kundu, Misha Smelyanskiy, Bharat Kaul, and Pradeep Dubey. A study of BFLOAT16 for deep learning training. arxiv, abs/1905.12322, 2019. OpenAlex ↗ · Scholar ↗
- Andrey Kuzmin, Mart Van Baalen, Yuwei Ren, Markus Nagel, Jorn Peters, and Tijmen Blankevoort. FP8 quantization: The power of the exponent. arXiv, 2208.09225, 2022. OpenAlex ↗ · Scholar ↗
- Edward H. Lee, Daisuke Miyashita, Elaina Chai, Boris Murmann, and S. Simon Wong. Lognet: Energy-efficient neural networks using logarithmic computation. In 2017 IEEE International Conference on Acoustics, Speech and Signal Processing, ICASSP 2017, New Orleans, LA, USA, March 5-9, 2017, pages 5900–5904. IEEE, 2017. OpenAlex ↗ · Scholar ↗
- Naveen Mellempudi, Sudarshan Srinivasan, Dipankar Das, and Bharat Kaul. Mixed precision training with 8-bit floating point, 2019. OpenAlex ↗ · Scholar ↗
- Paulius Micikevicius. Mixed precision training: theory and practice, 2018. https://on-demand.gputechconf.com/gtc/2018/presentation/s8923-training-neural-networks-with-mixed-precision-theory-and-practice.pdf, Accessed on 2022-09-11. OpenAlex ↗ · Scholar ↗
- Paulius Micikevicius, Sharan Narang, Jonah Alben, Gregory F. Diamos, Erich Elsen, David García, Boris Ginsburg, Michael Houston, Oleksii Kuchaiev, Ganesh Venkatesh, and Hao Wu. Mixed precision training. arxiv, 1710.03740, 2017. OpenAlex ↗ · Scholar ↗
- Daisuke Miyashita, Edward H. Lee, and Boris Murmann. Convolutional neural networks using logarithmic data representation. CoRR, abs/1603.01025, 2016. our card
- Badreddine Noune, Philip Jones, Daniel Justus, Dominic Masters, and Carlo Luschi. 8-bit numerical formats for deep neural networks. arXiv preprint arXiv:2206.02915, 2022. OpenAlex ↗ · Scholar ↗
- Mohammad Rastegari, Vicente Ordonez, Joseph Redmon, and Ali Farhadi. Xnor-net: Imagenet classification using binary convolutional neural networks. In Bastian Leibe, Jiri Matas, Nicu Sebe, and Max Welling, editors, Computer Vision – ECCV 2016, pages 525–542, Cham, 2016. Springer International Publishing. our card
- Shaden Smith, Mostofa Patwary, Brandon Norick, Patrick LeGresley, Samyam Rajbhandari, Jared Casper, Zhun Liu, Shrimai Prabhumoye, George Zerveas, Vijay Korthikanti, Elton Zheng, Rewon Child, Reza Yazdani Aminabadi, Julie Bernauer, Xia Song, Mohammad Shoeybi, Yuxiong He, Michael Houston, Saurabh Tiwary, and Bryan Catanzaro. Using deepspeed and megatron to train megatron-turing NLG 530b, A large-scale generative language model. arXiv, 2201.11990, 2022. our card
- Dusan Stosic and Paulius Micikevicius. Accelerating ai training with nvidia tf32 tensor cores, 2021. https://developer.nvidia.com/blog/accelerating-ai-training-with-tf32-tensor-cores/, Accessed on 2022-09-4. OpenAlex ↗ · Scholar ↗
- Xiao Sun, Jungwook Choi, Chia-Yu Chen, Naigang Wang, Swagath Venkataramani, Vijayalakshmi (Viji) Srinivasan, Xiaodong Cui, Wei Zhang, and Kailash Gopalakrishnan. Hybrid 8-bit floating point (hfp8) training and inference for deep neural networks. In H. Wallach, H. Larochelle, A. Beygelzimer, F. d Alché-Buc, E. Fox, and R. Garnett, editors, Advances in Neural Information Processing Systems, volume 32. Curran Associates, Inc., 2019. OpenAlex ↗ · Scholar ↗
- Hugo Touvron, Matthieu Cord, Matthijs Douze, Francisco Massa, Alexandre Sablayrolles, and Herve Jegou. Training data-efficient image transformers & distillation through attention. In International Conference on Machine Learning, volume 139, pages 10347–10357, July 2021. our card
- Naigang Wang, Jungwook Choi, Daniel Brand, Chia-Yu Chen, and Kailash Gopalakrishnan. Training deep neural networks with 8-bit floating point numbers. In S. Bengio, H. Wallach, H. Larochelle, K. Grauman, N. Cesa-Bianchi, and R. Garnett, editors, Advances in Neural Information Processing Systems, volume 31. Curran Associates, Inc., 2018. OpenAlex ↗ · Scholar ↗
- Hao Wu, Patrick Judd, Xiaojie Zhang, Mikhail Isaev, and Paulius Micikevicius. Integer quantization for deep learning inference: Principles and empirical evaluation. arxiv, 2004.09602, 2020. OpenAlex ↗ · Scholar ↗
- Dongqing Zhang, Jiaolong Yang, Dongqiangzi Ye, and Gang Hua. Lq-nets: Learned quantization for highly accurate and compact deep neural networks. European conference on computer vision (ECCV), pages 365–382, 2018. OpenAlex ↗ · Scholar ↗
- Susan Zhang, Stephen Roller, Naman Goyal, Mikel Artetxe, Moya Chen, Shuohui Chen, Christopher Dewan, Mona Diab, Xian Li, Xi Victoria Lin, Todor Mihaylov, Myle Ott, Sam Shleifer, Kurt Shuster, Daniel Simig, Punit Singh Koura, Anjali Sridhar, Tianlu Wang, and Luke Zettlemoyer. Opt: Open pre-trained transformer language models, 2022. our card
- Shuchang Zhou, Yuxin Wu, Zekun Ni, Xinyu Zhou, He Wen, and Yuheng Zou. Dorefa-net: Training low bitwidth convolutional neural networks with low bitwidth gradients. arXiv preprint, 1606.06160, 2016. our card