Add DROID BA fast path#83
Closed
heiwang1997 wants to merge 2 commits into
Closed
Conversation
Collaborator
Author
|
Superseded by #85, which rebases the work on main and renames the feature to fused BA / pipeline.slam.ba.fused. |
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.
Stacked on #82 / chunk 1.\n\nSummary:\n- Add an extended CUDA BA primitive with optional disparity masking and focal/intrinsics optimization.\n- Keep the existing slam_ext.ba API compatible while exposing slam_ext.ba_extended for ViPE-specific optional variables.\n- Add a gated GraphBuffer fast path behind VIPE_ENABLE_DROID_BA_FAST_PATH=1 for the single-view pinhole/no-robust-kernel case.\n\nIntentionally not included:\n- Fused dense depth-flow term computation.\n- Standalone Triton BA kernels.\n\nValidation:\n- uv run ruff check vipe/slam/components/buffer.py\n- CUDA_HOME=/usr/local/cuda-12.8 VIPE_EXT_JIT=1 MAX_JOBS=8 uv run python -m unittest tests.test_slam_ext_ba_extended -v\n- pre-commit hooks on both commits: ruff format, ruff check, mypy\n