Depth Estimation
PyTorch
android

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.45, ONNX Runtime 1.27.1 Download
ONNX w8a16 Universal QAIRT 2.45, ONNX Runtime 1.27.1 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 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® X2 Elite 19.031 ms 5 - 5 MB NPU
Depth-Anything ONNX float Snapdragon® X Elite 49.006 ms 48 - 48 MB NPU
Depth-Anything ONNX float Snapdragon® 8 Gen 3 Mobile 35.744 ms 0 - 472 MB NPU
Depth-Anything ONNX float Snapdragon® 8 Gen 1 Mobile 85.977 ms 1 - 477 MB NPU
Depth-Anything ONNX float Qualcomm® Dragonwing™ IQ-8275 56.745 ms 3 - 9 MB NPU
Depth-Anything ONNX float Qualcomm® Dragonwing™ QCS8550 (Proxy) 47.619 ms 0 - 55 MB NPU
Depth-Anything ONNX float Qualcomm® QCS8450 85.977 ms 1 - 477 MB NPU
Depth-Anything ONNX float Qualcomm® Dragonwing™ IQ-9075 55.36 ms 3 - 9 MB NPU
Depth-Anything ONNX float Qualcomm® Dragonwing™ IQ-X7181 49.006 ms 48 - 48 MB NPU
Depth-Anything ONNX float Qualcomm® Dragonwing™ Q-8750 24.379 ms 2 - 365 MB NPU
Depth-Anything ONNX float Snapdragon® 8 Elite Mobile 24.379 ms 2 - 365 MB NPU
Depth-Anything ONNX float Snapdragon® 8 Elite Gen 5 Mobile 18.575 ms 2 - 371 MB NPU
Depth-Anything ONNX w8a16 Snapdragon® X2 Elite 12.197 ms 4 - 4 MB NPU
Depth-Anything ONNX w8a16 Snapdragon® X Elite 27.767 ms 27 - 27 MB NPU
Depth-Anything ONNX w8a16 Snapdragon® 8 Gen 3 Mobile 19.06 ms 3 - 511 MB NPU
Depth-Anything ONNX w8a16 Snapdragon® 8 Gen 1 Mobile 39.161 ms 3 - 513 MB NPU
Depth-Anything ONNX w8a16 Qualcomm® Dragonwing™ QCS6490 107.401 ms 2 - 5 MB NPU
Depth-Anything ONNX w8a16 Qualcomm® Dragonwing™ IQ-8275 25.031 ms 2 - 6 MB NPU
Depth-Anything ONNX w8a16 Qualcomm® Dragonwing™ QCS8550 (Proxy) 27.113 ms 0 - 33 MB NPU
Depth-Anything ONNX w8a16 Qualcomm® QCS8450 39.161 ms 3 - 513 MB NPU
Depth-Anything ONNX w8a16 Qualcomm® Dragonwing™ IQ-9075 27.454 ms 2 - 5 MB NPU
Depth-Anything ONNX w8a16 Qualcomm® Dragonwing™ IQ-X7181 27.767 ms 27 - 27 MB NPU
Depth-Anything ONNX w8a16 Qualcomm® Dragonwing™ Q-6690 301.619 ms 0 - 641 MB NPU
Depth-Anything ONNX w8a16 Qualcomm® Dragonwing™ Q-7790 35.807 ms 3 - 612 MB NPU
Depth-Anything ONNX w8a16 Qualcomm® Dragonwing™ Q-8750 14.089 ms 3 - 421 MB NPU
Depth-Anything ONNX w8a16 Snapdragon® 8 Elite Mobile 14.089 ms 3 - 421 MB NPU
Depth-Anything ONNX w8a16 Snapdragon® 8 Elite Gen 5 Mobile 11.556 ms 1 - 427 MB NPU
Depth-Anything ONNX w8a16 Snapdragon® 7 Gen 4 Mobile 35.807 ms 3 - 612 MB NPU
Depth-Anything QNN_DLC float Snapdragon® X2 Elite 20.295 ms 3 - 3 MB NPU
Depth-Anything QNN_DLC float Snapdragon® X Elite 51.36 ms 3 - 3 MB NPU
Depth-Anything QNN_DLC float Snapdragon® 8 Gen 3 Mobile 38.671 ms 3 - 513 MB NPU
Depth-Anything QNN_DLC float Snapdragon® 8 Gen 1 Mobile 92.229 ms 3 - 486 MB NPU
Depth-Anything QNN_DLC float Qualcomm® Dragonwing™ IQ-8275 57.423 ms 3 - 10 MB NPU
Depth-Anything QNN_DLC float Qualcomm® Dragonwing™ QCS8550 (Proxy) 50.839 ms 3 - 5 MB NPU
Depth-Anything QNN_DLC float Qualcomm® SA8775P 56.63 ms 1 - 371 MB NPU
Depth-Anything QNN_DLC float Qualcomm® SA8650P 56.63 ms 1 - 371 MB NPU
Depth-Anything QNN_DLC float Qualcomm® SA8255P 56.63 ms 1 - 371 MB NPU
Depth-Anything QNN_DLC float Qualcomm® QCS8450 92.229 ms 3 - 486 MB NPU
Depth-Anything QNN_DLC float Qualcomm® Dragonwing™ IQ-9075 56.864 ms 3 - 9 MB NPU
Depth-Anything QNN_DLC float Qualcomm® Dragonwing™ IQ-X7181 51.36 ms 3 - 3 MB NPU
Depth-Anything QNN_DLC float Qualcomm® Dragonwing™ Q-8750 24.844 ms 0 - 385 MB NPU
Depth-Anything QNN_DLC float Qualcomm® SA7255P 142.268 ms 1 - 389 MB NPU
Depth-Anything QNN_DLC float Qualcomm® SA8295P 82.575 ms 0 - 362 MB NPU
Depth-Anything QNN_DLC float Snapdragon® 8 Elite Mobile 24.844 ms 0 - 385 MB NPU
Depth-Anything QNN_DLC float Snapdragon® 8 Elite Gen 5 Mobile 19.724 ms 3 - 384 MB NPU
Depth-Anything QNN_DLC w8a16 Snapdragon® X2 Elite 70.63 ms 2 - 2 MB NPU
Depth-Anything QNN_DLC w8a16 Snapdragon® X Elite 137.648 ms 2 - 2 MB NPU
Depth-Anything QNN_DLC w8a16 Snapdragon® 8 Gen 3 Mobile 115.017 ms 2 - 2299 MB NPU
Depth-Anything QNN_DLC w8a16 Qualcomm® Dragonwing™ IQ-8275 136.883 ms 2 - 6 MB NPU
Depth-Anything QNN_DLC w8a16 Qualcomm® Dragonwing™ QCS8550 (Proxy) 142.324 ms 2 - 4 MB NPU
Depth-Anything QNN_DLC w8a16 Qualcomm® SA8775P 141.037 ms 2 - 2000 MB NPU
Depth-Anything QNN_DLC w8a16 Qualcomm® SA8650P 141.037 ms 2 - 2000 MB NPU
Depth-Anything QNN_DLC w8a16 Qualcomm® SA8255P 141.037 ms 2 - 2000 MB NPU
Depth-Anything QNN_DLC w8a16 Qualcomm® Dragonwing™ IQ-9075 138.368 ms 4 - 7 MB NPU
Depth-Anything QNN_DLC w8a16 Qualcomm® Dragonwing™ IQ-X7181 137.648 ms 2 - 2 MB NPU
Depth-Anything QNN_DLC w8a16 Qualcomm® Dragonwing™ Q-8750 93.377 ms 2 - 2014 MB NPU
Depth-Anything QNN_DLC w8a16 Qualcomm® SA7255P 260.369 ms 2 - 2001 MB NPU
Depth-Anything QNN_DLC w8a16 Snapdragon® 8 Elite Mobile 93.377 ms 2 - 2014 MB NPU
Depth-Anything QNN_DLC w8a16 Snapdragon® 8 Elite Gen 5 Mobile 81.444 ms 2 - 2014 MB NPU
Depth-Anything TFLITE float Snapdragon® 8 Gen 3 Mobile 38.91 ms 1 - 519 MB NPU
Depth-Anything TFLITE float Snapdragon® 8 Gen 1 Mobile 92.454 ms 2 - 489 MB NPU
Depth-Anything TFLITE float Qualcomm® Dragonwing™ IQ-8275 57.569 ms 1 - 58 MB NPU
Depth-Anything TFLITE float Qualcomm® Dragonwing™ QCS8550 (Proxy) 50.583 ms 1 - 7 MB NPU
Depth-Anything TFLITE float Qualcomm® SA8775P 56.992 ms 0 - 393 MB NPU
Depth-Anything TFLITE float Qualcomm® SA8650P 56.992 ms 0 - 393 MB NPU
Depth-Anything TFLITE float Qualcomm® SA8255P 56.992 ms 0 - 393 MB NPU
Depth-Anything TFLITE float Qualcomm® QCS8450 92.454 ms 2 - 489 MB NPU
Depth-Anything TFLITE float Qualcomm® Dragonwing™ IQ-9075 56.887 ms 1 - 57 MB NPU
Depth-Anything TFLITE float Qualcomm® Dragonwing™ Q-8750 24.663 ms 0 - 395 MB NPU
Depth-Anything TFLITE float Qualcomm® SA7255P 142.397 ms 1 - 396 MB NPU
Depth-Anything TFLITE float Qualcomm® SA8295P 82.525 ms 1 - 369 MB NPU
Depth-Anything TFLITE float Snapdragon® 8 Elite Mobile 24.663 ms 0 - 395 MB NPU
Depth-Anything TFLITE float Snapdragon® 8 Elite Gen 5 Mobile 19.806 ms 0 - 391 MB NPU

License

  • The license for the original implementation of Depth-Anything 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