mantik.cli.runs.local

Attributes

logger

Functions

run_project(→ None)

Run an MLflow project locally and save the results in Mantik API

Module Contents

mantik.cli.runs.local.logger[source]
mantik.cli.runs.local.run_project(name: str, mlproject_path: pathlib.Path, entry_point: str, parameter: List[str], verbose: bool, project_id: uuid.UUID, data_repository_id: uuid.UUID | None, data_target_dir: str | None, data_branch: str | None, data_commit: str | None, experiment_repository_id: uuid.UUID, code_repository_id: uuid.UUID, branch: str | None, commit: str | None, env_manager: str | None) None[source]

Run an MLflow project locally and save the results in Mantik API

Note that MLPROJECT_PATH is the relative path to the MLflow project file with your Code Repository as root.

Remember that when you execute a run, the code is retrieved from your remote Git Code Repository. So make sure to commit and push your changes before executing a run!

To find the respective required IDs make sure to check Mantik’s UI