Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Comprehensive configs for trainer and combiner. #2118

Merged
merged 7 commits into from
Jun 10, 2022

Conversation

justinxzhao
Copy link
Collaborator

@justinxzhao justinxzhao commented Jun 8, 2022

This changes defaults.py to source defaults directly from the TrainerConfig, OptimizerConfig, and BaseCombinerConfig marshmallow schemas.

Going forward, we'll have a single source of defaults (the schemas). Merging with the full schema also enables Ludwig to print and save comprehensive configs, which contain an exhaustive list of parameters, for Trainer and Combiner, insulating older models from subsequent changes to module constructor values, like #2050, which we reverted in #2069.

Config diff. You'll notice that there are many more parameters in the config from trainer and combiner.

@github-actions
Copy link

github-actions bot commented Jun 8, 2022

Unit Test Results

       6 files  +       2         6 suites  +2   2h 21m 45s ⏱️ + 49m 1s
2 820 tests +       7  2 786 ✔️ +       5    34 💤 +  2  0 ±0 
8 460 runs  +2 834  8 354 ✔️ +2 795  106 💤 +39  0 ±0 

Results for commit 4cf64e2. ± Comparison against base commit dd026ca.

♻️ This comment has been updated with latest results.

@justinxzhao justinxzhao marked this pull request as ready for review June 9, 2022 19:08
ludwig/utils/defaults.py Show resolved Hide resolved
tests/ludwig/utils/test_defaults.py Outdated Show resolved Hide resolved
ludwig/schema/utils.py Show resolved Hide resolved
@justinxzhao justinxzhao requested a review from ksbrar June 10, 2022 19:03
@justinxzhao justinxzhao merged commit ae25cc4 into master Jun 10, 2022
@justinxzhao justinxzhao deleted the comprehensive_configs branch June 10, 2022 21:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants