CVT: Optimized for Qualcomm Devices
Cross-View Transformer generates real-time bird's-eye view maps from multiple vehicle cameras for autonomous driving.
This is based on the implementation of CVT 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_mixed_int16 | Universal | QAIRT 2.51, ONNX Runtime 1.30.0 | Download |
| QNN_DLC | float | Universal | QAIRT 2.51 | Download |
| QNN_DLC | w8a16_mixed_int16 | Universal | QAIRT 2.51 | Download |
| TFLITE | float | Universal | QAIRT 2.51 | Download |
For more device-specific assets and performance metrics, visit CVT 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 CVT on GitHub for usage instructions.
Model Details
Model Type: Model_use_case.driver_assistance
Model Stats:
- Inference latency: RealTime
- Input resolution: 1x6x3x224x480
- Model checkpoint: vehicles_50k.pt
- Model size (float): 5.18 MB
- Number of parameters: 1.33M
Performance Summary
| Model | Runtime | Precision | Chipset | Inference Time (ms) | Peak Memory Range (MB) | Primary Compute Unit |
|---|---|---|---|---|---|---|
| CVT | ONNX | float | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 143.841 ms | 3 - 2052 MB | NPU |
| CVT | ONNX | float | Snapdragon® 8 Elite For Galaxy Mobile | 162.19 ms | 1 - 2014 MB | NPU |
| CVT | ONNX | float | Snapdragon® X2 Elite | 147.99 ms | 8 - 8 MB | NPU |
| CVT | ONNX | float | Snapdragon® X Elite | 238.618 ms | 18 - 18 MB | NPU |
| CVT | ONNX | float | Snapdragon® 8 Gen 3 Mobile | 214.71 ms | 8 - 2497 MB | NPU |
| CVT | ONNX | float | Snapdragon® 8 Gen 1 Mobile | 336.587 ms | 8 - 2466 MB | NPU |
| CVT | ONNX | float | Qualcomm® Dragonwing™ IQ-8275 | 227.884 ms | 7 - 12 MB | NPU |
| CVT | ONNX | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 284.197 ms | 0 - 19 MB | NPU |
| CVT | ONNX | float | Qualcomm® QCS8450 | 336.587 ms | 8 - 2466 MB | NPU |
| CVT | ONNX | float | Qualcomm® Dragonwing™ IQ-9075 | 278.749 ms | 7 - 11 MB | NPU |
| CVT | ONNX | float | Qualcomm® Dragonwing™ IQ-X7181 | 238.618 ms | 18 - 18 MB | NPU |
| CVT | ONNX | float | Qualcomm® Dragonwing™ Q-8750 | 162.19 ms | 1 - 2014 MB | NPU |
| CVT | ONNX | float | Snapdragon® 8 Elite Extreme Gen 6 Mobile | 128.421 ms | 8 - 2095 MB | NPU |
| CVT | ONNX | float | Snapdragon® 8 Elite Gen 6 Mobile | 183.872 ms | 8 - 2152 MB | NPU |
| CVT | ONNX | w8a16_mixed_int16 | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 195.146 ms | 11 - 2190 MB | NPU |
| CVT | ONNX | w8a16_mixed_int16 | Snapdragon® 8 Elite For Galaxy Mobile | 184.711 ms | 1 - 2094 MB | NPU |
| CVT | ONNX | w8a16_mixed_int16 | Snapdragon® X2 Elite | 176.7 ms | 7 - 7 MB | NPU |
| CVT | ONNX | w8a16_mixed_int16 | Snapdragon® X Elite | 280.303 ms | 18 - 18 MB | NPU |
| CVT | ONNX | w8a16_mixed_int16 | Snapdragon® 8 Gen 3 Mobile | 236.557 ms | 4 - 2552 MB | NPU |
| CVT | ONNX | w8a16_mixed_int16 | Snapdragon® 8 Gen 1 Mobile | 323.923 ms | 4 - 2407 MB | NPU |
| CVT | ONNX | w8a16_mixed_int16 | Qualcomm® Dragonwing™ IQ-8275 | 253.147 ms | 4 - 15 MB | NPU |
| CVT | ONNX | w8a16_mixed_int16 | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 303.396 ms | 0 - 28 MB | NPU |
| CVT | ONNX | w8a16_mixed_int16 | Qualcomm® QCS8450 | 323.923 ms | 4 - 2407 MB | NPU |
| CVT | ONNX | w8a16_mixed_int16 | Qualcomm® Dragonwing™ IQ-9075 | 269.643 ms | 4 - 15 MB | NPU |
| CVT | ONNX | w8a16_mixed_int16 | Qualcomm® Dragonwing™ IQ-X7181 | 280.303 ms | 18 - 18 MB | NPU |
| CVT | ONNX | w8a16_mixed_int16 | Qualcomm® Dragonwing™ Q-7790 | 1738.138 ms | 73 - 827 MB | NPU |
| CVT | ONNX | w8a16_mixed_int16 | Qualcomm® Dragonwing™ Q-8750 | 184.711 ms | 1 - 2094 MB | NPU |
| CVT | ONNX | w8a16_mixed_int16 | Snapdragon® 7 Gen 4 Mobile | 1738.138 ms | 73 - 827 MB | NPU |
| CVT | ONNX | w8a16_mixed_int16 | Snapdragon® 8 Elite Extreme Gen 6 Mobile | 145.684 ms | 4 - 2345 MB | NPU |
| CVT | ONNX | w8a16_mixed_int16 | Snapdragon® 8 Elite Gen 6 Mobile | 211.376 ms | 4 - 2292 MB | NPU |
| CVT | QNN_DLC | float | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 144.277 ms | 0 - 2052 MB | NPU |
| CVT | QNN_DLC | float | Snapdragon® 8 Elite For Galaxy Mobile | 161.406 ms | 0 - 2000 MB | NPU |
| CVT | QNN_DLC | float | Snapdragon® X2 Elite | 147.707 ms | 0 - 0 MB | NPU |
| CVT | QNN_DLC | float | Snapdragon® X Elite | 238.722 ms | 1 - 1 MB | NPU |
| CVT | QNN_DLC | float | Snapdragon® 8 Gen 3 Mobile | 217.997 ms | 5 - 2461 MB | NPU |
| CVT | QNN_DLC | float | Snapdragon® 8 Gen 1 Mobile | 332.712 ms | 0 - 2443 MB | NPU |
| CVT | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-8275 | 227.389 ms | 0 - 3 MB | NPU |
| CVT | QNN_DLC | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 287.322 ms | 0 - 5 MB | NPU |
| CVT | QNN_DLC | float | Qualcomm® QCS8450 | 332.712 ms | 0 - 2443 MB | NPU |
| CVT | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-9075 | 248.485 ms | 2 - 5 MB | NPU |
| CVT | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-X7181 | 238.722 ms | 1 - 1 MB | NPU |
| CVT | QNN_DLC | float | Qualcomm® Dragonwing™ Q-8750 | 161.406 ms | 0 - 2000 MB | NPU |
| CVT | QNN_DLC | float | Qualcomm® SA8295P | 287.9 ms | 0 - 2099 MB | NPU |
| CVT | QNN_DLC | float | Snapdragon® 8 Elite Extreme Gen 6 Mobile | 127.66 ms | 0 - 2076 MB | NPU |
| CVT | QNN_DLC | float | Snapdragon® 8 Elite Gen 6 Mobile | 183.592 ms | 0 - 2072 MB | NPU |
| CVT | QNN_DLC | w8a16_mixed_int16 | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 170.943 ms | 11 - 2210 MB | NPU |
| CVT | QNN_DLC | w8a16_mixed_int16 | Snapdragon® 8 Elite For Galaxy Mobile | 189.527 ms | 1 - 2112 MB | NPU |
| CVT | QNN_DLC | w8a16_mixed_int16 | Snapdragon® X2 Elite | 178.064 ms | 11 - 11 MB | NPU |
| CVT | QNN_DLC | w8a16_mixed_int16 | Snapdragon® X Elite | 312.168 ms | 11 - 11 MB | NPU |
| CVT | QNN_DLC | w8a16_mixed_int16 | Snapdragon® 8 Gen 3 Mobile | 243.781 ms | 5 - 2486 MB | NPU |
| CVT | QNN_DLC | w8a16_mixed_int16 | Qualcomm® Dragonwing™ IQ-8275 | 291.023 ms | 7 - 14 MB | NPU |
| CVT | QNN_DLC | w8a16_mixed_int16 | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 336.04 ms | 4 - 14 MB | NPU |
| CVT | QNN_DLC | w8a16_mixed_int16 | Qualcomm® Dragonwing™ IQ-9075 | 303.747 ms | 7 - 13 MB | NPU |
| CVT | QNN_DLC | w8a16_mixed_int16 | Qualcomm® Dragonwing™ IQ-X7181 | 312.168 ms | 11 - 11 MB | NPU |
| CVT | QNN_DLC | w8a16_mixed_int16 | Qualcomm® Dragonwing™ Q-8750 | 189.527 ms | 1 - 2112 MB | NPU |
| CVT | QNN_DLC | w8a16_mixed_int16 | Snapdragon® 8 Elite Extreme Gen 6 Mobile | 150.353 ms | 4 - 2444 MB | NPU |
| CVT | QNN_DLC | w8a16_mixed_int16 | Snapdragon® 8 Elite Gen 6 Mobile | 214.14 ms | 4 - 2207 MB | NPU |
| CVT | TFLITE | float | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 144.574 ms | 1 - 2037 MB | NPU |
| CVT | TFLITE | float | Snapdragon® 8 Elite For Galaxy Mobile | 164.252 ms | 1 - 2006 MB | NPU |
| CVT | TFLITE | float | Snapdragon® 8 Gen 3 Mobile | 214.275 ms | 1 - 2502 MB | NPU |
| CVT | TFLITE | float | Snapdragon® 8 Gen 1 Mobile | 309.132 ms | 0 - 2468 MB | NPU |
| CVT | TFLITE | float | Qualcomm® Dragonwing™ IQ-8275 | 227.489 ms | 0 - 35 MB | NPU |
| CVT | TFLITE | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 284.116 ms | 0 - 3 MB | NPU |
| CVT | TFLITE | float | Qualcomm® SA8650P | 571.046 ms | 48 - 61 MB | CPU |
| CVT | TFLITE | float | Qualcomm® SA8255P | 571.046 ms | 48 - 61 MB | CPU |
| CVT | TFLITE | float | Qualcomm® QCS8450 | 309.132 ms | 0 - 2468 MB | NPU |
| CVT | TFLITE | float | Qualcomm® Dragonwing™ IQ-9075 | 249.789 ms | 0 - 35 MB | NPU |
| CVT | TFLITE | float | Qualcomm® Dragonwing™ Q-8750 | 164.252 ms | 1 - 2006 MB | NPU |
| CVT | TFLITE | float | Qualcomm® SA7255P | 830.76 ms | 49 - 58 MB | CPU |
| CVT | TFLITE | float | Qualcomm® SA8295P | 289.198 ms | 0 - 2097 MB | NPU |
| CVT | TFLITE | float | Snapdragon® 8 Elite Extreme Gen 6 Mobile | 129.208 ms | 0 - 2081 MB | NPU |
| CVT | TFLITE | float | Snapdragon® 8 Elite Gen 6 Mobile | 127.852 ms | 0 - 2084 MB | NPU |
License
- The license for the original implementation of CVT 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.
