mlos_bench.environments.remote.vm_env module

Remote VM (Host) Environment.

class mlos_bench.environments.remote.vm_env.VMEnv(*, name: str, config: dict, global_config: dict | None = None, tunables: TunableGroups | None = None, service: Service | None = None)

Bases: HostEnv

Remote VM/host environment.

Note: this is just a class alias for HostEnv for historical purposes.

Attributes:
parameters

Key/value pairs of all environment parameters (i.e., const_args and tunable_params).

tunable_params

Get the configuration space of the given environment.

Methods

new(*, env_name, class_name, config[, ...])

Factory method for a new environment with a given config.

pprint([indent, level])

Pretty-print the environment configuration.

run()

Execute the run script for this environment.

setup(tunables[, global_config])

Check if host is ready.

status()

Check the status of the benchmark environment.

teardown()

Shut down the Host and release it.