v0.61.0
Browse filesSee https://github.com/qualcomm/ai-hub-models/releases/v0.61.0 for changelog.
Files changed (2)
- README.md+11-5
- release_assets.json+1-1
1234569 unmodified lines1617181920212217 unmodified lines40414243444546474849505152531 unmodified line55565758596061626316 unmodified lines808182838485---library_name: pytorchlicense: othertags:- llm- generative_ai9 unmodified linesGranite 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](https://huggingface.co/ibm-granite/granite-4.0-h-micro).This repository contains pre-exported model files optimized for Qualcomm® devices. You can use the [Qualcomm® AI Hub Models](https://github.com/qualcomm/ai-hub-models/blob/v0.59.0/src/qai_hub_models/models/granite_4_0_micro) library to export with custom configurations. More details on model performance across various devices, can be found [here](#performance-summary).Qualcomm AI Hub Models uses [Qualcomm AI Hub Workbench](https://workbench.aihub.qualcomm.com) to compile, profile, and evaluate this model. [Sign up](https://myaccount.qualcomm.com/signup) to run these models on a hosted Qualcomm® device.17 unmodified lines### Option 2: Export with Custom ConfigurationsUse the [Qualcomm® AI Hub Models](https://github.com/qualcomm/ai-hub-models/blob/v0.59.0/src/qai_hub_models/models/granite_4_0_micro) 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 configurationsThis 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](https://github.com/qualcomm/ai-hub-models/blob/v0.59.0/src/qai_hub_models/models/granite_4_0_micro) for usage instructions.## Model Details1 unmodified line**Model Stats:**- Model architecture: Mamba-2 Hybrid architecture combining State Space Model (SSM) layers with Attention layers for efficient long-context processing.- Supported languages: English- TTFT: Time To First Token is the time it takes to generate the first response token. This is expressed as a range because it varies based on the length of the prompt.- Response Rate: Rate of response generation after the first response token.## Performance Summary| Model | Runtime | Precision | Chipset | Context Length | Response Rate (tokens per second) | Time To First Token (range, seconds)16 unmodified lines| Granite-4.0-Micro | GENIEX_LLAMACPP | q4_0 | Snapdragon® X Elite | 4096 | 25.288631 | 0.51570025 - 16.502408| Granite-4.0-Micro | GENIEX_LLAMACPP | q4_0 | Snapdragon® X Elite | 4096 | 24.661293 | 0.54267315625 - 17.365541| Granite-4.0-Micro | GENIEX_LLAMACPP | q4_0 | Snapdragon® X Elite | 4096 | 11.122384 | 0.37017084375000003 - 11.845467000000001| Granite-4.0-Micro | GENIEX_LLAMACPP | q4_0 | Qualcomm® Dragonwing™ IQ-X7181 | 512 | 17.843282 | 0.69928525 - 2.797141| Granite-4.0-Micro | GENIEX_LLAMACPP | q4_0 | Qualcomm® Dragonwing™ IQ-X7181 | 512 | 13.447186 | 0.6960275 - 2.78411| Granite-4.0-Micro | GENIEX_LLAMACPP | q4_0 | Qualcomm® Dragonwing™ IQ-X7181 | 512 | 11.275263 | 0.34302550000000004 - 1.37210200000000021234569 unmodified lines1617181920212217 unmodified lines40414243444546474849505152531 unmodified line55565758596061626316 unmodified lines808182838485868788899091---library_name: pytorchlicense: apache-2.0tags:- llm- generative_ai9 unmodified linesGranite 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](https://huggingface.co/ibm-granite/granite-4.0-h-micro).This repository contains pre-exported model files optimized for Qualcomm® devices. You can use the [Qualcomm® AI Hub Models](https://github.com/qualcomm/ai-hub-models/blob/v0.61.0/src/qai_hub_models/models/granite_4_0_micro) library to export with custom configurations. More details on model performance across various devices, can be found [here](#performance-summary).Qualcomm AI Hub Models uses [Qualcomm AI Hub Workbench](https://workbench.aihub.qualcomm.com) to compile, profile, and evaluate this model. [Sign up](https://myaccount.qualcomm.com/signup) to run these models on a hosted Qualcomm® device.17 unmodified lines### Option 2: Export with Custom ConfigurationsUse the [Qualcomm® AI Hub Models](https://github.com/qualcomm/ai-hub-models/blob/v0.61.0/src/qai_hub_models/models/granite_4_0_micro) 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 configurationsThis 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](https://github.com/qualcomm/ai-hub-models/blob/v0.61.0/src/qai_hub_models/models/granite_4_0_micro) for usage instructions.## Model Details1 unmodified line**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- TTFT: Time To First Token is the time it takes to generate the first response token. This is expressed as a range because it varies based on the length of the prompt.## Performance Summary| Model | Runtime | Precision | Chipset | Context Length | Response Rate (tokens per second) | Time To First Token (range, seconds)16 unmodified lines| Granite-4.0-Micro | GENIEX_LLAMACPP | q4_0 | Snapdragon® X Elite | 4096 | 25.288631 | 0.51570025 - 16.502408| Granite-4.0-Micro | GENIEX_LLAMACPP | q4_0 | Snapdragon® X Elite | 4096 | 24.661293 | 0.54267315625 - 17.365541| Granite-4.0-Micro | GENIEX_LLAMACPP | q4_0 | Snapdragon® X Elite | 4096 | 11.122384 | 0.37017084375000003 - 11.845467000000001| Granite-4.0-Micro | GENIEX_LLAMACPP | q4_0 | Qualcomm® Dragonwing™ IQ-8275 | 512 | 8.090942 | 14.105145 - 56.42058| Granite-4.0-Micro | GENIEX_LLAMACPP | q4_0 | Qualcomm® Dragonwing™ IQ-8275 | 512 | 2.155517 | 20.781294999999997 - 83.12517999999999| Granite-4.0-Micro | GENIEX_LLAMACPP | q4_0 | Qualcomm® Dragonwing™ IQ-8275 | 512 | 5.026641 | 5.639076 - 22.556304| Granite-4.0-Micro | GENIEX_LLAMACPP | q4_0 | Qualcomm® Dragonwing™ IQ-8275 | 4096 | 6.642356 | 105.08446099999999 - 3362.7027519999997| Granite-4.0-Micro | GENIEX_LLAMACPP | q4_0 | Qualcomm® Dragonwing™ IQ-8275 | 4096 | 2.092269 | 171.585708 - 5490.742656| Granite-4.0-Micro | GENIEX_LLAMACPP | q4_0 | Qualcomm® Dragonwing™ IQ-8275 | 4096 | 4.955856 | 44.411131000000005 - 1421.1561920000001| Granite-4.0-Micro | GENIEX_LLAMACPP | q4_0 | Qualcomm® Dragonwing™ IQ-X7181 | 512 | 17.843282 | 0.69928525 - 2.797141| Granite-4.0-Micro | GENIEX_LLAMACPP | q4_0 | Qualcomm® Dragonwing™ IQ-X7181 | 512 | 13.447186 | 0.6960275 - 2.78411| Granite-4.0-Micro | GENIEX_LLAMACPP | q4_0 | Qualcomm® Dragonwing™ IQ-X7181 | 512 | 11.275263 | 0.34302550000000004 - 1.3721020000000002
12345{"version": "0.59.0","precisions": {"q4_0": {"universal_assets": {12345{"version": "0.61.0","precisions": {"q4_0": {"universal_assets": {
README.md+11-5
release_assets.json+1-1