Depth-Anything-V2: Optimized for Qualcomm Devices
Depth Anything is designed for estimating depth at each point in an image.
This is based on the implementation of Depth-Anything-V2 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.50, ONNX Runtime 1.27.1 | Download |
| ONNX | w8a16 | Universal | QAIRT 2.50, ONNX Runtime 1.27.1 | Download |
| QNN_DLC | float | Universal | QAIRT 2.50 | Download |
| QNN_DLC | w8a16 | Universal | QAIRT 2.50 | Download |
| TFLITE | float | Universal | QAIRT 2.50 | Download |
For more device-specific assets and performance metrics, visit Depth-Anything-V2 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 Depth-Anything-V2 on GitHub for usage instructions.
Model Details
Model Type: Model_use_case.depth_estimation
Model Stats:
- Input resolution: 518x518
- Model checkpoint: DepthAnything_V2_Small
- Model size (float): 94.3 MB
- Number of parameters: 24.7M
Performance Summary
| Model | Runtime | Precision | Chipset | Inference Time (ms) | Peak Memory Range (MB) | Primary Compute Unit |
|---|---|---|---|---|---|---|
| Depth-Anything-V2 | ONNX | float | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 18.027 ms | 2 - 367 MB | NPU |
| Depth-Anything-V2 | ONNX | float | Snapdragon® 8 Elite For Galaxy Mobile | 19.019 ms | 2 - 357 MB | NPU |
| Depth-Anything-V2 | ONNX | float | Snapdragon® X2 Elite | 16.738 ms | 5 - 5 MB | NPU |
| Depth-Anything-V2 | ONNX | float | Snapdragon® X Elite | 41.303 ms | 47 - 47 MB | NPU |
| Depth-Anything-V2 | ONNX | float | Snapdragon® 8 Gen 3 Mobile | 28.08 ms | 5 - 473 MB | NPU |
| Depth-Anything-V2 | ONNX | float | Snapdragon® 8 Gen 1 Mobile | 62.76 ms | 1 - 471 MB | NPU |
| Depth-Anything-V2 | ONNX | float | Qualcomm® Dragonwing™ IQ-8275 | 45.768 ms | 3 - 10 MB | NPU |
| Depth-Anything-V2 | ONNX | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 39.45 ms | 0 - 55 MB | NPU |
| Depth-Anything-V2 | ONNX | float | Qualcomm® QCS8450 | 62.76 ms | 1 - 471 MB | NPU |
| Depth-Anything-V2 | ONNX | float | Qualcomm® Dragonwing™ IQ-9075 | 45.86 ms | 3 - 9 MB | NPU |
| Depth-Anything-V2 | ONNX | float | Qualcomm® Dragonwing™ IQ-X7181 | 41.303 ms | 47 - 47 MB | NPU |
| Depth-Anything-V2 | ONNX | float | Qualcomm® Dragonwing™ Q-8750 | 19.019 ms | 2 - 357 MB | NPU |
| Depth-Anything-V2 | ONNX | w8a16 | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 11.891 ms | 1 - 420 MB | NPU |
| Depth-Anything-V2 | ONNX | w8a16 | Snapdragon® 8 Elite For Galaxy Mobile | 14.614 ms | 2 - 413 MB | NPU |
| Depth-Anything-V2 | ONNX | w8a16 | Snapdragon® X2 Elite | 11.338 ms | 4 - 4 MB | NPU |
| Depth-Anything-V2 | ONNX | w8a16 | Snapdragon® X Elite | 26.818 ms | 28 - 28 MB | NPU |
| Depth-Anything-V2 | ONNX | w8a16 | Snapdragon® 8 Gen 3 Mobile | 19.766 ms | 3 - 511 MB | NPU |
| Depth-Anything-V2 | ONNX | w8a16 | Snapdragon® 8 Gen 1 Mobile | 34.58 ms | 3 - 514 MB | NPU |
| Depth-Anything-V2 | ONNX | w8a16 | Qualcomm® Dragonwing™ QCS6490 | 85.095 ms | 2 - 5 MB | NPU |
| Depth-Anything-V2 | ONNX | w8a16 | Qualcomm® Dragonwing™ IQ-8275 | 24.929 ms | 2 - 6 MB | NPU |
| Depth-Anything-V2 | ONNX | w8a16 | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 26.786 ms | 0 - 537 MB | NPU |
| Depth-Anything-V2 | ONNX | w8a16 | Qualcomm® QCS8450 | 34.58 ms | 3 - 514 MB | NPU |
| Depth-Anything-V2 | ONNX | w8a16 | Qualcomm® Dragonwing™ IQ-9075 | 27.027 ms | 2 - 5 MB | NPU |
| Depth-Anything-V2 | ONNX | w8a16 | Qualcomm® Dragonwing™ IQ-X7181 | 26.818 ms | 28 - 28 MB | NPU |
| Depth-Anything-V2 | ONNX | w8a16 | Qualcomm® Dragonwing™ Q-6690 | 208.288 ms | 5 - 537 MB | NPU |
| Depth-Anything-V2 | ONNX | w8a16 | Qualcomm® Dragonwing™ Q-7790 | 33.688 ms | 3 - 463 MB | NPU |
| Depth-Anything-V2 | ONNX | w8a16 | Qualcomm® Dragonwing™ Q-8750 | 14.614 ms | 2 - 413 MB | NPU |
| Depth-Anything-V2 | ONNX | w8a16 | Snapdragon® 7 Gen 4 Mobile | 33.688 ms | 3 - 463 MB | NPU |
| Depth-Anything-V2 | QNN_DLC | float | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 16.677 ms | 3 - 373 MB | NPU |
| Depth-Anything-V2 | QNN_DLC | float | Snapdragon® 8 Elite For Galaxy Mobile | 21.54 ms | 3 - 359 MB | NPU |
| Depth-Anything-V2 | QNN_DLC | float | Snapdragon® X2 Elite | 17.761 ms | 3 - 3 MB | NPU |
| Depth-Anything-V2 | QNN_DLC | float | Snapdragon® X Elite | 45.009 ms | 3 - 3 MB | NPU |
| Depth-Anything-V2 | QNN_DLC | float | Snapdragon® 8 Gen 3 Mobile | 30.725 ms | 0 - 462 MB | NPU |
| Depth-Anything-V2 | QNN_DLC | float | Snapdragon® 8 Gen 1 Mobile | 66.425 ms | 3 - 465 MB | NPU |
| Depth-Anything-V2 | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-8275 | 48.009 ms | 3 - 10 MB | NPU |
| Depth-Anything-V2 | QNN_DLC | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 42.908 ms | 3 - 5 MB | NPU |
| Depth-Anything-V2 | QNN_DLC | float | Qualcomm® SA8650P | 56.653 ms | 1 - 371 MB | NPU |
| Depth-Anything-V2 | QNN_DLC | float | Qualcomm® SA8255P | 56.653 ms | 1 - 371 MB | NPU |
| Depth-Anything-V2 | QNN_DLC | float | Qualcomm® QCS8450 | 66.425 ms | 3 - 465 MB | NPU |
| Depth-Anything-V2 | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-9075 | 49.08 ms | 3 - 9 MB | NPU |
| Depth-Anything-V2 | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-X7181 | 45.009 ms | 3 - 3 MB | NPU |
| Depth-Anything-V2 | QNN_DLC | float | Qualcomm® Dragonwing™ Q-8750 | 21.54 ms | 3 - 359 MB | NPU |
| Depth-Anything-V2 | QNN_DLC | float | Qualcomm® SA8295P | 69.93 ms | 0 - 351 MB | NPU |
| Depth-Anything-V2 | QNN_DLC | w8a16 | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 13.448 ms | 2 - 402 MB | NPU |
| Depth-Anything-V2 | QNN_DLC | w8a16 | Snapdragon® 8 Elite For Galaxy Mobile | 15.174 ms | 2 - 392 MB | NPU |
| Depth-Anything-V2 | QNN_DLC | w8a16 | Snapdragon® X2 Elite | 13.874 ms | 2 - 2 MB | NPU |
| Depth-Anything-V2 | QNN_DLC | w8a16 | Snapdragon® X Elite | 31.222 ms | 2 - 2 MB | NPU |
| Depth-Anything-V2 | QNN_DLC | w8a16 | Snapdragon® 8 Gen 3 Mobile | 22.284 ms | 2 - 480 MB | NPU |
| Depth-Anything-V2 | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ IQ-8275 | 29.684 ms | 2 - 7 MB | NPU |
| Depth-Anything-V2 | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 30.043 ms | 2 - 390 MB | NPU |
| Depth-Anything-V2 | QNN_DLC | w8a16 | Qualcomm® SA8650P | 140.741 ms | 2 - 2002 MB | NPU |
| Depth-Anything-V2 | QNN_DLC | w8a16 | Qualcomm® SA8255P | 140.741 ms | 2 - 2002 MB | NPU |
| Depth-Anything-V2 | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ IQ-9075 | 31.285 ms | 1 - 5 MB | NPU |
| Depth-Anything-V2 | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ IQ-X7181 | 31.222 ms | 2 - 2 MB | NPU |
| Depth-Anything-V2 | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ Q-6690 | 295.107 ms | 2 - 503 MB | NPU |
| Depth-Anything-V2 | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ Q-7790 | 45.753 ms | 2 - 440 MB | NPU |
| Depth-Anything-V2 | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ Q-8750 | 15.174 ms | 2 - 392 MB | NPU |
| Depth-Anything-V2 | QNN_DLC | w8a16 | Snapdragon® 7 Gen 4 Mobile | 45.753 ms | 2 - 440 MB | NPU |
| Depth-Anything-V2 | TFLITE | float | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 16.754 ms | 0 - 379 MB | NPU |
| Depth-Anything-V2 | TFLITE | float | Snapdragon® 8 Elite For Galaxy Mobile | 21.483 ms | 0 - 364 MB | NPU |
| Depth-Anything-V2 | TFLITE | float | Snapdragon® 8 Gen 3 Mobile | 30.862 ms | 1 - 469 MB | NPU |
| Depth-Anything-V2 | TFLITE | float | Snapdragon® 8 Gen 1 Mobile | 68.066 ms | 0 - 467 MB | NPU |
| Depth-Anything-V2 | TFLITE | float | Qualcomm® Dragonwing™ IQ-8275 | 48.053 ms | 1 - 58 MB | NPU |
| Depth-Anything-V2 | TFLITE | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 42.732 ms | 1 - 11 MB | NPU |
| Depth-Anything-V2 | TFLITE | float | Qualcomm® SA8650P | 56.656 ms | 1 - 379 MB | NPU |
| Depth-Anything-V2 | TFLITE | float | Qualcomm® SA8255P | 56.656 ms | 1 - 379 MB | NPU |
| Depth-Anything-V2 | TFLITE | float | Qualcomm® QCS8450 | 68.066 ms | 0 - 467 MB | NPU |
| Depth-Anything-V2 | TFLITE | float | Qualcomm® Dragonwing™ IQ-9075 | 49.067 ms | 1 - 58 MB | NPU |
| Depth-Anything-V2 | TFLITE | float | Qualcomm® Dragonwing™ Q-8750 | 21.483 ms | 0 - 364 MB | NPU |
| Depth-Anything-V2 | TFLITE | float | Qualcomm® SA8295P | 69.954 ms | 1 - 359 MB | NPU |
License
- The license for the original implementation of Depth-Anything-V2 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.
