Skip to content

fix(mlflow): keep track of run id for multi-threaded mlflow logging#1775

Open
mathewjhan wants to merge 1 commit into
radixark:mainfrom
mathewjhan:mlflow-thread-safe-logging
Open

fix(mlflow): keep track of run id for multi-threaded mlflow logging#1775
mathewjhan wants to merge 1 commit into
radixark:mainfrom
mathewjhan:mlflow-thread-safe-logging

Conversation

@mathewjhan

@mathewjhan mathewjhan commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Currently, mlflow calls active_run() which is thread-local (source).

image

the correct way to handle this is to cache the run id similar to what the wandb backend does.

@gemini-code-assist

Copy link
Copy Markdown
Contributor

Caution

The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant