mantik.cli.runs.submit

Attributes

logger

Functions

run_project(→ None)

Submit an MLflow project as a run to the Mantik Compute Backend.

Module Contents

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

Submit an MLflow project as a run to the Mantik Compute Backend.

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

Remember that when you submit a run, the code is retrieved from your remote Git Code Repository. So make sure to commit and push your changes before submitting a run! The only file read from your local system is the backend config.

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