GKT: Optimized for Qualcomm Devices
Geometry-guided Kernel Transformer is a machine learning model for generating a birds eye view represenation from the sensors(cameras) mounted on a vehicle.
This is based on the implementation of GKT 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 |
|---|---|---|---|---|
| PRECOMPILED_QNN_ONNX | float | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | QAIRT 2.50, ONNX Runtime 1.27.1 | Download |
| PRECOMPILED_QNN_ONNX | float | Snapdragon® 8 Elite For Galaxy Mobile | QAIRT 2.50, ONNX Runtime 1.27.1 | Download |
| PRECOMPILED_QNN_ONNX | float | Snapdragon® X2 Elite | QAIRT 2.50, ONNX Runtime 1.27.1 | Download |
| PRECOMPILED_QNN_ONNX | float | Snapdragon® X Elite | QAIRT 2.50, ONNX Runtime 1.27.1 | Download |
| PRECOMPILED_QNN_ONNX | float | Snapdragon® 8 Gen 3 Mobile | QAIRT 2.50, ONNX Runtime 1.27.1 | Download |
| PRECOMPILED_QNN_ONNX | float | Snapdragon® 8 Gen 1 Mobile | QAIRT 2.50, ONNX Runtime 1.27.1 | Download |
| PRECOMPILED_QNN_ONNX | float | Qualcomm® Dragonwing™ IQ-8275 | QAIRT 2.50, ONNX Runtime 1.27.1 | Download |
| PRECOMPILED_QNN_ONNX | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | QAIRT 2.50, ONNX Runtime 1.27.1 | Download |
| PRECOMPILED_QNN_ONNX | float | Qualcomm® Dragonwing™ IQ-9075 | QAIRT 2.50, ONNX Runtime 1.27.1 | Download |
| PRECOMPILED_QNN_ONNX | w8a16_mixed_fp16 | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | QAIRT 2.50, ONNX Runtime 1.27.1 | Download |
| PRECOMPILED_QNN_ONNX | w8a16_mixed_fp16 | Snapdragon® 8 Elite For Galaxy Mobile | QAIRT 2.50, ONNX Runtime 1.27.1 | Download |
| PRECOMPILED_QNN_ONNX | w8a16_mixed_fp16 | Snapdragon® X2 Elite | QAIRT 2.50, ONNX Runtime 1.27.1 | Download |
| PRECOMPILED_QNN_ONNX | w8a16_mixed_fp16 | Snapdragon® X Elite | QAIRT 2.50, ONNX Runtime 1.27.1 | Download |
| PRECOMPILED_QNN_ONNX | w8a16_mixed_fp16 | Snapdragon® 8 Gen 3 Mobile | QAIRT 2.50, ONNX Runtime 1.27.1 | Download |
| PRECOMPILED_QNN_ONNX | w8a16_mixed_fp16 | Qualcomm® Dragonwing™ IQ-8275 | QAIRT 2.50, ONNX Runtime 1.27.1 | Download |
| PRECOMPILED_QNN_ONNX | w8a16_mixed_fp16 | Qualcomm® Dragonwing™ QCS8550 (Proxy) | QAIRT 2.50, ONNX Runtime 1.27.1 | Download |
| PRECOMPILED_QNN_ONNX | w8a16_mixed_fp16 | Qualcomm® Dragonwing™ IQ-9075 | QAIRT 2.50, ONNX Runtime 1.27.1 | Download |
| QNN_CONTEXT_BINARY | float | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | QAIRT 2.50 | Download |
| QNN_CONTEXT_BINARY | float | Snapdragon® 8 Elite For Galaxy Mobile | QAIRT 2.50 | Download |
| QNN_CONTEXT_BINARY | float | Snapdragon® X2 Elite | QAIRT 2.50 | Download |
| QNN_CONTEXT_BINARY | float | Snapdragon® X Elite | QAIRT 2.50 | Download |
| QNN_CONTEXT_BINARY | float | Snapdragon® 8 Gen 3 Mobile | QAIRT 2.50 | Download |
| QNN_CONTEXT_BINARY | float | Snapdragon® 8 Gen 1 Mobile | QAIRT 2.50 | Download |
| QNN_CONTEXT_BINARY | float | Qualcomm® Dragonwing™ IQ-8275 | QAIRT 2.50 | Download |
| QNN_CONTEXT_BINARY | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | QAIRT 2.50 | Download |
| QNN_CONTEXT_BINARY | float | Qualcomm® SA8775P | QAIRT 2.50 | Download |
| QNN_CONTEXT_BINARY | float | Qualcomm® Dragonwing™ IQ-9075 | QAIRT 2.50 | Download |
| QNN_CONTEXT_BINARY | float | Qualcomm® SA7255P | QAIRT 2.50 | Download |
| QNN_CONTEXT_BINARY | float | Qualcomm® SA8295P | QAIRT 2.50 | Download |
| QNN_CONTEXT_BINARY | w8a16_mixed_fp16 | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | QAIRT 2.50 | Download |
| QNN_CONTEXT_BINARY | w8a16_mixed_fp16 | Snapdragon® 8 Elite For Galaxy Mobile | QAIRT 2.50 | Download |
| QNN_CONTEXT_BINARY | w8a16_mixed_fp16 | Snapdragon® X2 Elite | QAIRT 2.50 | Download |
| QNN_CONTEXT_BINARY | w8a16_mixed_fp16 | Snapdragon® X Elite | QAIRT 2.50 | Download |
| QNN_CONTEXT_BINARY | w8a16_mixed_fp16 | Snapdragon® 8 Gen 3 Mobile | QAIRT 2.50 | Download |
| QNN_CONTEXT_BINARY | w8a16_mixed_fp16 | Qualcomm® Dragonwing™ IQ-8275 | QAIRT 2.50 | Download |
| QNN_CONTEXT_BINARY | w8a16_mixed_fp16 | Qualcomm® Dragonwing™ QCS8550 (Proxy) | QAIRT 2.50 | Download |
| QNN_CONTEXT_BINARY | w8a16_mixed_fp16 | Qualcomm® SA8775P | QAIRT 2.50 | Download |
| QNN_CONTEXT_BINARY | w8a16_mixed_fp16 | Qualcomm® Dragonwing™ IQ-9075 | QAIRT 2.50 | Download |
| QNN_CONTEXT_BINARY | w8a16_mixed_fp16 | Qualcomm® SA7255P | QAIRT 2.50 | Download |
For more device-specific assets and performance metrics, visit GKT 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 GKT on GitHub for usage instructions.
Model Details
Model Type: Model_use_case.driver_assistance
Model Stats:
- Input resolution: 1 x 6 x 3 x 224 x 480
- Model checkpoint: map_segmentation_gkt_7x1_conv_setting2.ckpt
- Model size: 4.66 MB
- Number of parameters: 1.18M
Performance Summary
| Model | Runtime | Precision | Chipset | Inference Time (ms) | Peak Memory Range (MB) | Primary Compute Unit |
|---|---|---|---|---|---|---|
| GKT | PRECOMPILED_QNN_ONNX | float | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 59.911 ms | 0 - 8 MB | NPU |
| GKT | PRECOMPILED_QNN_ONNX | float | Snapdragon® 8 Elite For Galaxy Mobile | 72.787 ms | 1 - 11 MB | NPU |
| GKT | PRECOMPILED_QNN_ONNX | float | Snapdragon® X2 Elite | 54.851 ms | 8 - 8 MB | NPU |
| GKT | PRECOMPILED_QNN_ONNX | float | Snapdragon® X Elite | 100.387 ms | 7 - 7 MB | NPU |
| GKT | PRECOMPILED_QNN_ONNX | float | Snapdragon® 8 Gen 3 Mobile | 79.785 ms | 8 - 15 MB | NPU |
| GKT | PRECOMPILED_QNN_ONNX | float | Snapdragon® 8 Gen 1 Mobile | 150.484 ms | 8 - 22 MB | NPU |
| GKT | PRECOMPILED_QNN_ONNX | float | Qualcomm® Dragonwing™ IQ-8275 | 100.235 ms | 7 - 11 MB | NPU |
| GKT | PRECOMPILED_QNN_ONNX | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 106.031 ms | 8 - 11 MB | NPU |
| GKT | PRECOMPILED_QNN_ONNX | float | Qualcomm® QCS8450 | 150.484 ms | 8 - 22 MB | NPU |
| GKT | PRECOMPILED_QNN_ONNX | float | Qualcomm® Dragonwing™ IQ-9075 | 106.934 ms | 7 - 11 MB | NPU |
| GKT | PRECOMPILED_QNN_ONNX | float | Qualcomm® Dragonwing™ IQ-X7181 | 100.387 ms | 7 - 7 MB | NPU |
| GKT | PRECOMPILED_QNN_ONNX | float | Qualcomm® Dragonwing™ Q-8750 | 72.787 ms | 1 - 11 MB | NPU |
| GKT | PRECOMPILED_QNN_ONNX | w8a16_mixed_fp16 | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 43.789 ms | 0 - 7 MB | NPU |
| GKT | PRECOMPILED_QNN_ONNX | w8a16_mixed_fp16 | Snapdragon® 8 Elite For Galaxy Mobile | 53.914 ms | 1 - 12 MB | NPU |
| GKT | PRECOMPILED_QNN_ONNX | w8a16_mixed_fp16 | Snapdragon® X2 Elite | 42.899 ms | 4 - 4 MB | NPU |
| GKT | PRECOMPILED_QNN_ONNX | w8a16_mixed_fp16 | Snapdragon® X Elite | 86.774 ms | 4 - 4 MB | NPU |
| GKT | PRECOMPILED_QNN_ONNX | w8a16_mixed_fp16 | Snapdragon® 8 Gen 3 Mobile | 60.876 ms | 4 - 12 MB | NPU |
| GKT | PRECOMPILED_QNN_ONNX | w8a16_mixed_fp16 | Qualcomm® Dragonwing™ IQ-8275 | 74.83 ms | 4 - 8 MB | NPU |
| GKT | PRECOMPILED_QNN_ONNX | w8a16_mixed_fp16 | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 89.185 ms | 5 - 10 MB | NPU |
| GKT | PRECOMPILED_QNN_ONNX | w8a16_mixed_fp16 | Qualcomm® Dragonwing™ IQ-9075 | 88.59 ms | 4 - 7 MB | NPU |
| GKT | PRECOMPILED_QNN_ONNX | w8a16_mixed_fp16 | Qualcomm® Dragonwing™ IQ-X7181 | 86.774 ms | 4 - 4 MB | NPU |
| GKT | PRECOMPILED_QNN_ONNX | w8a16_mixed_fp16 | Qualcomm® Dragonwing™ Q-8750 | 53.914 ms | 1 - 12 MB | NPU |
| GKT | QNN_CONTEXT_BINARY | float | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 59.911 ms | 7 - 16 MB | NPU |
| GKT | QNN_CONTEXT_BINARY | float | Snapdragon® 8 Elite For Galaxy Mobile | 71.582 ms | 7 - 15 MB | NPU |
| GKT | QNN_CONTEXT_BINARY | float | Snapdragon® X2 Elite | 57.336 ms | 7 - 7 MB | NPU |
| GKT | QNN_CONTEXT_BINARY | float | Snapdragon® X Elite | 100.384 ms | 7 - 7 MB | NPU |
| GKT | QNN_CONTEXT_BINARY | float | Snapdragon® 8 Gen 3 Mobile | 79.919 ms | 8 - 15 MB | NPU |
| GKT | QNN_CONTEXT_BINARY | float | Snapdragon® 8 Gen 1 Mobile | 153.795 ms | 7 - 16 MB | NPU |
| GKT | QNN_CONTEXT_BINARY | float | Qualcomm® Dragonwing™ IQ-8275 | 100.096 ms | 7 - 18 MB | NPU |
| GKT | QNN_CONTEXT_BINARY | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 107.423 ms | 8 - 9 MB | NPU |
| GKT | QNN_CONTEXT_BINARY | float | Qualcomm® SA8650P | 112.428 ms | 0 - 10 MB | NPU |
| GKT | QNN_CONTEXT_BINARY | float | Qualcomm® SA8255P | 112.428 ms | 0 - 10 MB | NPU |
| GKT | QNN_CONTEXT_BINARY | float | Qualcomm® QCS8450 | 153.795 ms | 7 - 16 MB | NPU |
| GKT | QNN_CONTEXT_BINARY | float | Qualcomm® Dragonwing™ IQ-9075 | 106.94 ms | 7 - 17 MB | NPU |
| GKT | QNN_CONTEXT_BINARY | float | Qualcomm® Dragonwing™ IQ-X7181 | 100.384 ms | 7 - 7 MB | NPU |
| GKT | QNN_CONTEXT_BINARY | float | Qualcomm® Dragonwing™ Q-8750 | 71.582 ms | 7 - 15 MB | NPU |
| GKT | QNN_CONTEXT_BINARY | float | Qualcomm® SA8295P | 144.922 ms | 0 - 6 MB | NPU |
| GKT | QNN_CONTEXT_BINARY | w8a16_mixed_fp16 | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 43.902 ms | 4 - 11 MB | NPU |
| GKT | QNN_CONTEXT_BINARY | w8a16_mixed_fp16 | Snapdragon® 8 Elite For Galaxy Mobile | 53.379 ms | 4 - 16 MB | NPU |
| GKT | QNN_CONTEXT_BINARY | w8a16_mixed_fp16 | Snapdragon® X2 Elite | 43.437 ms | 4 - 4 MB | NPU |
| GKT | QNN_CONTEXT_BINARY | w8a16_mixed_fp16 | Snapdragon® X Elite | 86.812 ms | 4 - 4 MB | NPU |
| GKT | QNN_CONTEXT_BINARY | w8a16_mixed_fp16 | Snapdragon® 8 Gen 3 Mobile | 61.079 ms | 4 - 12 MB | NPU |
| GKT | QNN_CONTEXT_BINARY | w8a16_mixed_fp16 | Qualcomm® Dragonwing™ IQ-8275 | 75.004 ms | 1 - 8 MB | NPU |
| GKT | QNN_CONTEXT_BINARY | w8a16_mixed_fp16 | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 88.311 ms | 4 - 6 MB | NPU |
| GKT | QNN_CONTEXT_BINARY | w8a16_mixed_fp16 | Qualcomm® Dragonwing™ IQ-9075 | 88.617 ms | 1 - 6 MB | NPU |
| GKT | QNN_CONTEXT_BINARY | w8a16_mixed_fp16 | Qualcomm® Dragonwing™ IQ-X7181 | 86.812 ms | 4 - 4 MB | NPU |
| GKT | QNN_CONTEXT_BINARY | w8a16_mixed_fp16 | Qualcomm® Dragonwing™ Q-8750 | 53.379 ms | 4 - 16 MB | NPU |
License
- The license for the original implementation of GKT can be found here.
References
- Efficient and Robust 2D-to-BEV Representation Learning via Geometry-guided Kernel Transformer
- Source Model Implementation
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.
