Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Log artifacts to an existing run ID in MLflow #12287

Closed
pedrety opened this issue Mar 10, 2022 · 1 comment 路 Fixed by #12290
Closed

Log artifacts to an existing run ID in MLflow #12287

pedrety opened this issue Mar 10, 2022 · 1 comment 路 Fixed by #12290
Labels
feature Is an improvement or enhancement logger: mlflow
Milestone

Comments

@pedrety
Copy link

pedrety commented Mar 10, 2022

馃殌 Feature

Right now you can't log artifact to an existing run in MLflow because you can only specify the experiment name and the desired run name you want to log artifacts to. This creates an issue where a new run is created instead of logging the data into an existing one. Also if you use mlflow.pytorch.autolog() and you want to log extra items into the current run it will create a new one because the MLflowLogger (MLflowLogger.__init__) can't be created specifying a run id.

Motivation

I'm trying to log extra items into an existing run during the training and it will create a new MLflow run instead of logging them into an existing run (1).

Pitch

I just want to log new items into my existing run by specifying the current run id without creating new runs and having the information divided into 2 runs.

Alternatives

Additional context

(1) As you can see in this image
mlflow_pytorch

cc @Borda

@awaelchli
Copy link
Member

Hey @Kr4is @pedrety

Great contribution. Just a heads up: Lightning 1.6 will soon get released. It's possible #12290 won't land in time. Thanks for the patience <3

@awaelchli awaelchli added this to the 1.7 milestone Mar 19, 2022
@carmocca carmocca modified the milestones: 1.7, 1.6 Mar 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Is an improvement or enhancement logger: mlflow
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants