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.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.773 ms 2 - 385 MB NPU
Depth-Anything ONNX float Snapdragon® 8 Elite For Galaxy Mobile 25.81 ms 2 - 376 MB NPU
Depth-Anything ONNX float Snapdragon® X2 Elite 20.003 ms 5 - 5 MB NPU
Depth-Anything ONNX float Snapdragon® X Elite 45.13 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 74.353 ms 1 - 505 MB NPU
Depth-Anything ONNX float Qualcomm® Dragonwing™ IQ-8275 50.454 ms 3 - 10 MB NPU
Depth-Anything ONNX float Qualcomm® Dragonwing™ QCS8550 (Proxy) 44.352 ms 0 - 182 MB NPU
Depth-Anything ONNX float Qualcomm® QCS8450 74.353 ms 1 - 505 MB NPU
Depth-Anything ONNX float Qualcomm® Dragonwing™ IQ-9075 49.948 ms 3 - 9 MB NPU
Depth-Anything ONNX float Qualcomm® Dragonwing™ IQ-X7181 45.13 ms 48 - 48 MB NPU
Depth-Anything ONNX float Qualcomm® Dragonwing™ Q-8750 25.81 ms 2 - 376 MB NPU
Depth-Anything ONNX float Snapdragon® 8 Elite Extreme Gen 6 Mobile 13.929 ms 3 - 375 MB NPU
Depth-Anything ONNX float Snapdragon® 8 Elite Gen 6 Mobile 24.08 ms 5 - 380 MB NPU
Depth-Anything ONNX w8a16 Snapdragon® 8 Elite Gen 5 For Galaxy Mobile 10.497 ms 1 - 408 MB NPU
Depth-Anything ONNX w8a16 Snapdragon® 8 Elite For Galaxy Mobile 12.901 ms 2 - 402 MB NPU
Depth-Anything ONNX w8a16 Snapdragon® X2 Elite 10.848 ms 4 - 4 MB NPU
Depth-Anything ONNX w8a16 Snapdragon® X Elite 25.847 ms 27 - 27 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 31.5 ms 3 - 502 MB NPU
Depth-Anything ONNX w8a16 Qualcomm® Dragonwing™ QCS6490 85.093 ms 2 - 5 MB NPU
Depth-Anything ONNX w8a16 Qualcomm® Dragonwing™ IQ-8275 23.606 ms 2 - 6 MB NPU
Depth-Anything ONNX w8a16 Qualcomm® Dragonwing™ QCS8550 (Proxy) 25.408 ms 0 - 33 MB NPU
Depth-Anything ONNX w8a16 Qualcomm® QCS8450 31.5 ms 3 - 502 MB NPU
Depth-Anything ONNX w8a16 Qualcomm® Dragonwing™ IQ-9075 26.192 ms 2 - 6 MB NPU
Depth-Anything ONNX w8a16 Qualcomm® Dragonwing™ IQ-X7181 25.847 ms 27 - 27 MB NPU
Depth-Anything ONNX w8a16 Qualcomm® Dragonwing™ Q-6690 249.97 ms 3 - 539 MB NPU
Depth-Anything ONNX w8a16 Qualcomm® Dragonwing™ Q-7790 34.929 ms 3 - 462 MB NPU
Depth-Anything ONNX w8a16 Qualcomm® Dragonwing™ Q-8750 12.901 ms 2 - 402 MB NPU
Depth-Anything ONNX w8a16 Snapdragon® 7 Gen 4 Mobile 34.929 ms 3 - 462 MB NPU
Depth-Anything ONNX w8a16 Snapdragon® 8 Elite Extreme Gen 6 Mobile 5.255 ms 3 - 434 MB NPU
Depth-Anything ONNX w8a16 Snapdragon® 8 Elite Gen 6 Mobile 8.534 ms 3 - 424 MB NPU
Depth-Anything QNN_DLC float Snapdragon® 8 Elite Gen 5 For Galaxy Mobile 22.572 ms 3 - 385 MB NPU
Depth-Anything QNN_DLC float Snapdragon® 8 Elite For Galaxy Mobile 26.965 ms 3 - 377 MB NPU
Depth-Anything QNN_DLC float Snapdragon® X2 Elite 20.812 ms 3 - 3 MB NPU
Depth-Anything QNN_DLC float Snapdragon® X Elite 47.891 ms 3 - 3 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 74.897 ms 3 - 495 MB NPU
Depth-Anything QNN_DLC float Qualcomm® Dragonwing™ IQ-8275 54.177 ms 3 - 10 MB NPU
Depth-Anything QNN_DLC float Qualcomm® Dragonwing™ QCS8550 (Proxy) 47.062 ms 3 - 5 MB NPU
Depth-Anything QNN_DLC float Qualcomm® QCS8450 74.897 ms 3 - 495 MB NPU
Depth-Anything QNN_DLC float Qualcomm® Dragonwing™ IQ-9075 54.194 ms 5 - 12 MB NPU
Depth-Anything QNN_DLC float Qualcomm® Dragonwing™ IQ-X7181 47.891 ms 3 - 3 MB NPU
Depth-Anything QNN_DLC float Qualcomm® Dragonwing™ Q-8750 26.965 ms 3 - 377 MB NPU
Depth-Anything QNN_DLC float Qualcomm® SA8295P 76.885 ms 0 - 373 MB NPU
Depth-Anything QNN_DLC float Snapdragon® 8 Elite Extreme Gen 6 Mobile 14.132 ms 3 - 378 MB NPU
Depth-Anything QNN_DLC float Snapdragon® 8 Elite Gen 6 Mobile 30.475 ms 3 - 382 MB NPU
Depth-Anything QNN_DLC w8a16 Snapdragon® 8 Elite Gen 5 For Galaxy Mobile 12.468 ms 2 - 395 MB NPU
Depth-Anything QNN_DLC w8a16 Snapdragon® 8 Elite For Galaxy Mobile 15.191 ms 2 - 392 MB NPU
Depth-Anything QNN_DLC w8a16 Snapdragon® X2 Elite 13.322 ms 2 - 2 MB NPU
Depth-Anything QNN_DLC w8a16 Snapdragon® X Elite 31.397 ms 2 - 2 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.531 ms 2 - 7 MB NPU
Depth-Anything QNN_DLC w8a16 Qualcomm® Dragonwing™ QCS8550 (Proxy) 30.111 ms 2 - 4 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.766 ms 1 - 6 MB NPU
Depth-Anything QNN_DLC w8a16 Qualcomm® Dragonwing™ IQ-X7181 31.397 ms 2 - 2 MB NPU
Depth-Anything QNN_DLC w8a16 Qualcomm® Dragonwing™ Q-6690 292.262 ms 4 - 530 MB NPU
Depth-Anything QNN_DLC w8a16 Qualcomm® Dragonwing™ Q-7790 45.946 ms 2 - 440 MB NPU
Depth-Anything QNN_DLC w8a16 Qualcomm® Dragonwing™ Q-8750 15.191 ms 2 - 392 MB NPU
Depth-Anything QNN_DLC w8a16 Qualcomm® SA7255P 59.687 ms 2 - 390 MB NPU
Depth-Anything QNN_DLC w8a16 Snapdragon® 7 Gen 4 Mobile 45.946 ms 2 - 440 MB NPU
Depth-Anything QNN_DLC w8a16 Snapdragon® 8 Elite Extreme Gen 6 Mobile 10.071 ms 2 - 414 MB NPU
Depth-Anything QNN_DLC w8a16 Snapdragon® 8 Elite Gen 6 Mobile 15.279 ms 2 - 406 MB NPU
Depth-Anything TFLITE float Snapdragon® 8 Elite Gen 5 For Galaxy Mobile 15.956 ms 0 - 375 MB NPU
Depth-Anything TFLITE float Snapdragon® 8 Elite For Galaxy Mobile 20.789 ms 0 - 364 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.49 ms 1 - 468 MB NPU
Depth-Anything TFLITE float Qualcomm® Dragonwing™ IQ-8275 47.23 ms 1 - 58 MB NPU
Depth-Anything TFLITE float Qualcomm® Dragonwing™ QCS8550 (Proxy) 40.399 ms 1 - 11 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 64.49 ms 1 - 468 MB NPU
Depth-Anything TFLITE float Qualcomm® Dragonwing™ IQ-9075 47.452 ms 1 - 58 MB NPU
Depth-Anything TFLITE float Qualcomm® Dragonwing™ Q-8750 20.789 ms 0 - 364 MB NPU
Depth-Anything TFLITE float Qualcomm® SA7255P 122.675 ms 1 - 361 MB NPU
Depth-Anything TFLITE float Qualcomm® SA8295P 68.23 ms 1 - 357 MB NPU
Depth-Anything TFLITE float Snapdragon® 8 Elite Extreme Gen 6 Mobile 13.14 ms 1 - 377 MB NPU
Depth-Anything TFLITE float Snapdragon® 8 Elite Gen 6 Mobile 21.306 ms 1 - 363 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