mlos_bench.launcher module

A helper class to load the configuration files, parse the command line parameters, and instantiate the main components of mlos_bench system.

It is used in mlos_bench.run module to run the benchmark/optimizer from the command line.

class mlos_bench.launcher.Launcher(description: str, long_text: str = '', argv: List[str] | None = None)

Bases: object

Command line launcher for mlos_bench and mlos_core.

Attributes:
config_loader

Get the config loader service.

service

Get the parent service.

property config_loader: ConfigPersistenceService

Get the config loader service.

property service: Service

Get the parent service.