apple / coreml-depth-anything-v2-small

huggingface.co
Total runs: 43.0K
24-hour runs: 1.2K
7-day runs: 12.6K
30-day runs: 38.3K
Model's Last Updated: June 25 2024
depth-estimation

Introduction of coreml-depth-anything-v2-small

Model Details of coreml-depth-anything-v2-small

Depth Anything V2 Core ML Models

Depth Anything V2 was introduced in the paper of the same name by Lihe Yang et al. It uses the same architecture as the original Depth Anything release, but uses synthetic data and a larger capacity teacher model to achieve much finer and robust depth predictions. The original Depth Anything model was introduced in the paper Depth Anything: Unleashing the Power of Large-Scale Unlabeled Data by Lihe Yang et al., and was first released in this repository .

Model description

Depth Anything V2 leverages the DPT architecture with a DINOv2 backbone.

The model is trained on ~600K synthetic labeled images and ~62 million real unlabeled images, obtaining state-of-the-art results for both relative and absolute depth estimation.

drawing

Depth Anything overview. Taken from the original paper .

Evaluation - Variants
Variant Parameters Size (MB) Weight precision Act. precision abs-rel error abs-rel reference
small-original (PyTorch) 24.8M 99.2 Float32 Float32
DepthAnythingV2SmallF32 24.8M 99.2 Float32 Float32 0.0072 small-original
DepthAnythingV2SmallF16 24.8M 49.8 Float16 Float16 0.0089 small-original

Evaluated on 512 landscape images from the COCO dataset with aspect ratio similar to 4:3. Images were streched to a fixed size of 518x396, and the groundtruth corresponds to the results from the PyTorch model running on CUDA with float32 precision.

Evaluation - Inference time

The following results use the small-float16 variant.

Device OS Inference time (ms) Dominant compute unit
iPhone 12 Pro Max 18.0 31.10 Neural Engine
iPhone 15 Pro Max 17.4 33.90 Neural Engine
MacBook Pro (M1 Max) 15.0 32.80 Neural Engine
MacBook Pro (M3 Max) 15.0 24.58 Neural Engine
Download

Install huggingface-cli

brew install huggingface-cli

To download one of the .mlpackage folders to the models directory:

huggingface-cli download \
  --local-dir models --local-dir-use-symlinks False \
  apple/coreml-depth-anything-v2-small \
  --include "DepthAnythingV2SmallF16.mlpackage/*"

To download everything, skip the --include argument.

Integrate in Swift apps

The huggingface/coreml-examples repository contains sample Swift code for DepthAnythingV2SmallF16.mlpackage and other models. See the instructions there to build the demo app, which shows how to use the model in your own Swift apps.

Runs of apple coreml-depth-anything-v2-small on huggingface.co

43.0K
Total runs
1.2K
24-hour runs
3.9K
3-day runs
12.6K
7-day runs
38.3K
30-day runs

More Information About coreml-depth-anything-v2-small huggingface.co Model

More coreml-depth-anything-v2-small license Visit here:

https://choosealicense.com/licenses/apache-2.0

coreml-depth-anything-v2-small huggingface.co

coreml-depth-anything-v2-small huggingface.co is an AI model on huggingface.co that provides coreml-depth-anything-v2-small's model effect (), which can be used instantly with this apple coreml-depth-anything-v2-small model. huggingface.co supports a free trial of the coreml-depth-anything-v2-small model, and also provides paid use of the coreml-depth-anything-v2-small. Support call coreml-depth-anything-v2-small model through api, including Node.js, Python, http.

coreml-depth-anything-v2-small huggingface.co Url

https://huggingface.co/apple/coreml-depth-anything-v2-small

apple coreml-depth-anything-v2-small online free

coreml-depth-anything-v2-small huggingface.co is an online trial and call api platform, which integrates coreml-depth-anything-v2-small's modeling effects, including api services, and provides a free online trial of coreml-depth-anything-v2-small, you can try coreml-depth-anything-v2-small online for free by clicking the link below.

apple coreml-depth-anything-v2-small online free url in huggingface.co:

https://huggingface.co/apple/coreml-depth-anything-v2-small

coreml-depth-anything-v2-small install

coreml-depth-anything-v2-small is an open source model from GitHub that offers a free installation service, and any user can find coreml-depth-anything-v2-small on GitHub to install. At the same time, huggingface.co provides the effect of coreml-depth-anything-v2-small install, users can directly use coreml-depth-anything-v2-small installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

