Skip to content

RuntimeRequirements: unify task dependencies, secrets, data paths and capabilities #394

Open

Description

@jason718

cc @jason718 — follow-up from the multimodal eval stack (#278), requested on #324.

A task currently declares what it needs at runtime in unrelated places: dependencies (pip extras for beaker), required_secrets (env vars mounted from user-scoped beaker secrets), and — undeclared — the data roots it reads (MOLMO_DATA_DIR, DENSE_CAPTION_EVAL_DIR, CHARXIV_GPT_CACHE_DIR).

Proposal: one RuntimeRequirements dataclass covering dependencies, secrets, data paths and capabilities (e.g. "needs a GPU", "needs network"), validated before launch in cli/beaker/task_validator.py so a run fails at submit time rather than at the first instance. data_paths is the genuinely new part, and it would make #381 (Ai2 Weka path defaults) straightforward to finish.

Tyler's review item #4 on #278.

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