Beit: Optimized for Qualcomm Devices
Beit is a machine learning model that can classify images from the Imagenet dataset. It can also be used as a backbone in building more complex models for specific use cases.
This is based on the implementation of Beit 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.
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 |
|---|---|---|---|---|
| ONNX | float | Universal | QAIRT 2.51, ONNX Runtime 1.30.0 | Download |
| ONNX | w8a16 | Universal | QAIRT 2.51, ONNX Runtime 1.30.0 | Download |
| QNN_DLC | float | Universal | QAIRT 2.51 | Download |
| QNN_DLC | w8a16 | Universal | QAIRT 2.51 | Download |
| TFLITE | float | Universal | QAIRT 2.51 | Download |
For more device-specific assets and performance metrics, visit Beit 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 Beit on GitHub for usage instructions.
Model Details
Model Type: Model_use_case.image_classification
Model Stats:
- Input resolution: 224x224
- Model checkpoint: Imagenet
- Model size (float): 351 MB
- Number of parameters: 92.0M
Performance Summary
| Model | Runtime | Precision | Chipset | Inference Time (ms) | Peak Memory Range (MB) | Primary Compute Unit |
|---|---|---|---|---|---|---|
| Beit | ONNX | float | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 7.489 ms | 0 - 304 MB | NPU |
| Beit | ONNX | float | Snapdragon® 8 Elite For Galaxy Mobile | 8.402 ms | 1 - 301 MB | NPU |
| Beit | ONNX | float | Snapdragon® X2 Elite | 7.398 ms | 2 - 2 MB | NPU |
| Beit | ONNX | float | Snapdragon® X Elite | 15.258 ms | 184 - 184 MB | NPU |
| Beit | ONNX | float | Snapdragon® 8 Gen 3 Mobile | 10.605 ms | 1 - 445 MB | NPU |
| Beit | ONNX | float | Snapdragon® 8 Gen 1 Mobile | 13.915 ms | 1 - 418 MB | NPU |
| Beit | ONNX | float | Qualcomm® Dragonwing™ IQ-8275 | 18.282 ms | 1 - 5 MB | NPU |
| Beit | ONNX | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 14.663 ms | 0 - 194 MB | NPU |
| Beit | ONNX | float | Qualcomm® QCS8450 | 13.915 ms | 1 - 418 MB | NPU |
| Beit | ONNX | float | Qualcomm® Dragonwing™ IQ-9075 | 17.735 ms | 0 - 4 MB | NPU |
| Beit | ONNX | float | Qualcomm® Dragonwing™ IQ-X7181 | 15.258 ms | 184 - 184 MB | NPU |
| Beit | ONNX | float | Qualcomm® Dragonwing™ Q-8750 | 8.402 ms | 1 - 301 MB | NPU |
| Beit | ONNX | float | Snapdragon® 8 Elite Extreme Gen 6 Mobile | 4.679 ms | 0 - 187 MB | NPU |
| Beit | ONNX | float | Snapdragon® 8 Elite Gen 6 Mobile | 6.798 ms | 0 - 302 MB | NPU |
| Beit | ONNX | w8a16 | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 2.285 ms | 0 - 214 MB | NPU |
| Beit | ONNX | w8a16 | Snapdragon® 8 Elite For Galaxy Mobile | 3.864 ms | 0 - 312 MB | NPU |
| Beit | ONNX | w8a16 | Snapdragon® X2 Elite | 2.549 ms | 1 - 1 MB | NPU |
| Beit | ONNX | w8a16 | Snapdragon® X Elite | 6.702 ms | 95 - 95 MB | NPU |
| Beit | ONNX | w8a16 | Snapdragon® 8 Gen 3 Mobile | 4.566 ms | 0 - 417 MB | NPU |
| Beit | ONNX | w8a16 | Snapdragon® 8 Gen 1 Mobile | 8.229 ms | 0 - 420 MB | NPU |
| Beit | ONNX | w8a16 | Qualcomm® Dragonwing™ QCS6490 | 27.205 ms | 1 - 4 MB | NPU |
| Beit | ONNX | w8a16 | Qualcomm® Dragonwing™ IQ-8275 | 6.011 ms | 1 - 5 MB | NPU |
| Beit | ONNX | w8a16 | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 6.535 ms | 0 - 98 MB | NPU |
| Beit | ONNX | w8a16 | Qualcomm® QCS8450 | 8.229 ms | 0 - 420 MB | NPU |
| Beit | ONNX | w8a16 | Qualcomm® Dragonwing™ IQ-9075 | 6.165 ms | 1 - 4 MB | NPU |
| Beit | ONNX | w8a16 | Qualcomm® Dragonwing™ IQ-X7181 | 6.702 ms | 95 - 95 MB | NPU |
| Beit | ONNX | w8a16 | Qualcomm® Dragonwing™ Q-6690 | 115.71 ms | 1 - 413 MB | NPU |
| Beit | ONNX | w8a16 | Qualcomm® Dragonwing™ Q-7790 | 7.779 ms | 0 - 385 MB | NPU |
| Beit | ONNX | w8a16 | Qualcomm® Dragonwing™ Q-8750 | 3.864 ms | 0 - 312 MB | NPU |
| Beit | ONNX | w8a16 | Snapdragon® 7 Gen 4 Mobile | 7.779 ms | 0 - 385 MB | NPU |
| Beit | ONNX | w8a16 | Snapdragon® 8 Elite Extreme Gen 6 Mobile | 2.136 ms | 0 - 213 MB | NPU |
| Beit | ONNX | w8a16 | Snapdragon® 8 Elite Gen 6 Mobile | 2.52 ms | 0 - 306 MB | NPU |
| Beit | QNN_DLC | float | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 7.411 ms | 0 - 299 MB | NPU |
| Beit | QNN_DLC | float | Snapdragon® 8 Elite For Galaxy Mobile | 8.37 ms | 0 - 294 MB | NPU |
| Beit | QNN_DLC | float | Snapdragon® X2 Elite | 7.719 ms | 1 - 1 MB | NPU |
| Beit | QNN_DLC | float | Snapdragon® X Elite | 15.387 ms | 1 - 1 MB | NPU |
| Beit | QNN_DLC | float | Snapdragon® 8 Gen 3 Mobile | 10.574 ms | 0 - 391 MB | NPU |
| Beit | QNN_DLC | float | Snapdragon® 8 Gen 1 Mobile | 13.776 ms | 0 - 363 MB | NPU |
| Beit | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-8275 | 18.253 ms | 0 - 3 MB | NPU |
| Beit | QNN_DLC | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 14.698 ms | 0 - 2 MB | NPU |
| Beit | QNN_DLC | float | Qualcomm® QCS8450 | 13.776 ms | 0 - 363 MB | NPU |
| Beit | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-9075 | 18.352 ms | 0 - 2 MB | NPU |
| Beit | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-X7181 | 15.387 ms | 1 - 1 MB | NPU |
| Beit | QNN_DLC | float | Qualcomm® Dragonwing™ Q-8750 | 8.37 ms | 0 - 294 MB | NPU |
| Beit | QNN_DLC | float | Qualcomm® SA8295P | 14.909 ms | 0 - 272 MB | NPU |
| Beit | QNN_DLC | float | Snapdragon® 8 Elite Extreme Gen 6 Mobile | 4.709 ms | 0 - 179 MB | NPU |
| Beit | QNN_DLC | float | Snapdragon® 8 Elite Gen 6 Mobile | 6.714 ms | 0 - 297 MB | NPU |
| Beit | QNN_DLC | w8a16 | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 2.423 ms | 0 - 310 MB | NPU |
| Beit | QNN_DLC | w8a16 | Snapdragon® 8 Elite For Galaxy Mobile | 3.356 ms | 0 - 301 MB | NPU |
| Beit | QNN_DLC | w8a16 | Snapdragon® X2 Elite | 3.036 ms | 0 - 0 MB | NPU |
| Beit | QNN_DLC | w8a16 | Snapdragon® X Elite | 7.681 ms | 0 - 0 MB | NPU |
| Beit | QNN_DLC | w8a16 | Snapdragon® 8 Gen 3 Mobile | 4.839 ms | 0 - 407 MB | NPU |
| Beit | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ IQ-8275 | 5.987 ms | 1 - 4 MB | NPU |
| Beit | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 7.122 ms | 0 - 3 MB | NPU |
| Beit | QNN_DLC | w8a16 | Qualcomm® SA8650P | 7.423 ms | 0 - 349 MB | NPU |
| Beit | QNN_DLC | w8a16 | Qualcomm® SA8255P | 7.423 ms | 0 - 349 MB | NPU |
| Beit | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ IQ-9075 | 7.122 ms | 1 - 3 MB | NPU |
| Beit | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ IQ-X7181 | 7.681 ms | 0 - 0 MB | NPU |
| Beit | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ Q-6690 | 106.491 ms | 1 - 401 MB | NPU |
| Beit | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ Q-7790 | 8.272 ms | 0 - 377 MB | NPU |
| Beit | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ Q-8750 | 3.356 ms | 0 - 301 MB | NPU |
| Beit | QNN_DLC | w8a16 | Snapdragon® 7 Gen 4 Mobile | 8.272 ms | 0 - 377 MB | NPU |
| Beit | QNN_DLC | w8a16 | Snapdragon® 8 Elite Extreme Gen 6 Mobile | 2.301 ms | 0 - 200 MB | NPU |
| Beit | QNN_DLC | w8a16 | Snapdragon® 8 Elite Gen 6 Mobile | 3.342 ms | 0 - 296 MB | NPU |
| Beit | TFLITE | float | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 7.408 ms | 0 - 304 MB | NPU |
| Beit | TFLITE | float | Snapdragon® 8 Elite For Galaxy Mobile | 8.338 ms | 0 - 299 MB | NPU |
| Beit | TFLITE | float | Snapdragon® 8 Gen 3 Mobile | 10.574 ms | 0 - 393 MB | NPU |
| Beit | TFLITE | float | Snapdragon® 8 Gen 1 Mobile | 13.787 ms | 0 - 367 MB | NPU |
| Beit | TFLITE | float | Qualcomm® Dragonwing™ IQ-8275 | 18.27 ms | 0 - 188 MB | NPU |
| Beit | TFLITE | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 14.661 ms | 0 - 2 MB | NPU |
| Beit | TFLITE | float | Qualcomm® SA8775P | 273.397 ms | 1 - 17 MB | CPU |
| Beit | TFLITE | float | Qualcomm® SA8650P | 273.397 ms | 1 - 17 MB | CPU |
| Beit | TFLITE | float | Qualcomm® SA8255P | 273.397 ms | 1 - 17 MB | CPU |
| Beit | TFLITE | float | Qualcomm® QCS8450 | 13.787 ms | 0 - 367 MB | NPU |
| Beit | TFLITE | float | Qualcomm® Dragonwing™ IQ-9075 | 18.268 ms | 0 - 187 MB | NPU |
| Beit | TFLITE | float | Qualcomm® Dragonwing™ Q-8750 | 8.338 ms | 0 - 299 MB | NPU |
| Beit | TFLITE | float | Qualcomm® SA7255P | 407.904 ms | 2 - 16 MB | CPU |
| Beit | TFLITE | float | Qualcomm® SA8295P | 14.901 ms | 0 - 272 MB | NPU |
| Beit | TFLITE | float | Snapdragon® 8 Elite Extreme Gen 6 Mobile | 4.715 ms | 0 - 185 MB | NPU |
| Beit | TFLITE | float | Snapdragon® 8 Elite Gen 6 Mobile | 6.739 ms | 0 - 301 MB | NPU |
License
- The license for the original implementation of Beit can be found here.
References
Community
- Join our AI Hub Slack community to collaborate, post questions and learn more about on-device AI.
- For questions or feedback please reach out to us.
