blt/fixtures/test-cfgs
Pedro Rodriguez f94babc94e
Some checks failed
Lint with Black / lint (push) Has been cancelled
Lint with isort / lint (push) Has been cancelled
Make it possible to specify multiple config files
Summary:

Make it possible to specify multiple config files.
Parsing CLI is not a special case anymore, just uses the same config inheritance method.

Test Plan:

Test that this iterpolates in the right order via unit tests

Sample usage, loads the internal config, which references bytelatent/configs/entropy_model.yaml. The precendence order is:

- Default pydantic args
- Included configs, eg `config`
- CLI args

```
python -m bytelatent.print_config config=internal/configs/entropy_model.yaml eval=null

```


Summary:

Test Plan:
2025-02-14 22:50:57 +00:00
..
list.yaml Make it possible to specify multiple config files 2025-02-14 22:50:57 +00:00
middle.yaml Make it possible to specify multiple config files 2025-02-14 22:50:57 +00:00
override.yaml Make it possible to specify multiple config files 2025-02-14 22:50:57 +00:00
root.yaml Make it possible to specify multiple config files 2025-02-14 22:50:57 +00:00
top.yaml Make it possible to specify multiple config files 2025-02-14 22:50:57 +00:00