Skip to content

Allow parameter interpolation in -t option #377

Description

@manurare

Similar to hydra where you can configure the name of a job's output directory by interpolating command line arguments(see here). It would be useful for valohai CLI to allow something similar when running an execution.

For example, let's say I want to run a step with a parameter npoints:

vh exec run step1 --adhoc -t step1_npoints=30_000 --npoints 30_000

This quickly gets out of hand as the number of parameters increase. Ideally one could choose which args to add to the title:

vh exec run step1 --adhoc -t step1_${npoints} --npoints 30_000
that automatically interpolates ${npoints} to npoints=30_000

Activity

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