Skip to content

Vision tasks ship Ai2 Weka paths as source defaults #381

Open

Description

@jason718

cc @jason718

Per the convention from #153 / #276 (runner and task code should not carry Ai2 paths), three Weka literals in the vision family are tracked here for removal:

  • evals/vision/data/paths.py — DEFAULT_MOLMO_DATA_DIR = /weka/oe-training-default/mm-olmo (behind MOLMO_DATA_DIR)
  • evals/vision/benchmarks/dense_caption.py — _DEFAULT_EVAL_DIR (behind DENSE_CAPTION_EVAL_DIR)
  • evals/vision/scoring/judges.py — the shared gpt4-cache default (follows DENSE_CAPTION_EVAL_DIR when set)

Interim state (landed with #317): the env vars are honored, and a missing data root fails fast with an error naming the variable, so a non-Ai2 run never silently reads a nonexistent path. The literals remain so Ai2 launches keep working without extra flags.

Options accepted on the earlier threads: (a) make the defaults None, require the env vars, and move the Weka values into the README / Beaker launch docs (or a launch config), or (b) mark the tasks internal. (a) is the likely path once the Beaker launcher can carry a per-suite env block so users don't have to pass three -e flags per launch.

Activity

  1. jason718 commented on Sep 19, 2026

    @jason718
    ContributorAuthor

    Related non-determinism worth folding into this cleanup (found while re-verifying the split stack against main): CharxivJudgeScorer.cache_dir and MathVistaGptScorer.cache_dir default to a fresh tempfile.mkdtemp() per process, and Metric.to_dict serializes scorer instances with asdict, so the cache path enters the task hash. Two consecutive processes on the same tree:

    charxiv_descriptive  7e772c3ccb0a117a  ->  f055e085ac7661c7
    math_vista           b53dbf659e61d458  ->  8d579c2dfa69107e
    arc_easy             8738c56690bd51aa  ->  8738c56690bd51aa   (stable, for contrast)
    

    Every run of those tasks therefore gets a unique task hash and artifact name. This is the same class as the DENSE_CAPTION_EVAL_DIR leak already fixed in #317 (scorer to_dict emitting only type/name/model), and it is tracked as a blocking item on #323, where those two scorers live — noting it here because the fix is the same shape as the path handling this issue covers.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions