8000 Allow hyperopt config to be loaded from a file by arnavgarg1 · Pull Request #3865 · ludwig-ai/ludwig · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Allow hyperopt config to be loaded from a file #3865

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

Merged
merged 1 commit into from
Jan 8, 2024
Merged

Conversation

arnavgarg1
Copy link
Contributor

Currently a bug in the main Ludwig hyperopt codepath where it assumes the config is an object, but the passed in config also allows the config to be a "str". If it is a str, then we assume it's a path and load the config from disk. Unfortunately, our check to make sure that the 'hyperopt' section of the config is present is incorrect.

This was reported in #3850 and closes this issue.

Copy link
github-actions bot commented Jan 8, 2024

Unit Test Results

  6 files  ±0    6 suites  ±0   14m 13s ⏱️ -16s
12 tests ±0    9 ✔️ ±0    3 💤 ±0  0 ±0 
60 runs  ±0  42 ✔️ ±0  18 💤 ±0  0 ±0 

Results for commit b2ab75c. ± Comparison against base commit e55ad26.

@arnavgarg1 arnavgarg1 merged commit 631b269 into master Jan 8, 2024
@arnavgarg1 arnavgarg1 deleted the hyperopt_config branch January 8, 2024 17:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Getting ValueError: Hyperopt Section not present in config while loading hyperopt from YAML config
2 participants
0