Microscaling Floating Point Formats for Large Language Models

The increasing computational and memory demands of large language models (LLMs) necessitate innovative approaches to optimize resource usage without compromising performance. This paper leverages microscaling floating-point formats, a novel technique designed to address these challenges by reducing the storage and computational overhead associated with numerical representations in LLMs. Unlike traditional floating-point representations that allocate a dedicated scale for each value, microscaling employs a shared scale across a block of values, enabling compact one-byte floating-point representations while maintaining an extended dynamic range. We explore the application of microscaling in the context of 8-bit floating-point formats to significantly reduce memory footprint and computational costs. We tested several configurations of microscaling floats within the GPT-2 LLM architecture, demonstrating that microscaling data formats can achieve competitive accuracy during training and inference, proving its efficacy as a resource-efficient alternative for deploying LLMs at scale. The source code is publicly available at: https://github.com/unipi-dii-compressedarith/llm.c-sve

Paper

References (13)

08The operation of tensor transposition is not exactly trivial in Microscaling
09“OCP Microscaling Formats (MX) Specification,”Open Compute Project
10When rounding numbers whose significands are stored on a tiny number of bits it is vital to use an appropriate rounding policy instead of relying on the faster truncation
11“cppPosit: a c++ template-based library implementing posit arithmetic ready for machine learning applications,”
12ISO, ISO/IEC 14882:2011 Information technology — Programming languages — C++ . Geneva, Switzerland: International Organization for Standardization, Dec

Scroll for more · 1 remaining

Similar papers

© 2026 NYSGPT2525 LLC