v0.61.0
Browse filesSee https://github.com/qualcomm/ai-hub-models/releases/v0.61.0 for changelog.
- README.md +23 -17
- release_assets.json +1 -1
README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
---
|
| 2 |
library_name: pytorch
|
| 3 |
-
license:
|
| 4 |
tags:
|
| 5 |
- llm
|
| 6 |
- generative_ai
|
|
@@ -16,7 +16,7 @@ pipeline_tag: text-generation
|
|
| 16 |
Phi-4-mini-instruct is a lightweight open model built upon synthetic data and filtered publicly available websites - with a focus on high-quality, reasoning dense data.
|
| 17 |
|
| 18 |
This is based on the implementation of Phi-4-Mini-Instruct found [here](https://huggingface.co/microsoft/Phi-4-mini-instruct).
|
| 19 |
-
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.
|
| 20 |
|
| 21 |
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.
|
| 22 |
|
|
@@ -40,14 +40,14 @@ For more device-specific assets and performance metrics, visit **[Phi-4-Mini-Ins
|
|
| 40 |
|
| 41 |
### Option 2: Export with Custom Configurations
|
| 42 |
|
| 43 |
-
Use the [Qualcomm® AI Hub Models](https://github.com/qualcomm/ai-hub-models/blob/v0.
|
| 44 |
- Custom weights (e.g., fine-tuned checkpoints)
|
| 45 |
- Custom input shapes
|
| 46 |
- Target device and runtime configurations
|
| 47 |
|
| 48 |
This option is ideal if you need to customize the model beyond the default configuration provided here.
|
| 49 |
|
| 50 |
-
See our repository for [Phi-4-Mini-Instruct on GitHub](https://github.com/qualcomm/ai-hub-models/blob/v0.
|
| 51 |
|
| 52 |
## Model Details
|
| 53 |
|
|
@@ -55,36 +55,42 @@ See our repository for [Phi-4-Mini-Instruct on GitHub](https://github.com/qualco
|
|
| 55 |
|
| 56 |
**Model Stats:**
|
| 57 |
- Number of parameters: 3.8B
|
| 58 |
-
- 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. The lower bound is for a short prompt (up to 128 tokens, i.e., one iteration of the prompt processor) and the upper bound is for a prompt using the full context length (4096 tokens).
|
| 59 |
- Response Rate: Rate of response generation after the first response token.
|
|
|
|
| 60 |
|
| 61 |
## Performance Summary
|
| 62 |
| Model | Runtime | Precision | Chipset | Context Length | Response Rate (tokens per second) | Time To First Token (range, seconds)
|
| 63 |
|---|---|---|---|---|---|---
|
| 64 |
-
| Phi-4-Mini-Instruct | GENIEX_LLAMACPP | q4_0 | Snapdragon® 8 Elite Gen 5 Mobile | 512 | 23.
|
| 65 |
-
| Phi-4-Mini-Instruct | GENIEX_LLAMACPP | q4_0 | Snapdragon® 8 Elite Gen 5 Mobile | 512 |
|
| 66 |
-
| Phi-4-Mini-Instruct | GENIEX_LLAMACPP | q4_0 | Snapdragon® 8 Elite Gen 5 Mobile | 512 |
|
| 67 |
-
| Phi-4-Mini-Instruct | GENIEX_LLAMACPP | q4_0 | Snapdragon® 8 Elite Gen 5 Mobile | 4096 |
|
| 68 |
-
| Phi-4-Mini-Instruct | GENIEX_LLAMACPP | q4_0 | Snapdragon® 8 Elite Gen 5 Mobile | 4096 |
|
| 69 |
-
| Phi-4-Mini-Instruct | GENIEX_LLAMACPP | q4_0 | Snapdragon® 8 Elite Gen 5 Mobile | 4096 |
|
| 70 |
| Phi-4-Mini-Instruct | GENIEX_LLAMACPP | q4_0 | Snapdragon® 8 Elite Mobile | 512 | 24.055461 | 0.9468802500000001 - 3.7875210000000004
|
| 71 |
| Phi-4-Mini-Instruct | GENIEX_LLAMACPP | q4_0 | Snapdragon® 8 Elite Mobile | 512 | 23.939526 | 0.95809125 - 3.832365
|
| 72 |
| Phi-4-Mini-Instruct | GENIEX_LLAMACPP | q4_0 | Snapdragon® 8 Elite Mobile | 512 | 19.557942 | 0.1830165 - 0.732066
|
| 73 |
| Phi-4-Mini-Instruct | GENIEX_LLAMACPP | q4_0 | Snapdragon® 8 Elite Mobile | 4096 | 13.965758 | 1.94027484375 - 62.088795
|
| 74 |
| Phi-4-Mini-Instruct | GENIEX_LLAMACPP | q4_0 | Snapdragon® 8 Elite Mobile | 4096 | 8.177678 | 2.3551633124999998 - 75.36522599999999
|
| 75 |
| Phi-4-Mini-Instruct | GENIEX_LLAMACPP | q4_0 | Snapdragon® 8 Elite Mobile | 4096 | 13.116693 | 0.35286768749999997 - 11.291765999999999
|
| 76 |
-
| Phi-4-Mini-Instruct | GENIEX_LLAMACPP | q4_0 | Snapdragon® X2 Elite | 512 |
|
| 77 |
-
| Phi-4-Mini-Instruct | GENIEX_LLAMACPP | q4_0 | Snapdragon® X2 Elite | 512 |
|
| 78 |
-
| Phi-4-Mini-Instruct | GENIEX_LLAMACPP | q4_0 | Snapdragon® X2 Elite | 512 |
|
| 79 |
-
| Phi-4-Mini-Instruct | GENIEX_LLAMACPP | q4_0 | Snapdragon® X2 Elite | 4096 |
|
| 80 |
-
| Phi-4-Mini-Instruct | GENIEX_LLAMACPP | q4_0 | Snapdragon® X2 Elite | 4096 |
|
| 81 |
-
| Phi-4-Mini-Instruct | GENIEX_LLAMACPP | q4_0 | Snapdragon® X2 Elite | 4096 |
|
| 82 |
| Phi-4-Mini-Instruct | GENIEX_LLAMACPP | q4_0 | Snapdragon® X Elite | 512 | 27.988389 | 0.40832025 - 1.633281
|
| 83 |
| Phi-4-Mini-Instruct | GENIEX_LLAMACPP | q4_0 | Snapdragon® X Elite | 512 | 27.143556 | 0.46132475 - 1.845299
|
| 84 |
| Phi-4-Mini-Instruct | GENIEX_LLAMACPP | q4_0 | Snapdragon® X Elite | 512 | 16.042448 | 0.25184725 - 1.007389
|
| 85 |
| Phi-4-Mini-Instruct | GENIEX_LLAMACPP | q4_0 | Snapdragon® X Elite | 4096 | 15.617096 | 0.913791375 - 29.241324
|
| 86 |
| Phi-4-Mini-Instruct | GENIEX_LLAMACPP | q4_0 | Snapdragon® X Elite | 4096 | 16.000366 | 0.9590768749999999 - 30.690459999999998
|
| 87 |
| Phi-4-Mini-Instruct | GENIEX_LLAMACPP | q4_0 | Snapdragon® X Elite | 4096 | 9.673267 | 0.41174053125 - 13.175697
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 88 |
| Phi-4-Mini-Instruct | GENIEX_LLAMACPP | q4_0 | Qualcomm® Dragonwing™ IQ-X7181 | 512 | 27.988389 | 0.40832025 - 1.633281
|
| 89 |
| Phi-4-Mini-Instruct | GENIEX_LLAMACPP | q4_0 | Qualcomm® Dragonwing™ IQ-X7181 | 512 | 27.143556 | 0.46132475 - 1.845299
|
| 90 |
| Phi-4-Mini-Instruct | GENIEX_LLAMACPP | q4_0 | Qualcomm® Dragonwing™ IQ-X7181 | 512 | 16.042448 | 0.25184725 - 1.007389
|
|
|
|
| 1 |
---
|
| 2 |
library_name: pytorch
|
| 3 |
+
license: mit
|
| 4 |
tags:
|
| 5 |
- llm
|
| 6 |
- generative_ai
|
|
|
|
| 16 |
Phi-4-mini-instruct is a lightweight open model built upon synthetic data and filtered publicly available websites - with a focus on high-quality, reasoning dense data.
|
| 17 |
|
| 18 |
This is based on the implementation of Phi-4-Mini-Instruct found [here](https://huggingface.co/microsoft/Phi-4-mini-instruct).
|
| 19 |
+
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/phi_4_mini_instruct) library to export with custom configurations. More details on model performance across various devices, can be found [here](#performance-summary).
|
| 20 |
|
| 21 |
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.
|
| 22 |
|
|
|
|
| 40 |
|
| 41 |
### Option 2: Export with Custom Configurations
|
| 42 |
|
| 43 |
+
Use the [Qualcomm® AI Hub Models](https://github.com/qualcomm/ai-hub-models/blob/v0.61.0/src/qai_hub_models/models/phi_4_mini_instruct) Python library to compile and export the model with your own:
|
| 44 |
- Custom weights (e.g., fine-tuned checkpoints)
|
| 45 |
- Custom input shapes
|
| 46 |
- Target device and runtime configurations
|
| 47 |
|
| 48 |
This option is ideal if you need to customize the model beyond the default configuration provided here.
|
| 49 |
|
| 50 |
+
See our repository for [Phi-4-Mini-Instruct on GitHub](https://github.com/qualcomm/ai-hub-models/blob/v0.61.0/src/qai_hub_models/models/phi_4_mini_instruct) for usage instructions.
|
| 51 |
|
| 52 |
## Model Details
|
| 53 |
|
|
|
|
| 55 |
|
| 56 |
**Model Stats:**
|
| 57 |
- Number of parameters: 3.8B
|
|
|
|
| 58 |
- Response Rate: Rate of response generation after the first response token.
|
| 59 |
+
- 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. The lower bound is for a short prompt (up to 128 tokens, i.e., one iteration of the prompt processor) and the upper bound is for a prompt using the full context length (4096 tokens).
|
| 60 |
|
| 61 |
## Performance Summary
|
| 62 |
| Model | Runtime | Precision | Chipset | Context Length | Response Rate (tokens per second) | Time To First Token (range, seconds)
|
| 63 |
|---|---|---|---|---|---|---
|
| 64 |
+
| Phi-4-Mini-Instruct | GENIEX_LLAMACPP | q4_0 | Snapdragon® 8 Elite Gen 5 Mobile | 512 | 23.230486 | 3.538779 - 14.155116
|
| 65 |
+
| Phi-4-Mini-Instruct | GENIEX_LLAMACPP | q4_0 | Snapdragon® 8 Elite Gen 5 Mobile | 512 | 20.216085 | 1.514717 - 6.058868
|
| 66 |
+
| Phi-4-Mini-Instruct | GENIEX_LLAMACPP | q4_0 | Snapdragon® 8 Elite Gen 5 Mobile | 512 | 18.990644 | 0.35408999999999996 - 1.4163599999999998
|
| 67 |
+
| Phi-4-Mini-Instruct | GENIEX_LLAMACPP | q4_0 | Snapdragon® 8 Elite Gen 5 Mobile | 4096 | 9.043983 | 72.060935 - 2305.94992
|
| 68 |
+
| Phi-4-Mini-Instruct | GENIEX_LLAMACPP | q4_0 | Snapdragon® 8 Elite Gen 5 Mobile | 4096 | 11.167019 | 29.135119 - 932.323808
|
| 69 |
+
| Phi-4-Mini-Instruct | GENIEX_LLAMACPP | q4_0 | Snapdragon® 8 Elite Gen 5 Mobile | 4096 | 14.313395 | 5.057653 - 161.844896
|
| 70 |
| Phi-4-Mini-Instruct | GENIEX_LLAMACPP | q4_0 | Snapdragon® 8 Elite Mobile | 512 | 24.055461 | 0.9468802500000001 - 3.7875210000000004
|
| 71 |
| Phi-4-Mini-Instruct | GENIEX_LLAMACPP | q4_0 | Snapdragon® 8 Elite Mobile | 512 | 23.939526 | 0.95809125 - 3.832365
|
| 72 |
| Phi-4-Mini-Instruct | GENIEX_LLAMACPP | q4_0 | Snapdragon® 8 Elite Mobile | 512 | 19.557942 | 0.1830165 - 0.732066
|
| 73 |
| Phi-4-Mini-Instruct | GENIEX_LLAMACPP | q4_0 | Snapdragon® 8 Elite Mobile | 4096 | 13.965758 | 1.94027484375 - 62.088795
|
| 74 |
| Phi-4-Mini-Instruct | GENIEX_LLAMACPP | q4_0 | Snapdragon® 8 Elite Mobile | 4096 | 8.177678 | 2.3551633124999998 - 75.36522599999999
|
| 75 |
| Phi-4-Mini-Instruct | GENIEX_LLAMACPP | q4_0 | Snapdragon® 8 Elite Mobile | 4096 | 13.116693 | 0.35286768749999997 - 11.291765999999999
|
| 76 |
+
| Phi-4-Mini-Instruct | GENIEX_LLAMACPP | q4_0 | Snapdragon® X2 Elite | 512 | 34.223958 | 1.015909 - 4.063636
|
| 77 |
+
| Phi-4-Mini-Instruct | GENIEX_LLAMACPP | q4_0 | Snapdragon® X2 Elite | 512 | 28.03951 | 0.813092 - 3.252368
|
| 78 |
+
| Phi-4-Mini-Instruct | GENIEX_LLAMACPP | q4_0 | Snapdragon® X2 Elite | 512 | 26.878243 | 0.30885199999999996 - 1.2354079999999998
|
| 79 |
+
| Phi-4-Mini-Instruct | GENIEX_LLAMACPP | q4_0 | Snapdragon® X2 Elite | 4096 | 22.358129 | 14.089633 - 450.868256
|
| 80 |
+
| Phi-4-Mini-Instruct | GENIEX_LLAMACPP | q4_0 | Snapdragon® X2 Elite | 4096 | 21.080379 | 11.711404 - 374.764928
|
| 81 |
+
| Phi-4-Mini-Instruct | GENIEX_LLAMACPP | q4_0 | Snapdragon® X2 Elite | 4096 | 18.123052 | 3.209757 - 102.712224
|
| 82 |
| Phi-4-Mini-Instruct | GENIEX_LLAMACPP | q4_0 | Snapdragon® X Elite | 512 | 27.988389 | 0.40832025 - 1.633281
|
| 83 |
| Phi-4-Mini-Instruct | GENIEX_LLAMACPP | q4_0 | Snapdragon® X Elite | 512 | 27.143556 | 0.46132475 - 1.845299
|
| 84 |
| Phi-4-Mini-Instruct | GENIEX_LLAMACPP | q4_0 | Snapdragon® X Elite | 512 | 16.042448 | 0.25184725 - 1.007389
|
| 85 |
| Phi-4-Mini-Instruct | GENIEX_LLAMACPP | q4_0 | Snapdragon® X Elite | 4096 | 15.617096 | 0.913791375 - 29.241324
|
| 86 |
| Phi-4-Mini-Instruct | GENIEX_LLAMACPP | q4_0 | Snapdragon® X Elite | 4096 | 16.000366 | 0.9590768749999999 - 30.690459999999998
|
| 87 |
| Phi-4-Mini-Instruct | GENIEX_LLAMACPP | q4_0 | Snapdragon® X Elite | 4096 | 9.673267 | 0.41174053125 - 13.175697
|
| 88 |
+
| Phi-4-Mini-Instruct | GENIEX_LLAMACPP | q4_0 | Qualcomm® Dragonwing™ IQ-8275 | 512 | 4.552376 | 12.93992 - 51.75968
|
| 89 |
+
| Phi-4-Mini-Instruct | GENIEX_LLAMACPP | q4_0 | Qualcomm® Dragonwing™ IQ-8275 | 512 | 2.596201 | 18.429702000000002 - 73.71880800000001
|
| 90 |
+
| Phi-4-Mini-Instruct | GENIEX_LLAMACPP | q4_0 | Qualcomm® Dragonwing™ IQ-8275 | 512 | 9.976684 | 1.089346 - 4.357384
|
| 91 |
+
| Phi-4-Mini-Instruct | GENIEX_LLAMACPP | q4_0 | Qualcomm® Dragonwing™ IQ-8275 | 4096 | 1.597252 | 140.87717800000001 - 4508.0696960000005
|
| 92 |
+
| Phi-4-Mini-Instruct | GENIEX_LLAMACPP | q4_0 | Qualcomm® Dragonwing™ IQ-8275 | 4096 | 1.921158 | 213.723029 - 6839.136928
|
| 93 |
+
| Phi-4-Mini-Instruct | GENIEX_LLAMACPP | q4_0 | Qualcomm® Dragonwing™ IQ-8275 | 4096 | 6.191769 | 10.702895 - 342.49264
|
| 94 |
| Phi-4-Mini-Instruct | GENIEX_LLAMACPP | q4_0 | Qualcomm® Dragonwing™ IQ-X7181 | 512 | 27.988389 | 0.40832025 - 1.633281
|
| 95 |
| Phi-4-Mini-Instruct | GENIEX_LLAMACPP | q4_0 | Qualcomm® Dragonwing™ IQ-X7181 | 512 | 27.143556 | 0.46132475 - 1.845299
|
| 96 |
| Phi-4-Mini-Instruct | GENIEX_LLAMACPP | q4_0 | Qualcomm® Dragonwing™ IQ-X7181 | 512 | 16.042448 | 0.25184725 - 1.007389
|
release_assets.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
{
|
| 2 |
-
"version": "0.
|
| 3 |
"precisions": {
|
| 4 |
"q4_0": {
|
| 5 |
"universal_assets": {
|
|
|
|
| 1 |
{
|
| 2 |
+
"version": "0.61.0",
|
| 3 |
"precisions": {
|
| 4 |
"q4_0": {
|
| 5 |
"universal_assets": {
|