feat(gallery): add Depth Anything V2 models + bump native version - #10413
Merged
Conversation
Add Depth Anything V2 (DA2) support to the depth-anything backend. DA2 is depth-only (no camera pose, no confidence) and ships both relative (relative inverse depth) and metric (depth in metres) variants. The Go backend is model-agnostic, so no backend code changes are required — only a native version bump and new gallery entries. - backend/go/depth-anything-cpp/Makefile: pin DEPTHANYTHING_VERSION to the depth-anything.cpp commit that adds the DA2 engine + C-API routing (e3dec57f13a52366bbc4f279ef44804915960a6b, kept alive by the upstream tag da2-support so it survives a squash-merge). - gallery/index.yaml: add 12 DA2 entries (4 base quants, small, large, plus Hypersim indoor and VKITTI outdoor metric models in S/B/L). Metric models carry the metric-depth tag; none carry camera-pose. Assisted-by: Claude:claude-opus-4-8
PR #1 (mudler/depth-anything.cpp) merged to master as f4e17de (squash); repoint the pin from the pre-merge commit to the canonical master commit. Assisted-by: Claude:claude-opus-4-8
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds Depth Anything V2 (DA2) support to the
depth-anythingbackend.max_depth 20, VKITTI outdoormax_depth 80).Changes
backend/go/depth-anything-cpp/Makefile— pinDEPTHANYTHING_VERSIONtoe3dec57f13a52366bbc4f279ef44804915960a6b, the depth-anything.cpp commit that carries the DA2 engine + C-API routing. It is kept alive by the upstream tagda2-supportso it survives a squash-merge.gallery/index.yaml— add 12 DA2 entries after the existing depth-anything-3 block:depth-anything-2-base(q4_k default),-base-q8_0,-base-f16,-base-f32,-small(ViT-S f32),-large(ViT-L f32)-metric-hypersim-small/base/large(q4_k)-metric-vkitti-small/base/large(q4_k)metric-depthtag; none carrycamera-pose. Descriptions recommend GenerateImage / the Depth endpoint (no pose).Notes
mudler/depth-anything.cpp). Once it merges, the pin here can be repointed to the master merge commit.sha256values were verified against the publishedSHA256SUMS.Assisted-by: Claude:claude-opus-4-8