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.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 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 18.088 ms 2 - 368 MB NPU
Depth-Anything ONNX float Snapdragon® 8 Elite For Galaxy Mobile 19.021 ms 2 - 358 MB NPU
Depth-Anything ONNX float Snapdragon® X2 Elite 16.642 ms 5 - 5 MB NPU
Depth-Anything ONNX float Snapdragon® X Elite 41.208 ms 48 - 48 MB NPU
Depth-Anything ONNX float Snapdragon® 8 Gen 3 Mobile 28.118 ms 0 - 466 MB NPU
Depth-Anything ONNX float Snapdragon® 8 Gen 1 Mobile 64.281 ms 6 - 476 MB NPU
Depth-Anything ONNX float Qualcomm® Dragonwing™ IQ-8275 45.597 ms 3 - 10 MB NPU
Depth-Anything ONNX float Qualcomm® Dragonwing™ QCS8550 (Proxy) 39.519 ms 4 - 7 MB NPU
Depth-Anything ONNX float Qualcomm® QCS8450 64.281 ms 6 - 476 MB NPU
Depth-Anything ONNX float Qualcomm® Dragonwing™ IQ-9075 45.801 ms 3 - 9 MB NPU
Depth-Anything ONNX float Qualcomm® Dragonwing™ IQ-X7181 41.208 ms 48 - 48 MB NPU
Depth-Anything ONNX float Qualcomm® Dragonwing™ Q-8750 19.021 ms 2 - 358 MB NPU
Depth-Anything ONNX w8a16 Snapdragon® 8 Elite Gen 5 For Galaxy Mobile 10.544 ms 1 - 411 MB NPU
Depth-Anything ONNX w8a16 Snapdragon® 8 Elite For Galaxy Mobile 13.002 ms 3 - 405 MB NPU
Depth-Anything ONNX w8a16 Snapdragon® X2 Elite 10.776 ms 4 - 4 MB NPU
Depth-Anything ONNX w8a16 Snapdragon® X Elite 26.016 ms 27 - 27 MB NPU
Depth-Anything ONNX w8a16 Snapdragon® 8 Gen 3 Mobile 17.957 ms 3 - 499 MB NPU
Depth-Anything ONNX w8a16 Snapdragon® 8 Gen 1 Mobile 32.012 ms 3 - 502 MB NPU
Depth-Anything ONNX w8a16 Qualcomm® Dragonwing™ QCS6490 85.683 ms 2 - 5 MB NPU
Depth-Anything ONNX w8a16 Qualcomm® Dragonwing™ IQ-8275 23.472 ms 2 - 6 MB NPU
Depth-Anything ONNX w8a16 Qualcomm® Dragonwing™ QCS8550 (Proxy) 25.365 ms 0 - 34 MB NPU
Depth-Anything ONNX w8a16 Qualcomm® QCS8450 32.012 ms 3 - 502 MB NPU
Depth-Anything ONNX w8a16 Qualcomm® Dragonwing™ IQ-9075 25.905 ms 2 - 5 MB NPU
Depth-Anything ONNX w8a16 Qualcomm® Dragonwing™ IQ-X7181 26.016 ms 27 - 27 MB NPU
Depth-Anything ONNX w8a16 Qualcomm® Dragonwing™ Q-6690 211.16 ms 0 - 537 MB NPU
Depth-Anything ONNX w8a16 Qualcomm® Dragonwing™ Q-7790 34.451 ms 3 - 464 MB NPU
Depth-Anything ONNX w8a16 Qualcomm® Dragonwing™ Q-8750 13.002 ms 3 - 405 MB NPU
Depth-Anything ONNX w8a16 Snapdragon® 7 Gen 4 Mobile 34.451 ms 3 - 464 MB NPU
Depth-Anything QNN_DLC float Snapdragon® 8 Elite Gen 5 For Galaxy Mobile 16.64 ms 3 - 372 MB NPU
Depth-Anything QNN_DLC float Snapdragon® 8 Elite For Galaxy Mobile 21.594 ms 3 - 362 MB NPU
Depth-Anything QNN_DLC float Snapdragon® X2 Elite 17.672 ms 3 - 3 MB NPU
Depth-Anything QNN_DLC float Snapdragon® X Elite 44.598 ms 3 - 3 MB NPU
Depth-Anything QNN_DLC float Snapdragon® 8 Gen 3 Mobile 30.58 ms 0 - 462 MB NPU
Depth-Anything QNN_DLC float Snapdragon® 8 Gen 1 Mobile 69.603 ms 2 - 467 MB NPU
Depth-Anything QNN_DLC float Qualcomm® Dragonwing™ IQ-8275 48.749 ms 3 - 10 MB NPU
Depth-Anything QNN_DLC float Qualcomm® Dragonwing™ QCS8550 (Proxy) 42.703 ms 3 - 368 MB NPU
Depth-Anything QNN_DLC float Qualcomm® SA8775P 48.097 ms 0 - 351 MB NPU
Depth-Anything QNN_DLC float Qualcomm® SA8650P 48.097 ms 0 - 351 MB NPU
Depth-Anything QNN_DLC float Qualcomm® SA8255P 48.097 ms 0 - 351 MB NPU
Depth-Anything QNN_DLC float Qualcomm® QCS8450 69.603 ms 2 - 467 MB NPU
Depth-Anything QNN_DLC float Qualcomm® Dragonwing™ IQ-9075 48.546 ms 5 - 11 MB NPU
Depth-Anything QNN_DLC float Qualcomm® Dragonwing™ IQ-X7181 44.598 ms 3 - 3 MB NPU
Depth-Anything QNN_DLC float Qualcomm® Dragonwing™ Q-8750 21.594 ms 3 - 362 MB NPU
Depth-Anything QNN_DLC float Qualcomm® SA8295P 67.789 ms 0 - 351 MB NPU
Depth-Anything QNN_DLC w8a16 Snapdragon® 8 Elite Gen 5 For Galaxy Mobile 12.484 ms 2 - 401 MB NPU
Depth-Anything QNN_DLC w8a16 Snapdragon® 8 Elite For Galaxy Mobile 15.367 ms 1 - 393 MB NPU
Depth-Anything QNN_DLC w8a16 Snapdragon® X2 Elite 13.295 ms 2 - 2 MB NPU
Depth-Anything QNN_DLC w8a16 Snapdragon® X Elite 31.443 ms 2 - 2 MB NPU
Depth-Anything QNN_DLC w8a16 Snapdragon® 8 Gen 3 Mobile 21.394 ms 2 - 476 MB NPU
Depth-Anything QNN_DLC w8a16 Qualcomm® Dragonwing™ IQ-8275 30.609 ms 1 - 6 MB NPU
Depth-Anything QNN_DLC w8a16 Qualcomm® Dragonwing™ QCS8550 (Proxy) 30.062 ms 2 - 3 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 30.603 ms 3 - 7 MB NPU
Depth-Anything QNN_DLC w8a16 Qualcomm® Dragonwing™ IQ-X7181 31.443 ms 2 - 2 MB NPU
Depth-Anything QNN_DLC w8a16 Qualcomm® Dragonwing™ Q-6690 310.259 ms 2 - 531 MB NPU
Depth-Anything QNN_DLC w8a16 Qualcomm® Dragonwing™ Q-7790 45.891 ms 2 - 439 MB NPU
Depth-Anything QNN_DLC w8a16 Qualcomm® Dragonwing™ Q-8750 15.367 ms 1 - 393 MB NPU
Depth-Anything QNN_DLC w8a16 Qualcomm® SA7255P 62.011 ms 2 - 391 MB NPU
Depth-Anything QNN_DLC w8a16 Snapdragon® 7 Gen 4 Mobile 45.891 ms 2 - 439 MB NPU
Depth-Anything TFLITE float Snapdragon® 8 Elite Gen 5 For Galaxy Mobile 16.748 ms 0 - 378 MB NPU
Depth-Anything TFLITE float Snapdragon® 8 Elite For Galaxy Mobile 21.573 ms 0 - 366 MB NPU
Depth-Anything TFLITE float Snapdragon® 8 Gen 3 Mobile 30.687 ms 27 - 497 MB NPU
Depth-Anything TFLITE float Snapdragon® 8 Gen 1 Mobile 69.874 ms 1 - 469 MB NPU
Depth-Anything TFLITE float Qualcomm® Dragonwing™ IQ-8275 48.931 ms 1 - 58 MB NPU
Depth-Anything TFLITE float Qualcomm® Dragonwing™ QCS8550 (Proxy) 42.383 ms 1 - 12 MB NPU
Depth-Anything TFLITE float Qualcomm® SA8775P 48.133 ms 1 - 362 MB NPU
Depth-Anything TFLITE float Qualcomm® SA8650P 48.133 ms 1 - 362 MB NPU
Depth-Anything TFLITE float Qualcomm® SA8255P 48.133 ms 1 - 362 MB NPU
Depth-Anything TFLITE float Qualcomm® QCS8450 69.874 ms 1 - 469 MB NPU
Depth-Anything TFLITE float Qualcomm® Dragonwing™ IQ-9075 48.791 ms 1 - 58 MB NPU
Depth-Anything TFLITE float Qualcomm® Dragonwing™ Q-8750 21.573 ms 0 - 366 MB NPU
Depth-Anything TFLITE float Qualcomm® SA8295P 67.796 ms 1 - 359 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