Experiments

Settings

Logger settings are a way to edit preferences for the logger.

mlop encourages higher resolution logging and does not block any of your existing code.

Performance

mlop strives to be THE FASTEST logger. When using mlop, you should experience a noticeable performance improvement. This is because mlop never artificially blocks your code in any way, unlike other platforms. We work to reduce your training time and overhead wherever possible while ensuring data integrity and experiment reproducibility.

If you notice any performance issues, drop us an email at founders@mlop.ai and you can be sure we will respond immediately.

List of Preferences

mlop logger officially supports customizing the following settings:

ParameterTypeDescription
hoststrSet the host address for the logger for self-hosted instances.
disable_ifaceboolDisable the network interface exposed to the logger.
disable_storeboolDisable the local data store.
x_sys_labelstrSet the log group label for system metrics.
x_grad_labelstrSet the log group label for model gradients.
x_param_labelstrSet the log group label for model parameters.
x_sys_sampling_intervalintSet the sampling interval for the system metrics.
x_log_levelintSet the log level for the logger.
x_file_stream_max_connintSet the maximum number of connections allowed for API calls.
x_file_stream_max_sizeintSet the maximum size of individual connections.
x_file_stream_timeout_secondsintSet the timeout in seconds for individual connections.
x_file_stream_retry_maxintSet the maximum number of retries for REST API calls.
x_file_stream_retry_wait_min_secondsintSet the minimum wait time in seconds between retries.
x_file_stream_retry_wait_max_secondsintSet the maximum wait time in seconds between retries.

Source

See the Python code for more details.

Customizing Preferences

When initializing the logger, you can pass in logger settings either as a Settings object or a dictionary.

Examples

mlop.init(
    project="example",
    settings={"host": "127.0.0.1"}
)

or

settings = mlop.Settings()
settings.host = "127.0.0.1"
 
mlop.init(
    project="example",
    settings=settings
)

Pre-Authentication

To pre-authenticate the logger instead of logging in interactively, you can manually obtain an API key and pass it to the logger settings.

settings = mlop.Settings()
settings._auth = "mlpi_example"
mlop.login(
    project="example",
    settings=settings
)

On this page