Repository navigation
feat: add Video Depth Anything prediction - #2576
Merged
Merged
Conversation
inureyes
force-pushed
the
feature/issue-2352-video-depth-anything
branch
from
October 23, 2026 11:09
8630c9a to
45e895a
Compare
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.
Video Depth Anything checkpoints currently fail dense-model dispatch, so image and video depth inference cannot use the six published Small, Base, and Large relative/metric models. This change adds the shared-DINOv2 temporal DPT implementation, exact OpenCV-compatible preprocessing, bounded 32-frame sliding-window inference, consecutive video sampling, source-resolution depth outputs, registry metadata, documentation, and authentic opt-in parity/load tests.
Validation
cargo check -p mlxcel --profile test-fast --features rocm --lib --tests4.912878453e-67.973837467e-7[64, 96, 128]depth tensors and 64 valid 16-bit previews per model5.142513694620207e-6, Small metric RMS7.445840126949833e-7(threshold1e-4)0, each outer wrapper exited1after inference on a display-case assertion, and the saved-output validator exited0without a model rerun; the exact pre-edit capture script bytes were not preserved, so the authenticated post-edit archive is explicitly excluded as execution proof3.4021821538643326e-7; wrapper exit127, Python exit unknown, and lost completion log are preserved explicitlyPASSwith zero statusf69dd301; all six issue commits are patch-equivalent, and the eight lightweight repository contracts, format, diff, license-header, fixture-checksum, and binary-asset checks passcargo clippy -p mlxcel --profile test-fast --features rocm --lib --tests -- -D warningsCloses #2352