Skip to content

Conversation

@motus
Copy link
Member

@motus motus commented Oct 25, 2024

Pull Request

Title

A test configuration for the environment based on local shell scripts


Description

This is a sample MLOS configuration (CLI config, tunables, environment, and the scripts) that launches a local environment and invokes local shell scripts to set it up and run trials.


Type of Change

This is purely a config-based update. We might add unit tests around that setup later.

  • ✨ New feature
  • 📝 Documentation update
  • 🧪 Tests

Testing

Unit tests that validate the environment and run test experiments are included in this PR.

To test the environment manually, run:

mlos_bench \
     --config mlos_bench/mlos_bench/tests/config/cli/test-cli-local-env-bench.jsonc \
     --globals experiment_test_local.jsonc \
     --tunable_values tunable-values/tunable-values-local.jsonc

Additional Notes (optional)

This setup is supposed to serve as an example of other local environments with shell scripts.


@motus motus requested a review from a team as a code owner October 25, 2024 04:05
…hanges and added comments in other parts of the local env

config
@motus motus added ready for review Ready for review tests Add or fix unit tests labels Oct 31, 2024
@motus motus self-assigned this Oct 31, 2024
@bpkroth
Copy link
Contributor

bpkroth commented Nov 1, 2024

Lgtm. A few extra explanation comments wouldn't hurt, but can expand those in a future PR too.

@motus motus enabled auto-merge (squash) November 1, 2024 20:57
@motus motus merged commit 5aeb452 into microsoft:main Nov 1, 2024
@bpkroth bpkroth mentioned this pull request Nov 14, 2024
16 tasks
@motus motus deleted the sergiym/test/barebone_local branch December 9, 2024 01:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mlos-bench ready for review Ready for review tests Add or fix unit tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants