Granite-4.0-Micro: Optimized for Qualcomm Devices

Granite 4.0 is a family of open language models from IBM designed for enterprise AI workloads including code generation, summarization, and retrieval-augmented generation.

This is based on the implementation of Granite-4.0-Micro found here. This repository contains pre-exported model files optimized for Qualcomm® devices. You can use the Qualcomm® AI Hub Models library to export with custom configurations. More details on model performance across various devices, can be found here.

Qualcomm AI Hub Models uses Qualcomm AI Hub Workbench to compile, profile, and evaluate this model. Sign up to run these models on a hosted Qualcomm® device.

Deploying Granite-4.0-Micro on-device

Follow the GenieX quickstart to install GenieX and deploy the model on a target device.

Getting Started

There are two ways to deploy this model on your device:

Option 1: Download Pre-Exported Models

Below are pre-exported model assets ready for deployment.

Runtime Precision Chipset SDK Versions Download
GENIEX_LLAMACPP q4_0 Universal Download

For more device-specific assets and performance metrics, visit Granite-4.0-Micro on Qualcomm® AI Hub.

Option 2: Export with Custom Configurations

Use the Qualcomm® AI Hub Models Python library to compile and export the model with your own:

  • Custom weights (e.g., fine-tuned checkpoints)
  • Custom input shapes
  • Target device and runtime configurations

This option is ideal if you need to customize the model beyond the default configuration provided here.

See our repository for Granite-4.0-Micro on GitHub for usage instructions.

Model Details

Model Type: Model_use_case.text_generation

Model Stats:

  • Model architecture: Mamba-2 Hybrid architecture combining State Space Model (SSM) layers with Attention layers for efficient long-context processing.
  • Response Rate: Rate of response generation after the first response token.
  • Supported languages: English

Performance Summary

Model Runtime Precision Chipset Context Length Response Rate (tokens per second)
Granite-4.0-Micro GENIEX_LLAMACPP q4_0 Snapdragon® 8 Elite Gen 5 For Galaxy Mobile 512 26.242135
Granite-4.0-Micro GENIEX_LLAMACPP q4_0 Snapdragon® 8 Elite Gen 5 For Galaxy Mobile 512 20.631229
Granite-4.0-Micro GENIEX_LLAMACPP q4_0 Snapdragon® 8 Elite Gen 5 For Galaxy Mobile 512 12.167791
Granite-4.0-Micro GENIEX_LLAMACPP q4_0 Snapdragon® 8 Elite Gen 5 For Galaxy Mobile 4096 21.242581
Granite-4.0-Micro GENIEX_LLAMACPP q4_0 Snapdragon® 8 Elite Gen 5 For Galaxy Mobile 4096 18.511143
Granite-4.0-Micro GENIEX_LLAMACPP q4_0 Snapdragon® 8 Elite Gen 5 For Galaxy Mobile 4096 11.670373
Granite-4.0-Micro GENIEX_LLAMACPP q4_0 Snapdragon® 8 Elite For Galaxy Mobile 512 26.311597
Granite-4.0-Micro GENIEX_LLAMACPP q4_0 Snapdragon® 8 Elite For Galaxy Mobile 512 22.175807
Granite-4.0-Micro GENIEX_LLAMACPP q4_0 Snapdragon® 8 Elite For Galaxy Mobile 512 11.443238
Granite-4.0-Micro GENIEX_LLAMACPP q4_0 Snapdragon® 8 Elite For Galaxy Mobile 4096 22.418218
Granite-4.0-Micro GENIEX_LLAMACPP q4_0 Snapdragon® 8 Elite For Galaxy Mobile 4096 17.484373
Granite-4.0-Micro GENIEX_LLAMACPP q4_0 Snapdragon® 8 Elite For Galaxy Mobile 4096 10.307193
Granite-4.0-Micro GENIEX_LLAMACPP q4_0 Snapdragon® X2 Elite 512 42.371465
Granite-4.0-Micro GENIEX_LLAMACPP q4_0 Snapdragon® X2 Elite 512 22.506211
Granite-4.0-Micro GENIEX_LLAMACPP q4_0 Snapdragon® X2 Elite 512 27.34868
Granite-4.0-Micro GENIEX_LLAMACPP q4_0 Snapdragon® X2 Elite 4096 41.399805
Granite-4.0-Micro GENIEX_LLAMACPP q4_0 Snapdragon® X2 Elite 4096 21.444638
Granite-4.0-Micro GENIEX_LLAMACPP q4_0 Snapdragon® X2 Elite 4096 25.525084
Granite-4.0-Micro GENIEX_LLAMACPP q4_0 Snapdragon® X Elite 512 30.216444
Granite-4.0-Micro GENIEX_LLAMACPP q4_0 Snapdragon® X Elite 512 23.689806
Granite-4.0-Micro GENIEX_LLAMACPP q4_0 Snapdragon® X Elite 512 16.03929
Granite-4.0-Micro GENIEX_LLAMACPP q4_0 Snapdragon® X Elite 4096 34.060326
Granite-4.0-Micro GENIEX_LLAMACPP q4_0 Snapdragon® X Elite 4096 22.40092
Granite-4.0-Micro GENIEX_LLAMACPP q4_0 Snapdragon® X Elite 4096 15.662983
Granite-4.0-Micro GENIEX_LLAMACPP q4_0 Qualcomm® Dragonwing™ IQ-8275 512 24.970825
Granite-4.0-Micro GENIEX_LLAMACPP q4_0 Qualcomm® Dragonwing™ IQ-8275 512 11.791055
Granite-4.0-Micro GENIEX_LLAMACPP q4_0 Qualcomm® Dragonwing™ IQ-8275 512 44.287393
Granite-4.0-Micro GENIEX_LLAMACPP q4_0 Qualcomm® Dragonwing™ IQ-8275 4096 12.363435
Granite-4.0-Micro GENIEX_LLAMACPP q4_0 Qualcomm® Dragonwing™ IQ-8275 4096 9.656422
Granite-4.0-Micro GENIEX_LLAMACPP q4_0 Qualcomm® Dragonwing™ IQ-8275 4096 36.737851
Granite-4.0-Micro GENIEX_LLAMACPP q4_0 Qualcomm® Dragonwing™ IQ-9075 512 20.759216
Granite-4.0-Micro GENIEX_LLAMACPP q4_0 Qualcomm® Dragonwing™ IQ-9075 512 9.243605
Granite-4.0-Micro GENIEX_LLAMACPP q4_0 Qualcomm® Dragonwing™ IQ-9075 512 15.879894
Granite-4.0-Micro GENIEX_LLAMACPP q4_0 Qualcomm® Dragonwing™ IQ-X7181 512 30.216444
Granite-4.0-Micro GENIEX_LLAMACPP q4_0 Qualcomm® Dragonwing™ IQ-X7181 512 23.689806
Granite-4.0-Micro GENIEX_LLAMACPP q4_0 Qualcomm® Dragonwing™ IQ-X7181 512 16.03929
Granite-4.0-Micro GENIEX_LLAMACPP q4_0 Qualcomm® Dragonwing™ Q-8750 512 26.311597
Granite-4.0-Micro GENIEX_LLAMACPP q4_0 Qualcomm® Dragonwing™ Q-8750 512 22.175807
Granite-4.0-Micro GENIEX_LLAMACPP q4_0 Qualcomm® Dragonwing™ Q-8750 512 11.443238
Granite-4.0-Micro GENIEX_LLAMACPP q4_0 Qualcomm® Dragonwing™ IQ-9075 4096 19.103371
Granite-4.0-Micro GENIEX_LLAMACPP q4_0 Qualcomm® Dragonwing™ IQ-9075 4096 8.851177
Granite-4.0-Micro GENIEX_LLAMACPP q4_0 Qualcomm® Dragonwing™ IQ-9075 4096 15.852286
Granite-4.0-Micro GENIEX_LLAMACPP q4_0 Qualcomm® Dragonwing™ IQ-X7181 4096 34.060326
Granite-4.0-Micro GENIEX_LLAMACPP q4_0 Qualcomm® Dragonwing™ IQ-X7181 4096 22.40092
Granite-4.0-Micro GENIEX_LLAMACPP q4_0 Qualcomm® Dragonwing™ IQ-X7181 4096 15.662983
Granite-4.0-Micro GENIEX_LLAMACPP q4_0 Qualcomm® Dragonwing™ Q-8750 4096 22.418218
Granite-4.0-Micro GENIEX_LLAMACPP q4_0 Qualcomm® Dragonwing™ Q-8750 4096 17.484373
Granite-4.0-Micro GENIEX_LLAMACPP q4_0 Qualcomm® Dragonwing™ Q-8750 4096 10.307193

License

  • The license for the original implementation of Granite-4.0-Micro can be found here.

References

Community

Usage and Limitations

This model may not be used for or in connection with any of the following applications:

  • Accessing essential private and public services and benefits;
  • Administration of justice and democratic processes;
  • Assessing or recognizing the emotional state of a person;
  • Biometric and biometrics-based systems, including categorization of persons based on sensitive characteristics;
  • Education and vocational training;
  • Employment and workers management;
  • Exploitation of the vulnerabilities of persons resulting in harmful behavior;
  • General purpose social scoring;
  • Law enforcement;
  • Management and operation of critical infrastructure;
  • Migration, asylum and border control management;
  • Predictive policing;
  • Real-time remote biometric identification in public spaces;
  • Recommender systems of social media platforms;
  • Scraping of facial images (from the internet or otherwise); and/or
  • Subliminal manipulation
Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support