Invention Title:

PROCESSOR AND METHOD PROVIDING AN IMPROVED MATRIX STORAGE

Publication number:

US20260195254

Publication date:
Section:

Physics

Class:

G06F12/0207

Inventor:

Assignee:

Applicant:

Smart overview of the Invention

An adaptive quantization system and method are introduced to enhance matrix data storage and processing. The system incorporates a processor with specific circuitry that divides a matrix into distinct blocks. Each block is assigned a quantization format based on its content, forming a super-block that includes quantized blocks and their format information. This super-block is subsequently stored in memory. The method uses an index, typically 3 bits per block, to indicate quantization formats and can share exponents across certain formats. A metadata buffer helps in storing compression information, facilitating gradual compression adoption.

Efficiency and Adaptability

The presented method optimizes matrix data storage at a granular level and ensures efficient random access. It adapts to varying precision needs within a matrix and seamlessly integrates with existing memory hierarchies. This approach significantly boosts compression efficiency and processing speed, particularly beneficial for large-scale matrix operations in domains like artificial intelligence, machine learning, and high-performance computing.

Background

Matrix operations are crucial in computational tasks, especially in artificial intelligence, machine learning, and scientific computing. The traditional storage of matrices using fixed-precision formats such as single or double-precision floating-point numbers often results in inefficient memory and computational resource usage. While various compression techniques exist, they typically apply uniformly across matrices, neglecting local data characteristics and precision needs. The MXFP format family offers more flexibility but is limited by its block-wide format application, hindering fine-grained optimization.

Challenges and Solutions

Current methods often face difficulties balancing compression efficiency with the need for random access to matrix elements, leading to performance issues. The disclosed system addresses these challenges by offering an adaptive quantization approach for matrix data, allowing for improved storage and processing efficiency. This innovation is particularly relevant for applications requiring high computational power and efficient data management.

System Integration

The system can be implemented in various processors, including general-purpose processors and accelerator devices like artificial intelligence accelerators. Although primarily discussed in the context of GPUs, the techniques are applicable across different processor types. The computing system described includes a processing subsystem with parallel processors, memory hubs, and I/O subsystems, all integrated to support efficient data processing and communication. This integration allows for enhanced performance and adaptability in processing large-scale matrix operations.