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.42, ONNX Runtime 1.24.3 Download
QNN_DLC float Universal QAIRT 2.45 Download
QNN_DLC w8a16 Universal QAIRT 2.45 Download
TFLITE float Universal QAIRT 2.45 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:

  • Model checkpoint: DepthAnything_V2_Small
  • Input resolution: 518x518
  • Number of parameters: 24.7M
  • Model size (float): 94.3 MB

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 Mobile 18.537 ms 3 - 418 MB NPU
Depth-Anything-V2 ONNX float Snapdragon® 8 Elite Mobile 22.839 ms 2 - 433 MB NPU
Depth-Anything-V2 ONNX float Snapdragon® X2 Elite 18.701 ms 48 - 48 MB NPU
Depth-Anything-V2 ONNX float Snapdragon® X Elite 45.117 ms 47 - 47 MB NPU
Depth-Anything-V2 ONNX float Snapdragon® X Elite 45.117 ms 47 - 47 MB NPU
Depth-Anything-V2 ONNX float Snapdragon® 8 Gen 3 Mobile 31.951 ms 1 - 571 MB NPU
Depth-Anything-V2 ONNX float Qualcomm® QCS8550 (Proxy) 43.774 ms 0 - 58 MB NPU
Depth-Anything-V2 ONNX float Qualcomm® QCS9075 54.667 ms 3 - 9 MB NPU
Depth-Anything-V2 ONNX float Snapdragon® 8 Elite For Galaxy Mobile 22.839 ms 2 - 433 MB NPU
Depth-Anything-V2 QNN_DLC float Snapdragon® 8 Elite Gen 5 Mobile 19.727 ms 3 - 381 MB NPU
Depth-Anything-V2 QNN_DLC float Snapdragon® 8 Elite Mobile 24.639 ms 0 - 385 MB NPU
Depth-Anything-V2 QNN_DLC float Snapdragon® X2 Elite 20.327 ms 3 - 3 MB NPU
Depth-Anything-V2 QNN_DLC float Snapdragon® X Elite 51.334 ms 3 - 3 MB NPU
Depth-Anything-V2 QNN_DLC float Snapdragon® X Elite 51.334 ms 3 - 3 MB NPU
Depth-Anything-V2 QNN_DLC float Snapdragon® 8 Gen 3 Mobile 38.975 ms 1 - 513 MB NPU
Depth-Anything-V2 QNN_DLC float Qualcomm® QCS8275 (Proxy) 142.165 ms 1 - 387 MB NPU
Depth-Anything-V2 QNN_DLC float Qualcomm® QCS8550 (Proxy) 51.015 ms 3 - 50 MB NPU
Depth-Anything-V2 QNN_DLC float Qualcomm® SA8775P 56.628 ms 1 - 370 MB NPU
Depth-Anything-V2 QNN_DLC float Qualcomm® SA8775P 56.628 ms 1 - 370 MB NPU
Depth-Anything-V2 QNN_DLC float Qualcomm® SA8775P 56.628 ms 1 - 370 MB NPU
Depth-Anything-V2 QNN_DLC float Qualcomm® QCS9075 62.208 ms 3 - 9 MB NPU
Depth-Anything-V2 QNN_DLC float Qualcomm® QCS8450 (Proxy) 92.841 ms 3 - 488 MB NPU
Depth-Anything-V2 QNN_DLC float Qualcomm® SA7255P 142.165 ms 1 - 387 MB NPU
Depth-Anything-V2 QNN_DLC float Qualcomm® SA8295P 82.702 ms 1 - 363 MB NPU
Depth-Anything-V2 QNN_DLC float Snapdragon® 8 Elite For Galaxy Mobile 24.639 ms 0 - 385 MB NPU
Depth-Anything-V2 QNN_DLC w8a16 Snapdragon® 8 Elite Gen 5 Mobile 81.828 ms 2 - 2006 MB NPU
Depth-Anything-V2 QNN_DLC w8a16 Snapdragon® 8 Elite Mobile 93.815 ms 2 - 2015 MB NPU
Depth-Anything-V2 QNN_DLC w8a16 Snapdragon® X2 Elite 70.672 ms 2 - 2 MB NPU
Depth-Anything-V2 QNN_DLC w8a16 Snapdragon® X Elite 137.776 ms 2 - 2 MB NPU
Depth-Anything-V2 QNN_DLC w8a16 Snapdragon® X Elite 137.776 ms 2 - 2 MB NPU
Depth-Anything-V2 QNN_DLC w8a16 Snapdragon® 8 Gen 3 Mobile 113.813 ms 0 - 2295 MB NPU
Depth-Anything-V2 QNN_DLC w8a16 Qualcomm® QCS8275 (Proxy) 260.877 ms 2 - 1997 MB NPU
Depth-Anything-V2 QNN_DLC w8a16 Qualcomm® QCS8550 (Proxy) 165.506 ms 2 - 1578 MB NPU
Depth-Anything-V2 QNN_DLC w8a16 Qualcomm® SA8775P 141.335 ms 2 - 2000 MB NPU
Depth-Anything-V2 QNN_DLC w8a16 Qualcomm® SA8775P 141.335 ms 2 - 2000 MB NPU
Depth-Anything-V2 QNN_DLC w8a16 Qualcomm® SA8775P 141.335 ms 2 - 2000 MB NPU
Depth-Anything-V2 QNN_DLC w8a16 Qualcomm® QCS9075 142.128 ms 2 - 5 MB NPU
Depth-Anything-V2 QNN_DLC w8a16 Qualcomm® SA7255P 260.877 ms 2 - 1997 MB NPU
Depth-Anything-V2 QNN_DLC w8a16 Snapdragon® 8 Elite For Galaxy Mobile 93.815 ms 2 - 2015 MB NPU
Depth-Anything-V2 TFLITE float Snapdragon® 8 Elite Gen 5 Mobile 19.63 ms 1 - 389 MB NPU
Depth-Anything-V2 TFLITE float Snapdragon® 8 Elite Mobile 24.623 ms 1 - 396 MB NPU
Depth-Anything-V2 TFLITE float Snapdragon® 8 Gen 3 Mobile 38.771 ms 0 - 511 MB NPU
Depth-Anything-V2 TFLITE float Qualcomm® QCS8275 (Proxy) 142.647 ms 1 - 395 MB NPU
Depth-Anything-V2 TFLITE float Qualcomm® QCS8550 (Proxy) 52.273 ms 1 - 12 MB NPU
Depth-Anything-V2 TFLITE float Qualcomm® SA8775P 56.633 ms 1 - 379 MB NPU
Depth-Anything-V2 TFLITE float Qualcomm® SA8775P 56.633 ms 1 - 379 MB NPU
Depth-Anything-V2 TFLITE float Qualcomm® SA8775P 56.633 ms 1 - 379 MB NPU
Depth-Anything-V2 TFLITE float Qualcomm® QCS9075 61.348 ms 1 - 57 MB NPU
Depth-Anything-V2 TFLITE float Qualcomm® QCS8450 (Proxy) 93.061 ms 1 - 490 MB NPU
Depth-Anything-V2 TFLITE float Qualcomm® SA7255P 142.647 ms 1 - 395 MB NPU
Depth-Anything-V2 TFLITE float Qualcomm® SA8295P 82.465 ms 1 - 370 MB NPU
Depth-Anything-V2 TFLITE float Snapdragon® 8 Elite For Galaxy Mobile 24.623 ms 1 - 396 MB NPU

License

  • The license for the original implementation of Depth-Anything-V2 can be found here.

References

Community

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Paper for qualcomm/Depth-Anything-V2