Skip to content

Configure native Dask clusters and fix reconstruction benchmarks - #1179

Open
ahluwalij wants to merge 14 commits into
masterfrom
ahluwalij/studio-review-dask
Open

ahluwalij wants to merge 14 commits into
masterfrom
ahluwalij/studio-review-dask

Conversation

@ahluwalij

@ahluwalij ahluwalij commented Nov 2, 2026 •

Copy link
Copy Markdown
Collaborator

Use native Hydra Dask constructors to configure local or SSH clusters. Constructor settings control worker placement and resources, and explicit frontend presets reach both cached and uncached optimizers. Legacy cluster YAML remains supported.

The benchmark fixes make required downloads fail clearly. Separate commits guard axis alignment against an empty inlier cloud and use GTSAM diagonal damping to prevent the CPU bundle-adjustment collapse observed on Skydio. The frozen numerical fixture runs as a regression test.

Studio's single-GPU Modal workflow is reviewed separately in #1190. The Zhu baseline in #1189 is independent.

Validation on the current branch includes 25 focused tests and repository lint. A real native two-worker Dask run through Studio reconstructed all 12 Door cameras and returned the expected result archive. GitHub checks track the benchmark matrix on the current head. Historical benchmark geometry and regression evidence covers the earlier head.

On the tested runtime (e58135b5), the saved Skydio-32 reconstructions retained 32 cameras with LightGlue and 30 each with SIFT and MegaLoc. The corresponding upstream artifacts retained 32, 28, and 17. These comparisons describe the archived outputs. The input geometry differed between runs, so the counts do not isolate a causal effect of damping.

A separate native OpenSSH acceptance check instantiated Studio's generated SSHCluster YAML with one scheduler and two workers at distinct addresses on an isolated Linux container network. Both workers processed real Door input bytes and matched all twelve source checksums. The test used one physical host.

A full Studio Door run used native SSHCluster with a Linux scheduler on a temporary Modal CPU host and a worker on a Mac. It returned 12 cameras, 4,139 points, all 12 photos and a verified result archive. The experiment record imported without submitting a new job. The follow-up Dask guide update changed documentation only.

The Gerrard Hall SIFT job is retrying after the hosted runner lost communication during two-view verification. A matched local replay used the same release archive and shared feature caches while varying only the BA damping. Both Shonan solves completed within four seconds including startup, and both reopened final models registered the same 100 images. Diagonal damping produced 14,489 points at 0.8224 AUC@5°, and identity damping produced 14,490 at 0.8234. The local replay did not reproduce the CI slowdown. Failed runner.

@ahluwalij
ahluwalij added this pull request to stack #1185 November 6, 2026 04:48
@ahluwalij ahluwalij changed the title 1/5: Native Dask constructor configuration [skip benchmarks] 1/5: Native Dask constructor configuration Nov 6, 2026
@ahluwalij
ahluwalij marked this pull request as draft November 6, 2026 17:00
@ahluwalij ahluwalij changed the title 1/5: Native Dask constructor configuration 1/5: Native Dask configuration and benchmark fixes Nov 8, 2026
@ahluwalij ahluwalij changed the title 1/5: Native Dask configuration and benchmark fixes Configure native Dask clusters and fix reconstruction benchmarks Nov 20, 2026
@suhanpark
suhanpark marked this pull request as ready for review November 28, 2026 19:17
Comment thread gtsfm/runner.py
return config

@classmethod
def _cluster_config_target(cls, cluster_config: str | None) -> str:

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this necessary to be separate or can we combine this with 439?

…ated

Run Studio experiments locally and on a Modal GPU

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants