Skip to content

[Feature Request] Non-mutually exclusive config groups #499

@apsdehal

Description

@apsdehal

🚀 Feature Request

Allow hydra to load multiple configurations in a single compositional block.

Motivation

For multitasking, one needs to load configurations for multiple datasets. Currently the way hydra is structure, I don't see a clear way of loading multiple configs in a single block.

Pitch

For e.g. let's say defaults look something like:

defaults:
  - dataset:
     - ???

and datasets folder is something like:

conf/
    dataset/
        vqa2.yaml
        textvqa.yaml

If I run, python main.py dataset=vqa2,textvqa, I should get a final config object something like

dataset:
  - vqa2: ...
  - textvqa: ...

We have something like this already implemented in Pythia's configuration system which is very close to hydra.

Are you willing to open a pull request? No

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions