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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Log project backend for local runs with no environment #2207

Merged
merged 5 commits into from Dec 17, 2019

Conversation

dbczumar
Copy link
Collaborator

What changes are proposed in this pull request?

While reviewing #2202, I discovered that the mlflow.project.backend tag is not currently being set when using the local backend without a conda or docker environment. This PR fixes the issue and expands test coverage to ensure that the correct backend and environment tags are logged for the docker, conda, and no environment cases

How is this patch tested?

(Details)

Release Notes

Is this a user-facing change?

  • No. You can skip the rest of this section.
  • Yes. Small bug fix, no release note

What component(s) does this PR affect?

  • UI
  • CLI
  • API
  • REST-API
  • Examples
  • Docs
  • Tracking
  • Projects
  • Artifacts
  • Models
  • Scoring
  • Serving
  • R
  • Java
  • Python

How should the PR be classified in the release notes? Choose one:

  • rn/breaking-change - The PR will be mentioned in the "Breaking Changes" section
  • rn/none - No description will be included. The PR will be mentioned only by the PR number in the "Small Bugfixes and Documentation Updates" section
  • rn/feature - A new user-facing feature worth mentioning in the release notes
  • rn/bug-fix - A user-facing bug fix worth mentioning in the release notes
  • rn/documentation - A user-facing documentation change worth mentioning in the release notes

@dbczumar dbczumar added the rn/none List under Small Changes in Changelogs. label Dec 16, 2019
Copy link
Collaborator

@smurching smurching left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Thanks for adding a test verifying tags logged for conda environments, let's also update the docker project test to verify that the "local" tag is still logged?

Copy link
Collaborator

@smurching smurching left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM (sorry I missed the docker project test change!)

@dbczumar dbczumar merged commit 0d42369 into mlflow:master Dec 17, 2019
lorenzwalthert pushed a commit to lorenzwalthert/mlflow that referenced this pull request Jan 4, 2020
* Implement the fix

* Add a small test

* Docker test

* Projects conda

* Revert utils
avflor pushed a commit to avflor/mlflow that referenced this pull request Aug 22, 2020
* Implement the fix

* Add a small test

* Docker test

* Projects conda

* Revert utils
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rn/none List under Small Changes in Changelogs.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants