How to Log a Folder of Files to MLflow with log_artifacts
When a step of your code writes several files, such as a set of reports or charts, logging them one by one gets tedious. mlflow.log_artifacts() uploads a whole folder to the run in one call, subfolders included. One detail decides where the files end up: artifact_path. This guide logs a folder of two reports, with real output from MLflow 3.18.0.
