v0.63.0
Browse filesSee https://github.com/qualcomm/ai-hub-models/releases/v0.63.0 for changelog.
Files changed (3)
- LICENSEAdded+1
- README.mdAdded+107
- release_assets.jsonAdded+57
1The license of the original trained model can be found at https://huggingface.co/HuggingFaceTB/SmolLM2-1.7B-Instruct/blob/main/README.md.123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107---library_name: pytorchlicense: apache-2.0tags:- llm- generative_ai- androidpipeline_tag: text-generation
---

# SmolLM2-1.7B-Instruct: Optimized for Qualcomm Devices
A 1.7B parameter instruction-tuned variant of SmolLM2, fine-tuned for conversational and instruction-following tasks, optimized for efficient on-device inference on Qualcomm Snapdragon platforms.
This is based on the implementation of SmolLM2-1.7B-Instruct found [here](https://huggingface.co/HuggingFaceTB/SmolLM2-1.7B-Instruct).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.63.0/src/qai_hub_models/models/smollm2_1_7b_it) 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.
## Deploying SmolLM2-1.7B-Instruct on-device
Follow the [GenieX quickstart](https://geniex.aihub.qualcomm.com/en/get-started/quickstart) to install GenieX and deploy the model on a target device.
See the [LLM-on-Genie](https://github.com/qualcomm/ai-hub-apps/tree/main/tutorials/llm_on_genie) tutorial to run with the Genie runtime. Note: Genie support will be deprecated soon.
## Getting StartedThere 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_QAIRT | w4a16 | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | QAIRT 2.45 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/smollm2_1_7b_it/releases/v0.63.0/smollm2_1_7b_it-geniex_qairt-w4a16-qualcomm_snapdragon_8_elite_gen5_for_galaxy.zip)| GENIEX_QAIRT | w4a16 | Snapdragon® 8 Elite For Galaxy Mobile | QAIRT 2.45 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/smollm2_1_7b_it/releases/v0.63.0/smollm2_1_7b_it-geniex_qairt-w4a16-qualcomm_snapdragon_8_elite_for_galaxy.zip)| GENIEX_QAIRT | w4a16 | Snapdragon® X2 Elite | QAIRT 2.45 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/smollm2_1_7b_it/releases/v0.63.0/smollm2_1_7b_it-geniex_qairt-w4a16-qualcomm_snapdragon_x2_elite.zip)| GENIEX_QAIRT | w4a16 | Snapdragon® X Elite | QAIRT 2.45 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/smollm2_1_7b_it/releases/v0.63.0/smollm2_1_7b_it-geniex_qairt-w4a16-qualcomm_snapdragon_x_elite.zip)| GENIEX_QAIRT | w4a16 | Qualcomm® Dragonwing™ IQ-8275 | QAIRT 2.45 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/smollm2_1_7b_it/releases/v0.63.0/smollm2_1_7b_it-geniex_qairt-w4a16-qualcomm_qcs8275.zip)| GENIEX_QAIRT | w4a16 | Qualcomm® Dragonwing™ IQ-9075 | QAIRT 2.45 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/smollm2_1_7b_it/releases/v0.63.0/smollm2_1_7b_it-geniex_qairt-w4a16-qualcomm_qcs9075.zip)
For more device-specific assets and performance metrics, visit **[SmolLM2-1.7B-Instruct on Qualcomm® AI Hub](https://aihub.qualcomm.com/models/smollm2_1_7b_it)**.
### Option 2: Export with Custom Configurations
Use the [Qualcomm® AI Hub Models](https://github.com/qualcomm/ai-hub-models/blob/v0.63.0/src/qai_hub_models/models/smollm2_1_7b_it) 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 [SmolLM2-1.7B-Instruct on GitHub](https://github.com/qualcomm/ai-hub-models/blob/v0.63.0/src/qai_hub_models/models/smollm2_1_7b_it) for usage instructions.
## Model Details
**Model Type:** Model_use_case.text_generation
**Model Stats:**- Architecture: Llama-based- 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) and the upper bound is for a prompt using the full context length (8192 tokens).- 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)|---|---|---|---|---|---|---| SmolLM2-1.7B-Instruct | GENIEX_QAIRT | w4a16 | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 4096 | 21.054242 | 0.08103493548387097 - 2.593117935483871| SmolLM2-1.7B-Instruct | GENIEX_QAIRT | w4a16 | Snapdragon® 8 Elite For Galaxy Mobile | 4096 | 20.544417 | 0.09430112903225805 - 3.0176361290322578| SmolLM2-1.7B-Instruct | GENIEX_QAIRT | w4a16 | Snapdragon® X2 Elite | 4096 | 7.847375 | 0.18334345161290322 - 5.866990451612903| SmolLM2-1.7B-Instruct | GENIEX_QAIRT | w4a16 | Qualcomm® Dragonwing™ Q-8750 | 4096 | 20.544417 | 0.09430112903225805 - 3.0176361290322578
## License* The license for the original implementation of SmolLM2-1.7B-Instruct can be found [here](https://huggingface.co/HuggingFaceTB/SmolLM2-1.7B-Instruct/blob/main/README.md).
## References* [SmolLM2: When Smol Goes Big -- Data-Centric Training of a Small Language Model](https://arxiv.org/abs/2502.02737)* [Source Model Implementation](https://huggingface.co/HuggingFaceTB/SmolLM2-1.7B-Instruct)
## Community* Join [our AI Hub Slack community](https://aihub.qualcomm.com/community/slack) to collaborate, post questions and learn more about on-device AI.* For questions or feedback please [reach out to us](mailto:ai-hub-support@qti.qualcomm.com).
## 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 manipulation123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657{ "version": "0.63.0", "precisions": { "w4a16": { "chipset_assets": { "qualcomm-qcs8275": { "geniex_qairt": { "tool_versions": { "qairt": "2.45.0.260326154327" }, "download_url": "https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/smollm2_1_7b_it/releases/v0.63.0/smollm2_1_7b_it-geniex_qairt-w4a16-qualcomm_qcs8275.zip" } }, "qualcomm-qcs9075": { "geniex_qairt": { "tool_versions": { "qairt": "2.45.0.260326154327" }, "download_url": "https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/smollm2_1_7b_it/releases/v0.63.0/smollm2_1_7b_it-geniex_qairt-w4a16-qualcomm_qcs9075.zip" } }, "qualcomm-snapdragon-8-elite-for-galaxy": { "geniex_qairt": { "tool_versions": { "qairt": "2.45.0.260326154327" }, "download_url": "https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/smollm2_1_7b_it/releases/v0.63.0/smollm2_1_7b_it-geniex_qairt-w4a16-qualcomm_snapdragon_8_elite_for_galaxy.zip" } }, "qualcomm-snapdragon-8-elite-gen5-for-galaxy": { "geniex_qairt": { "tool_versions": { "qairt": "2.45.0.260326154327" }, "download_url": "https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/smollm2_1_7b_it/releases/v0.63.0/smollm2_1_7b_it-geniex_qairt-w4a16-qualcomm_snapdragon_8_elite_gen5_for_galaxy.zip" } }, "qualcomm-snapdragon-x-elite": { "geniex_qairt": { "tool_versions": { "qairt": "2.45.0.260326154327" }, "download_url": "https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/smollm2_1_7b_it/releases/v0.63.0/smollm2_1_7b_it-geniex_qairt-w4a16-qualcomm_snapdragon_x_elite.zip" } }, "qualcomm-snapdragon-x2-elite": { "geniex_qairt": { "tool_versions": { "qairt": "2.45.0.260326154327" }, "download_url": "https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/smollm2_1_7b_it/releases/v0.63.0/smollm2_1_7b_it-geniex_qairt-w4a16-qualcomm_snapdragon_x2_elite.zip" } } } } }}LICENSEAdded+1
README.mdAdded+107
release_assets.jsonAdded+57