Skip to content

dvc exp run - CLI flag that bypasses automatic Hydra composition #10863

@StaszekM

Description

@StaszekM

Sometimes I need to run an experiment with the exact state of my params.yaml as in the workspace. But if I have Hydra configured in my project, DVC CLI (dvc exp run without any additional command params) always hydrates my params.yaml with default configuration from Hydra, overwriting my desired state of params.

Of course I can manually pass -S flags to CLI and write all params exactly as I want and maintain the yaml file state, but this is cumbersome and error-prone.

Something like --bypass-hydra or --do-not-compose-hydra boolean flag would be great.

I can contribute to the repo if you agree it is a good option.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions