SuperAPI AI Directory

Granite 4.0 Tiny Preview - A language model released by IBM

Author: AI小集 · Original source: AI工具集

What is Granite 4.0 Tiny Preview

Granite 4.0 Tiny Preview is a preview version of the smallest model in the Granite 4.0 language model family released by IBM. Granite 4.0 Tiny Preview is characterized by extremely high computational efficiency and a compact model structure. It can run multiple long-context (128K) tasks on consumer-grade GPUs, with performance close to Granite 3.3 2B Instruct and about 72% lower memory requirements. The model uses an innovative hybrid Mamba-2/Transformer architecture, combining the efficiency of Mamba with the precision of Transformer, supports No Positional Encodings (NoPE), and can handle extremely long context lengths.

Granite 4.0 Tiny Preview

Main features of Granite 4.0 Tiny Preview

  • Efficient operation: On consumer-grade GPUs, it can run multiple long-context (128K) tasks simultaneously, suitable for developers with limited resources.
  • Low memory requirements: Memory requirements are reduced by about 72%, and only 1B parameters are activated during inference (7B total parameters), greatly lowering hardware requirements.
  • Long-context processing: Supports No Positional Encodings (NoPE), and has been verified to handle long contexts of at least 128K.
  • Inference efficiency: Only some experts are activated during inference, improving efficiency and reducing latency.

Technical principles of Granite 4.0 Tiny Preview

  • Hybrid architecture: Combines Mamba's linear computational complexity (suitable for long sequences) with Transformer's precise self-attention mechanism. In the model, 9 Mamba blocks correspond to 1 Transformer block. The Mamba blocks are responsible for efficiently capturing global context, and the Transformer block is used to parse local context.
  • Mixture of Experts (MoE): The model contains 7B parameters divided into 64 experts, and only 1B parameters are activated during inference, greatly reducing computational resource consumption.
  • No Positional Encodings (NoPE): Abandons traditional positional encoding techniques, avoiding the computational burden and limitations on long sequences caused by positional encoding, and maintaining long-context performance.
  • Long-context optimization: Based on Mamba's linear scaling capability and compact model design, it supports extremely long context lengths and can theoretically extend to the hardware limit.

Project address of Granite 4.0 Tiny Preview

Application scenarios of Granite 4.0 Tiny Preview

  • Edge device deployment: Suitable for running on edge devices or consumer-grade hardware with limited resources, used for lightweight text processing tasks.
  • Long text analysis: Can handle long contexts (128K tokens), suitable for long text generation, analysis, or summarization.
  • Multi-task parallelism: Runs multiple instances simultaneously on the same hardware, suitable for batch processing or multi-user scenarios.
  • Enterprise application development: Used for enterprise-level tasks such as intelligent customer service and document processing, providing efficient language model support.
  • Low-cost research and development: Open source and supports consumer-grade hardware, making it convenient for developers to experiment and innovate at low cost.