Manage

Warning

This module is experimental

labml.manage.new_run(python_file: PurePath, *, configs: Optional[Dict[str, any]] = None, comment: Optional[str] = None)[source]

This starts a new experiment by running main function defined in python_file.

Parameters

python_file (PurePath) – path of the Python script

Keyword Arguments
  • configs (Dict[str, any], optional) – a dictionary of configurations

  • comment (str, optional) – comment to identify the experiment

labml.manage.new_run_process(python_file: PurePath, *, configs: Optional[Dict[str, any]] = None, comment: Optional[str] = None)[source]

This starts a new experiment in a separate process by running main function defined in python_file.

Parameters

python_file (PurePath) – path of the Python script

Keyword Arguments
  • configs (Dict[str, any], optional) – a dictionary of configurations

  • comment (str, optional) – comment to identify the experiment