-
Notifications
You must be signed in to change notification settings - Fork 1
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
YAML based config #14
Conversation
Not really familiar with config best practices so I'm tagging @bcdurak instead who worked on this before I believe |
MacOS tests are broken, to be followed up here |
template/config.yaml
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nothing to do with this, but while I can see that people might prefer this kind of config for simple configurations, but I find this a decent bit less clear than having a Python-based config.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I also prefer Python, but it is breaking caching logic currently and might not lead to a new pipeline version generated in ZenML on config update.
I reworked the template to use the YAML configuration instead of the Python file. This makes this template reusable for a broader count of use cases and makes it aligned with general ZenML configuration best practices.
extra
config via YAML{"range":{"start":1,"end":10,"step":2}}
is used.get_model_from_config
step to reconstruct ClassifierMixin from string-based configurationsDepends on zenml-io/zenml#1876