Skip to content

refactor: remove Lance-based data paths — HF/local data hosting only#1384

Open
Luodian wants to merge 2 commits into
mainfrom
refactor/remove-lance-data-paths
Open

refactor: remove Lance-based data paths — HF/local data hosting only#1384
Luodian wants to merge 2 commits into
mainfrom
refactor/remove-lance-data-paths

Conversation

@Luodian

@Luodian Luodian commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

Policy

Benchmark data in the public repo resolves from Hugging Face (or user-local files via the documented env overrides) only. Lance-table-based data paths — which presume a private object-store deployment — are removed rather than parameterized (supersedes #1377).

Changes

  • egotempo: removed the S3 tar-index extraction fast path (hardcoded private bucket/endpoint/Lance table URI + hand-parsed ~/.aws/credentials; it was dead code behind a silent except for anyone without that exact deployment). The resolution chain users actually rely on — EGOTEMPO_VIDEO_DIR / EGOTEMPO_CACHE_DIR / HF_HOME lookup plus temporal-slice dicts — is untouched.
  • countix / minerva: removed the optional COUNTIX_LANCE_* / MINERVA_LANCE_* blob-resolver branches; the local-dir and URL fallbacks are unchanged.
  • deleted lmms_eval/tasks/_task_utils/lance_video_resolver.py (no remaining importers), tools/bench_minerva_pipeline_latency.py / tools/bench_minerva_video_resolution.py (their sole purpose was benchmarking the Lance video pipeline), and tools/minerva_to_lance.py (the Lance table builder).
  • docs scrubbed: minerva task README rewritten to match the actual code (local dir via MINERVA_VIDEO_DIR + YouTube fallback), Lance sections dropped from tools/README.md, --with pylance --with pyarrow dropped from examples/models/minerva_dummy.sh, and current-tense "Lance-backed video" claims removed from the front-page README/docs. Historical release notes under docs/releases/ keep their prose as history.

Validation

  • python -m py_compile on all modified task utils; ruff clean on changed files
  • Repo-wide grep: zero live lance/pylance references remain in lmms_eval/, tools/, examples/, README.md, docs/README.md — remaining hits are incidental substrings ("balanced", "at a glance", the X-LANCE lab name in a benchmark homepage URL) and historical docs/releases/ notes
  • No task yaml touched; the removed branches were env-gated extras, so default behavior is identical

Review pass (2026-07-06)

Self-review caught that the first commit left the minerva Lance builder tool and several docs still advertising the removed Lance mode (README steps pointing at deleted bench tools, an example script installing pylance). Follow-up commit finishes the removal — see the docs-scrubbed bullet and the tightened validation grep above.

Luodian added 2 commits July 6, 2026 19:10
The public repo should not depend on Lance tables or private object-store
layouts for benchmark data; Hugging Face (plus user-local files via the
standard env overrides) is the only supported data host.

- egotempo: drop the hardcoded S3 tar-index extraction fast path (private
  bucket/endpoint/Lance table + hand-parsed ~/.aws/credentials, dead code
  behind a silent except for anyone without that exact deployment). The
  HF/local resolution chain (EGOTEMPO_VIDEO_DIR / EGOTEMPO_CACHE_DIR /
  HF_HOME + temporal-slice dicts) is unchanged.
- countix, minerva: drop the optional COUNTIX_LANCE_* / MINERVA_LANCE_*
  blob-resolver branches; local-dir and URL fallbacks are unchanged.
- delete _task_utils/lance_video_resolver.py and the two
  tools/bench_minerva_* scripts whose purpose was benchmarking the Lance
  video pipeline.

No remaining lance/pylance references in the package.
@Luodian Luodian marked this pull request as ready for review July 6, 2026 13:56
@Luodian Luodian requested review from kcz358 and pufanyi July 6, 2026 13:57
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.

1 participant