-
Notifications
You must be signed in to change notification settings - Fork 68
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
Refactor config examples directory structure #313
Conversation
Note: this is in preparation for my SSH PR so I have a reasonable place to put those config/script snippets. |
Absolute nit, but it bugs me:
Or Anyways, we're pretty inconsistent about pluralized names. |
[like] Brian Kroth (GSL) reacted to your message:
________________________________
From: Sergiy Matusevych ***@***.***>
Sent: Wednesday, May 3, 2023 10:10:05 PM
To: microsoft/MLOS ***@***.***>
Cc: Brian Kroth (GSL) ***@***.***>; Author ***@***.***>
Subject: Re: [microsoft/MLOS] Refactor config examples directory structure (PR #313)
@motus commented on this pull request.
________________________________
In mlos_bench/mlos_bench/config/service/remote/azure/service-provision-vm.jsonc<#313 (comment)>:
@@ -4,7 +4,7 @@
"config": {
- "deployTemplatePath": "azure/arm-templates/azuredeploy-ubuntu-vm.jsonc",
+ "deployTemplatePath": "service/remote/azure/vm/arm-templates/azuredeploy-ubuntu-vm.jsonc",
agree. I've been thinking about relative paths but also decided to put it off for a while. Let's live with what we have now and can focus on running the experiments
—
Reply to this email directly, view it on GitHub<#313 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ABQ53FC45BO57XEIZ6N6MMDXELJT3ANCNFSM6AAAAAAXKFZQUQ>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
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.
wow, that's a lot of work! left a few nitpicks, but otherwise approve
The existing configs and examples directory structure is a little bit of a mess and not currently being distributed with the
whl
.This PR starts reorganizing it to
service
vs.environment
vs.optimizer
vs.storage
base classes).whl
importlib
to access files at runtime for the default search path:https://setuptools.pypa.io/en/latest/userguide/datafiles.html#accessing-data-files-at-runtime
config
dir and check that we can at least load them into an Environment class.TunableGroups
loading logic also needing fixing and tests - Fixes for TunableGroups merging logic #327This should make it easier to interact with and test the pre-canned examples.
Future work:
jsonschema
for config validation and IDE autocomplete help