Skip to content

Parameter sweep: native grid/matrix (cartesian) expansion #390

Closed

Description

@scttfrdmn

Problem

Sweeps require a pre-expanded params list; the CLI returns "inline --params not yet implemented, use --param-file for now" and the docs recommend generating the full product with a separate script (e.g. Python itertools.product). Cartesian-product generation is a defining expectation of a parameter-sweep tool, so requiring users to write code to generate YAML weakens the "no extra workflow system" proposition. Raised by an external review.

Proposed shape

grid:
  learning_rate: [0.001, 0.01, 0.1]
  batch_size: [32, 64, 128]

→ expands to 9 jobs automatically. Keep params: (explicit list) as-is; grid: is sugar that expands to it. --estimate-only should report the expanded count.

Docs note

docs/guides/parameter-sweeps.md keeps the honest "generate the params file for now" workaround and links here.

Activity

  1. added
    enhancement
    area:launch
    on Jul 19, 2026
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

    area:launchenhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions