Depth-Anything: 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 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 Depth-Anything 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 on GitHub for usage instructions.
Model Details
Model Type: Model_use_case.depth_estimation
Model Stats:
- Input resolution: 518x518
- Model checkpoint: DepthAnything_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 | ONNX | float | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 22.762 ms | 2 - 385 MB | NPU |
| Depth-Anything | ONNX | float | Snapdragon® 8 Elite For Galaxy Mobile | 25.593 ms | 13 - 387 MB | NPU |
| Depth-Anything | ONNX | float | Snapdragon® X2 Elite | 19.957 ms | 5 - 5 MB | NPU |
| Depth-Anything | ONNX | float | Snapdragon® X Elite | 45.112 ms | 48 - 48 MB | NPU |
| Depth-Anything | ONNX | float | Snapdragon® 8 Gen 3 Mobile | 34.463 ms | 5 - 495 MB | NPU |
| Depth-Anything | ONNX | float | Snapdragon® 8 Gen 1 Mobile | 73.276 ms | 0 - 504 MB | NPU |
| Depth-Anything | ONNX | float | Qualcomm® Dragonwing™ IQ-8275 | 50.29 ms | 3 - 10 MB | NPU |
| Depth-Anything | ONNX | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 44.518 ms | 0 - 55 MB | NPU |
| Depth-Anything | ONNX | float | Qualcomm® QCS8450 | 73.276 ms | 0 - 504 MB | NPU |
| Depth-Anything | ONNX | float | Qualcomm® Dragonwing™ IQ-9075 | 50.943 ms | 3 - 9 MB | NPU |
| Depth-Anything | ONNX | float | Qualcomm® Dragonwing™ IQ-X7181 | 45.112 ms | 48 - 48 MB | NPU |
| Depth-Anything | ONNX | float | Qualcomm® Dragonwing™ Q-8750 | 25.593 ms | 13 - 387 MB | NPU |
| Depth-Anything | ONNX | float | Snapdragon® 8 Elite Extreme Gen 6 Mobile | 13.911 ms | 5 - 379 MB | NPU |
| Depth-Anything | ONNX | float | Snapdragon® 8 Elite Gen 6 Mobile | 24.033 ms | 5 - 380 MB | NPU |
| Depth-Anything | ONNX | w8a16 | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 10.505 ms | 3 - 410 MB | NPU |
| Depth-Anything | ONNX | w8a16 | Snapdragon® 8 Elite For Galaxy Mobile | 13.05 ms | 16 - 417 MB | NPU |
| Depth-Anything | ONNX | w8a16 | Snapdragon® X2 Elite | 10.877 ms | 2 - 2 MB | NPU |
| Depth-Anything | ONNX | w8a16 | Snapdragon® X Elite | 26.046 ms | 24 - 24 MB | NPU |
| Depth-Anything | ONNX | w8a16 | Snapdragon® 8 Gen 3 Mobile | 18.038 ms | 3 - 499 MB | NPU |
| Depth-Anything | ONNX | w8a16 | Snapdragon® 8 Gen 1 Mobile | 30.865 ms | 3 - 502 MB | NPU |
| Depth-Anything | ONNX | w8a16 | Qualcomm® Dragonwing™ QCS6490 | 85.567 ms | 2 - 8 MB | NPU |
| Depth-Anything | ONNX | w8a16 | Qualcomm® Dragonwing™ IQ-8275 | 23.399 ms | 2 - 9 MB | NPU |
| Depth-Anything | ONNX | w8a16 | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 25.451 ms | 0 - 34 MB | NPU |
| Depth-Anything | ONNX | w8a16 | Qualcomm® QCS8450 | 30.865 ms | 3 - 502 MB | NPU |
| Depth-Anything | ONNX | w8a16 | Qualcomm® Dragonwing™ IQ-9075 | 25.932 ms | 2 - 8 MB | NPU |
| Depth-Anything | ONNX | w8a16 | Qualcomm® Dragonwing™ IQ-X7181 | 26.046 ms | 24 - 24 MB | NPU |
| Depth-Anything | ONNX | w8a16 | Qualcomm® Dragonwing™ Q-6690 | 217.579 ms | 3 - 539 MB | NPU |
| Depth-Anything | ONNX | w8a16 | Qualcomm® Dragonwing™ Q-7790 | 35.513 ms | 3 - 461 MB | NPU |
| Depth-Anything | ONNX | w8a16 | Qualcomm® Dragonwing™ Q-8750 | 13.05 ms | 16 - 417 MB | NPU |
| Depth-Anything | ONNX | w8a16 | Snapdragon® 7 Gen 4 Mobile | 35.513 ms | 3 - 461 MB | NPU |
| Depth-Anything | ONNX | w8a16 | Snapdragon® 8 Elite Extreme Gen 6 Mobile | 5.266 ms | 3 - 433 MB | NPU |
| Depth-Anything | ONNX | w8a16 | Snapdragon® 8 Elite Gen 6 Mobile | 8.398 ms | 3 - 424 MB | NPU |
| Depth-Anything | QNN_DLC | float | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 22.597 ms | 0 - 382 MB | NPU |
| Depth-Anything | QNN_DLC | float | Snapdragon® 8 Elite For Galaxy Mobile | 27.181 ms | 0 - 374 MB | NPU |
| Depth-Anything | QNN_DLC | float | Snapdragon® X2 Elite | 20.774 ms | 0 - 0 MB | NPU |
| Depth-Anything | QNN_DLC | float | Snapdragon® X Elite | 48.147 ms | 0 - 0 MB | NPU |
| Depth-Anything | QNN_DLC | float | Snapdragon® 8 Gen 3 Mobile | 30.615 ms | 3 - 466 MB | NPU |
| Depth-Anything | QNN_DLC | float | Snapdragon® 8 Gen 1 Mobile | 75.595 ms | 0 - 491 MB | NPU |
| Depth-Anything | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-8275 | 53.765 ms | 0 - 4 MB | NPU |
| Depth-Anything | QNN_DLC | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 47.084 ms | 0 - 2 MB | NPU |
| Depth-Anything | QNN_DLC | float | Qualcomm® QCS8450 | 75.595 ms | 0 - 491 MB | NPU |
| Depth-Anything | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-9075 | 54.573 ms | 2 - 5 MB | NPU |
| Depth-Anything | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-X7181 | 48.147 ms | 0 - 0 MB | NPU |
| Depth-Anything | QNN_DLC | float | Qualcomm® Dragonwing™ Q-8750 | 27.181 ms | 0 - 374 MB | NPU |
| Depth-Anything | QNN_DLC | float | Qualcomm® SA8295P | 76.916 ms | 0 - 373 MB | NPU |
| Depth-Anything | QNN_DLC | float | Snapdragon® 8 Elite Extreme Gen 6 Mobile | 14.16 ms | 0 - 375 MB | NPU |
| Depth-Anything | QNN_DLC | float | Snapdragon® 8 Elite Gen 6 Mobile | 30.201 ms | 0 - 379 MB | NPU |
| Depth-Anything | QNN_DLC | w8a16 | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 12.491 ms | 5 - 399 MB | NPU |
| Depth-Anything | QNN_DLC | w8a16 | Snapdragon® 8 Elite For Galaxy Mobile | 15.125 ms | 0 - 391 MB | NPU |
| Depth-Anything | QNN_DLC | w8a16 | Snapdragon® X2 Elite | 13.294 ms | 5 - 5 MB | NPU |
| Depth-Anything | QNN_DLC | w8a16 | Snapdragon® X Elite | 31.404 ms | 5 - 5 MB | NPU |
| Depth-Anything | QNN_DLC | w8a16 | Snapdragon® 8 Gen 3 Mobile | 21.321 ms | 0 - 477 MB | NPU |
| Depth-Anything | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ IQ-8275 | 28.448 ms | 3 - 8 MB | NPU |
| Depth-Anything | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 30.077 ms | 3 - 9 MB | NPU |
| Depth-Anything | QNN_DLC | w8a16 | Qualcomm® SA8775P | 30.145 ms | 2 - 389 MB | NPU |
| Depth-Anything | QNN_DLC | w8a16 | Qualcomm® SA8650P | 30.145 ms | 2 - 389 MB | NPU |
| Depth-Anything | QNN_DLC | w8a16 | Qualcomm® SA8255P | 30.145 ms | 2 - 389 MB | NPU |
| Depth-Anything | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ IQ-9075 | 30.583 ms | 3 - 8 MB | NPU |
| Depth-Anything | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ IQ-X7181 | 31.404 ms | 5 - 5 MB | NPU |
| Depth-Anything | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ Q-6690 | 315.482 ms | 4 - 530 MB | NPU |
| Depth-Anything | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ Q-7790 | 46.755 ms | 2 - 440 MB | NPU |
| Depth-Anything | QNN_DLC | w8a16 | Qualcomm® Dragonwing™ Q-8750 | 15.125 ms | 0 - 391 MB | NPU |
| Depth-Anything | QNN_DLC | w8a16 | Snapdragon® 7 Gen 4 Mobile | 46.755 ms | 2 - 440 MB | NPU |
| Depth-Anything | QNN_DLC | w8a16 | Snapdragon® 8 Elite Extreme Gen 6 Mobile | 10.04 ms | 2 - 415 MB | NPU |
| Depth-Anything | QNN_DLC | w8a16 | Snapdragon® 8 Elite Gen 6 Mobile | 15.066 ms | 2 - 406 MB | NPU |
| Depth-Anything | TFLITE | float | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 15.942 ms | 0 - 375 MB | NPU |
| Depth-Anything | TFLITE | float | Snapdragon® 8 Elite For Galaxy Mobile | 20.875 ms | 5 - 370 MB | NPU |
| Depth-Anything | TFLITE | float | Snapdragon® 8 Gen 3 Mobile | 30.709 ms | 0 - 467 MB | NPU |
| Depth-Anything | TFLITE | float | Snapdragon® 8 Gen 1 Mobile | 64.342 ms | 1 - 468 MB | NPU |
| Depth-Anything | TFLITE | float | Qualcomm® Dragonwing™ IQ-8275 | 47.041 ms | 1 - 58 MB | NPU |
| Depth-Anything | TFLITE | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 40.77 ms | 1 - 4 MB | NPU |
| Depth-Anything | TFLITE | float | Qualcomm® SA8775P | 914.415 ms | 5 - 22 MB | CPU |
| Depth-Anything | TFLITE | float | Qualcomm® SA8650P | 914.415 ms | 5 - 22 MB | CPU |
| Depth-Anything | TFLITE | float | Qualcomm® SA8255P | 914.415 ms | 5 - 22 MB | CPU |
| Depth-Anything | TFLITE | float | Qualcomm® QCS8450 | 64.342 ms | 1 - 468 MB | NPU |
| Depth-Anything | TFLITE | float | Qualcomm® Dragonwing™ IQ-9075 | 47.959 ms | 1 - 58 MB | NPU |
| Depth-Anything | TFLITE | float | Qualcomm® Dragonwing™ Q-8750 | 20.875 ms | 5 - 370 MB | NPU |
| Depth-Anything | TFLITE | float | Qualcomm® SA7255P | 1235.744 ms | 10 - 27 MB | CPU |
| Depth-Anything | TFLITE | float | Qualcomm® SA8295P | 68.241 ms | 1 - 359 MB | NPU |
| Depth-Anything | TFLITE | float | Snapdragon® 8 Elite Extreme Gen 6 Mobile | 13.142 ms | 1 - 376 MB | NPU |
| Depth-Anything | TFLITE | float | Snapdragon® 8 Elite Gen 6 Mobile | 21.326 ms | 1 - 362 MB | NPU |
License
- The license for the original implementation of Depth-Anything 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.
