BEVFusion: Optimized for Qualcomm Devices
BeVFusion 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 BEVFusion 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.51, ONNX Runtime 1.30.0 | Download |
| PRECOMPILED_QNN_ONNX | float | Snapdragon® 8 Elite For Galaxy Mobile | QAIRT 2.51, ONNX Runtime 1.30.0 | Download |
| PRECOMPILED_QNN_ONNX | float | Snapdragon® X2 Elite | QAIRT 2.51, ONNX Runtime 1.30.0 | Download |
| PRECOMPILED_QNN_ONNX | float | Snapdragon® X Elite | QAIRT 2.51, ONNX Runtime 1.30.0 | Download |
| PRECOMPILED_QNN_ONNX | float | Snapdragon® 8 Gen 3 Mobile | QAIRT 2.50, ONNX Runtime 1.30.0 | Download |
| PRECOMPILED_QNN_ONNX | float | Qualcomm® Dragonwing™ IQ-8275 | QAIRT 2.51 | Download |
| PRECOMPILED_QNN_ONNX | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | QAIRT 2.51 | Download |
| PRECOMPILED_QNN_ONNX | float | Qualcomm® Dragonwing™ IQ-9075 | QAIRT 2.51 | Download |
| PRECOMPILED_QNN_ONNX | float | Snapdragon® 8 Elite Extreme Gen 6 Mobile | QAIRT 2.51, ONNX Runtime 1.30.0 | Download |
| PRECOMPILED_QNN_ONNX | float | Snapdragon® 8 Elite Gen 6 Mobile | QAIRT 2.51, ONNX Runtime 1.30.0 | Download |
| QNN_CONTEXT_BINARY | float | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | QAIRT 2.51 | Download |
| QNN_CONTEXT_BINARY | float | Snapdragon® 8 Elite For Galaxy Mobile | QAIRT 2.51 | Download |
| QNN_CONTEXT_BINARY | float | Snapdragon® X2 Elite | QAIRT 2.51 | Download |
| QNN_CONTEXT_BINARY | float | Snapdragon® X Elite | QAIRT 2.51 | Download |
| QNN_CONTEXT_BINARY | float | Snapdragon® 8 Gen 3 Mobile | QAIRT 2.50 | Download |
| QNN_CONTEXT_BINARY | float | Qualcomm® Dragonwing™ IQ-8275 | QAIRT 2.51 | Download |
| QNN_CONTEXT_BINARY | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | QAIRT 2.51 | Download |
| QNN_CONTEXT_BINARY | float | Qualcomm® SA8775P | QAIRT 2.51 | Download |
| QNN_CONTEXT_BINARY | float | Qualcomm® Dragonwing™ IQ-9075 | QAIRT 2.51 | Download |
| QNN_CONTEXT_BINARY | float | Qualcomm® SA7255P | QAIRT 2.51 | Download |
| QNN_CONTEXT_BINARY | float | Snapdragon® 8 Elite Extreme Gen 6 Mobile | QAIRT 2.51 | Download |
| QNN_CONTEXT_BINARY | float | Snapdragon® 8 Elite Gen 6 Mobile | QAIRT 2.51 | Download |
For more device-specific assets and performance metrics, visit BEVFusion 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 BEVFusion on GitHub for usage instructions.
Model Details
Model Type: Model_use_case.driver_assistance
Model Stats:
- Input resolution: 1 x 6 x 3 x 256 x 704
- Model checkpoint: camera-only-det.pth
- Model size: 171 MB
- Number of parameters: 44M
Performance Summary
| Model | Runtime | Precision | Chipset | Inference Time (ms) | Peak Memory Range (MB) | Primary Compute Unit |
|---|---|---|---|---|---|---|
| decoder | PRECOMPILED_QNN_ONNX | float | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 5.675 ms | 10 - 19 MB | NPU |
| decoder | PRECOMPILED_QNN_ONNX | float | Snapdragon® 8 Elite For Galaxy Mobile | 7.685 ms | 11 - 21 MB | NPU |
| decoder | PRECOMPILED_QNN_ONNX | float | Snapdragon® X2 Elite | 7.021 ms | 22 - 22 MB | NPU |
| decoder | PRECOMPILED_QNN_ONNX | float | Snapdragon® X Elite | 13.064 ms | 24 - 24 MB | NPU |
| decoder | PRECOMPILED_QNN_ONNX | float | Snapdragon® 8 Gen 3 Mobile | 9.893 ms | 15 - 23 MB | NPU |
| decoder | PRECOMPILED_QNN_ONNX | float | Qualcomm® Dragonwing™ IQ-X7181 | 13.064 ms | 24 - 24 MB | NPU |
| decoder | PRECOMPILED_QNN_ONNX | float | Qualcomm® Dragonwing™ Q-8750 | 7.685 ms | 11 - 21 MB | NPU |
| decoder | PRECOMPILED_QNN_ONNX | float | Snapdragon® 8 Elite Extreme Gen 6 Mobile | 5.125 ms | 17 - 24 MB | NPU |
| decoder | PRECOMPILED_QNN_ONNX | float | Snapdragon® 8 Elite Gen 6 Mobile | 5.754 ms | 17 - 24 MB | NPU |
| decoder | QNN_CONTEXT_BINARY | float | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 5.797 ms | 0 - 9 MB | NPU |
| decoder | QNN_CONTEXT_BINARY | float | Snapdragon® 8 Elite For Galaxy Mobile | 7.631 ms | 5 - 17 MB | NPU |
| decoder | QNN_CONTEXT_BINARY | float | Snapdragon® X2 Elite | 7.514 ms | 5 - 5 MB | NPU |
| decoder | QNN_CONTEXT_BINARY | float | Snapdragon® X Elite | 13.152 ms | 5 - 5 MB | NPU |
| decoder | QNN_CONTEXT_BINARY | float | Snapdragon® 8 Gen 3 Mobile | 9.868 ms | 5 - 13 MB | NPU |
| decoder | QNN_CONTEXT_BINARY | float | Qualcomm® SA8650P | 23.802 ms | 4 - 9 MB | NPU |
| decoder | QNN_CONTEXT_BINARY | float | Qualcomm® SA8255P | 23.802 ms | 4 - 9 MB | NPU |
| decoder | QNN_CONTEXT_BINARY | float | Qualcomm® Dragonwing™ IQ-X7181 | 13.152 ms | 5 - 5 MB | NPU |
| decoder | QNN_CONTEXT_BINARY | float | Qualcomm® Dragonwing™ Q-8750 | 7.631 ms | 5 - 17 MB | NPU |
| decoder | QNN_CONTEXT_BINARY | float | Snapdragon® 8 Elite Extreme Gen 6 Mobile | 5.087 ms | 5 - 14 MB | NPU |
| decoder | QNN_CONTEXT_BINARY | float | Snapdragon® 8 Elite Gen 6 Mobile | 5.721 ms | 5 - 14 MB | NPU |
| encoder_1 | PRECOMPILED_QNN_ONNX | float | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 373.804 ms | 38 - 52 MB | NPU |
| encoder_1 | PRECOMPILED_QNN_ONNX | float | Snapdragon® 8 Elite For Galaxy Mobile | 424.538 ms | 38 - 48 MB | NPU |
| encoder_1 | PRECOMPILED_QNN_ONNX | float | Snapdragon® X2 Elite | 402.364 ms | 66 - 66 MB | NPU |
| encoder_1 | PRECOMPILED_QNN_ONNX | float | Snapdragon® X Elite | 709.619 ms | 96 - 96 MB | NPU |
| encoder_1 | PRECOMPILED_QNN_ONNX | float | Snapdragon® 8 Gen 3 Mobile | 552.897 ms | 39 - 51 MB | NPU |
| encoder_1 | PRECOMPILED_QNN_ONNX | float | Qualcomm® Dragonwing™ IQ-X7181 | 709.619 ms | 96 - 96 MB | NPU |
| encoder_1 | PRECOMPILED_QNN_ONNX | float | Qualcomm® Dragonwing™ Q-8750 | 424.538 ms | 38 - 48 MB | NPU |
| encoder_1 | PRECOMPILED_QNN_ONNX | float | Snapdragon® 8 Elite Extreme Gen 6 Mobile | 300.282 ms | 58 - 66 MB | NPU |
| encoder_1 | PRECOMPILED_QNN_ONNX | float | Snapdragon® 8 Elite Gen 6 Mobile | 385.367 ms | 58 - 66 MB | NPU |
| encoder_1 | QNN_CONTEXT_BINARY | float | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 371.95 ms | 2 - 10 MB | NPU |
| encoder_1 | QNN_CONTEXT_BINARY | float | Snapdragon® 8 Elite For Galaxy Mobile | 428.414 ms | 12 - 25 MB | NPU |
| encoder_1 | QNN_CONTEXT_BINARY | float | Snapdragon® X2 Elite | 414.087 ms | 12 - 12 MB | NPU |
| encoder_1 | QNN_CONTEXT_BINARY | float | Snapdragon® X Elite | 678.76 ms | 12 - 12 MB | NPU |
| encoder_1 | QNN_CONTEXT_BINARY | float | Snapdragon® 8 Gen 3 Mobile | 553.109 ms | 13 - 19 MB | NPU |
| encoder_1 | QNN_CONTEXT_BINARY | float | Qualcomm® SA8650P | 720.121 ms | 0 - 9 MB | NPU |
| encoder_1 | QNN_CONTEXT_BINARY | float | Qualcomm® SA8255P | 720.121 ms | 0 - 9 MB | NPU |
| encoder_1 | QNN_CONTEXT_BINARY | float | Qualcomm® Dragonwing™ IQ-X7181 | 678.76 ms | 12 - 12 MB | NPU |
| encoder_1 | QNN_CONTEXT_BINARY | float | Qualcomm® Dragonwing™ Q-8750 | 428.414 ms | 12 - 25 MB | NPU |
| encoder_1 | QNN_CONTEXT_BINARY | float | Snapdragon® 8 Elite Extreme Gen 6 Mobile | 300.331 ms | 0 - 10 MB | NPU |
| encoder_1 | QNN_CONTEXT_BINARY | float | Snapdragon® 8 Elite Gen 6 Mobile | 383.901 ms | 12 - 21 MB | NPU |
| encoder_2 | PRECOMPILED_QNN_ONNX | float | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 2272.725 ms | 447 - 455 MB | NPU |
| encoder_2 | PRECOMPILED_QNN_ONNX | float | Snapdragon® 8 Elite For Galaxy Mobile | 2417.766 ms | 517 - 530 MB | NPU |
| encoder_2 | PRECOMPILED_QNN_ONNX | float | Snapdragon® X2 Elite | 2327.115 ms | 1059 - 1059 MB | NPU |
| encoder_2 | PRECOMPILED_QNN_ONNX | float | Snapdragon® X Elite | 3345.524 ms | 1059 - 1059 MB | NPU |
| encoder_2 | PRECOMPILED_QNN_ONNX | float | Snapdragon® 8 Gen 3 Mobile | 2887.244 ms | 600 - 607 MB | NPU |
| encoder_2 | PRECOMPILED_QNN_ONNX | float | Qualcomm® Dragonwing™ IQ-X7181 | 3345.524 ms | 1059 - 1059 MB | NPU |
| encoder_2 | PRECOMPILED_QNN_ONNX | float | Qualcomm® Dragonwing™ Q-8750 | 2417.766 ms | 517 - 530 MB | NPU |
| encoder_2 | PRECOMPILED_QNN_ONNX | float | Snapdragon® 8 Elite Extreme Gen 6 Mobile | 2036.927 ms | 465 - 471 MB | NPU |
| encoder_2 | PRECOMPILED_QNN_ONNX | float | Snapdragon® 8 Elite Gen 6 Mobile | 2175.124 ms | 53 - 60 MB | NPU |
| encoder_2 | QNN_CONTEXT_BINARY | float | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 2249.674 ms | 17 - 29 MB | NPU |
| encoder_2 | QNN_CONTEXT_BINARY | float | Snapdragon® 8 Elite For Galaxy Mobile | 2404.432 ms | 17 - 31 MB | NPU |
| encoder_2 | QNN_CONTEXT_BINARY | float | Snapdragon® X2 Elite | 2319.037 ms | 17 - 17 MB | NPU |
| encoder_2 | QNN_CONTEXT_BINARY | float | Snapdragon® X Elite | 3336.66 ms | 17 - 17 MB | NPU |
| encoder_2 | QNN_CONTEXT_BINARY | float | Snapdragon® 8 Gen 3 Mobile | 2930.026 ms | 17 - 29 MB | NPU |
| encoder_2 | QNN_CONTEXT_BINARY | float | Qualcomm® SA8650P | 3459.164 ms | 2 - 11 MB | NPU |
| encoder_2 | QNN_CONTEXT_BINARY | float | Qualcomm® SA8255P | 3459.164 ms | 2 - 11 MB | NPU |
| encoder_2 | QNN_CONTEXT_BINARY | float | Qualcomm® Dragonwing™ IQ-X7181 | 3336.66 ms | 17 - 17 MB | NPU |
| encoder_2 | QNN_CONTEXT_BINARY | float | Qualcomm® Dragonwing™ Q-8750 | 2404.432 ms | 17 - 31 MB | NPU |
| encoder_2 | QNN_CONTEXT_BINARY | float | Snapdragon® 8 Elite Extreme Gen 6 Mobile | 2066.554 ms | 17 - 25 MB | NPU |
| encoder_2 | QNN_CONTEXT_BINARY | float | Snapdragon® 8 Elite Gen 6 Mobile | 2096.307 ms | 17 - 25 MB | NPU |
| encoder_3 | PRECOMPILED_QNN_ONNX | float | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 6.576 ms | 12 - 19 MB | NPU |
| encoder_3 | PRECOMPILED_QNN_ONNX | float | Snapdragon® 8 Elite For Galaxy Mobile | 7.484 ms | 14 - 24 MB | NPU |
| encoder_3 | PRECOMPILED_QNN_ONNX | float | Snapdragon® X2 Elite | 7.416 ms | 19 - 19 MB | NPU |
| encoder_3 | PRECOMPILED_QNN_ONNX | float | Snapdragon® X Elite | 12.366 ms | 19 - 19 MB | NPU |
| encoder_3 | PRECOMPILED_QNN_ONNX | float | Snapdragon® 8 Gen 3 Mobile | 9.343 ms | 31 - 39 MB | NPU |
| encoder_3 | PRECOMPILED_QNN_ONNX | float | Qualcomm® Dragonwing™ IQ-X7181 | 12.366 ms | 19 - 19 MB | NPU |
| encoder_3 | PRECOMPILED_QNN_ONNX | float | Qualcomm® Dragonwing™ Q-8750 | 7.484 ms | 14 - 24 MB | NPU |
| encoder_3 | PRECOMPILED_QNN_ONNX | float | Snapdragon® 8 Elite Extreme Gen 6 Mobile | 6.535 ms | 31 - 38 MB | NPU |
| encoder_3 | PRECOMPILED_QNN_ONNX | float | Snapdragon® 8 Elite Gen 6 Mobile | 5.929 ms | 30 - 37 MB | NPU |
| encoder_3 | QNN_CONTEXT_BINARY | float | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 6.607 ms | 0 - 8 MB | NPU |
| encoder_3 | QNN_CONTEXT_BINARY | float | Snapdragon® 8 Elite For Galaxy Mobile | 7.421 ms | 1 - 13 MB | NPU |
| encoder_3 | QNN_CONTEXT_BINARY | float | Snapdragon® X2 Elite | 8.114 ms | 19 - 19 MB | NPU |
| encoder_3 | QNN_CONTEXT_BINARY | float | Snapdragon® X Elite | 11.453 ms | 19 - 19 MB | NPU |
| encoder_3 | QNN_CONTEXT_BINARY | float | Snapdragon® 8 Gen 3 Mobile | 9.251 ms | 18 - 26 MB | NPU |
| encoder_3 | QNN_CONTEXT_BINARY | float | Qualcomm® SA8650P | 15.076 ms | 18 - 23 MB | NPU |
| encoder_3 | QNN_CONTEXT_BINARY | float | Qualcomm® SA8255P | 15.076 ms | 18 - 23 MB | NPU |
| encoder_3 | QNN_CONTEXT_BINARY | float | Qualcomm® Dragonwing™ IQ-X7181 | 11.453 ms | 19 - 19 MB | NPU |
| encoder_3 | QNN_CONTEXT_BINARY | float | Qualcomm® Dragonwing™ Q-8750 | 7.421 ms | 1 - 13 MB | NPU |
| encoder_3 | QNN_CONTEXT_BINARY | float | Snapdragon® 8 Elite Extreme Gen 6 Mobile | 6.564 ms | 18 - 27 MB | NPU |
| encoder_3 | QNN_CONTEXT_BINARY | float | Snapdragon® 8 Elite Gen 6 Mobile | 6.288 ms | 18 - 28 MB | NPU |
License
- The license for the original implementation of BEVFusion can be found here.
References
- BEVFusion: Multi-Task Multi-Sensor Fusion with Unified Bird's-Eye View Representation
- 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.