coreml-depth-anything-v2-small install url in huggingface.co:

https://huggingface.co/apple/coreml-depth-anything-v2-small

Url of coreml-depth-anything-v2-small

coreml-depth-anything-v2-small huggingface.co Url

Provider of coreml-depth-anything-v2-small huggingface.co

apple
ORGANIZATIONS

Other API from apple

huggingface.co

Total runs: 48.1K
Run Growth: 19.9K
Growth Rate: 42.92%
Updated:March 01 2025
huggingface.co

Total runs: 11.2K
Run Growth: 5.1K
Growth Rate: 50.08%
Updated:March 01 2025
huggingface.co

Total runs: 7.5K
Run Growth: -1.5K
Growth Rate: -20.11%
Updated:February 25 2025
huggingface.co

Total runs: 6.9K
Run Growth: -1.1K
Growth Rate: -16.96%
Updated:September 03 2025
huggingface.co

Total runs: 3.8K
Run Growth: -491
Growth Rate: -12.91%
Updated:March 01 2025
huggingface.co

Total runs: 3.1K
Run Growth: 675
Growth Rate: 22.39%
Updated:December 19 2025
huggingface.co

Total runs: 2.8K
Run Growth: 2.3K
Growth Rate: 83.56%
Updated:September 23 2026
huggingface.co

Total runs: 2.3K
Run Growth: -347
Growth Rate: -15.15%
Updated:September 03 2025
huggingface.co

Total runs: 2.1K
Run Growth: -370
Growth Rate: -17.40%
Updated:March 01 2025
huggingface.co

Total runs: 1.6K
Run Growth: -270
Growth Rate: -17.09%
Updated:March 01 2025
huggingface.co

Total runs: 1.3K
Run Growth: 827
Growth Rate: 66.37%
Updated:March 01 2025
huggingface.co

Total runs: 1.2K
Run Growth: 490
Growth Rate: 40.10%
Updated:September 03 2025
huggingface.co

Total runs: 403
Run Growth: 44
Growth Rate: 11.11%
Updated:July 26 2024
huggingface.co

Total runs: 399
Run Growth: 110
Growth Rate: 27.57%
Updated:October 10 2025
huggingface.co

Total runs: 253
Run Growth: 132
Growth Rate: 48.71%
Updated:March 01 2025
huggingface.co

Total runs: 248
Run Growth: 11
Growth Rate: 4.49%
Updated:September 03 2025
huggingface.co

Total runs: 245
Run Growth: -13
Growth Rate: -5.31%
Updated:April 25 2026
huggingface.co

Total runs: 240
Run Growth: 85
Growth Rate: 35.42%
Updated:October 10 2025
huggingface.co

Total runs: 204
Run Growth: 39
Growth Rate: 19.40%
Updated:June 14 2024
huggingface.co

Total runs: 119
Run Growth: 15
Growth Rate: 12.93%
Updated:March 01 2025
huggingface.co

Total runs: 114
Run Growth: 97
Growth Rate: 85.09%
Updated:March 01 2025
huggingface.co

Total runs: 112
Run Growth: 27
Growth Rate: 24.11%
Updated:September 03 2025
huggingface.co

Total runs: 100
Run Growth: 31
Growth Rate: 31.31%
Updated:August 06 2024
huggingface.co

Total runs: 70
Run Growth: 65
Growth Rate: 92.86%
Updated:April 15 2026
huggingface.co

Total runs: 60
Run Growth: 14
Growth Rate: 23.33%
Updated:March 01 2025
huggingface.co

Total runs: 59
Run Growth: 11
Growth Rate: 18.97%
Updated:September 03 2025
huggingface.co

Total runs: 55
Run Growth: 12
Growth Rate: 21.82%
Updated:October 10 2025
huggingface.co

Total runs: 45
Run Growth: -2
Growth Rate: -4.44%
Updated:October 10 2025
huggingface.co

Total runs: 45
Run Growth: -6
Growth Rate: -13.33%
Updated:April 15 2026
huggingface.co

Total runs: 44
Run Growth: 19
Growth Rate: 43.18%
Updated:March 01 2025
huggingface.co

Total runs: 40
Run Growth: -148
Growth Rate: -370.00%
Updated:March 01 2025