question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[FR] Add MLflow version to the MLModel spec

See original GitHub issue

Thank you for submitting a feature request. Before proceeding, please review MLflow’s Issue Policy for feature requests and the MLflow Contributing Guide.

Please fill in this feature request template to ensure a timely and thorough response.

Willingness to contribute

The MLflow Community encourages new feature contributions. Would you or another member of your organization be willing to contribute an implementation of this feature (either as an MLflow Plugin or an enhancement to the MLflow code base)?

  • Yes. I can contribute this feature independently.
  • Yes. I would be willing to contribute this feature with guidance from the MLflow community.
  • No. I cannot contribute this feature at this time.

Proposal Summary

Add an mlflow_version field to the MLModel spec that is automatically populated with the current MLflow version when an MLflow Model is saved / logged.

Motivation

  • What is the use case for this feature? When saving an MLflow Model, it is helpful to know what version of MLflow was used to save the model for backwards compatibility & validation purposes.
  • Why is this use case valuable to support for MLflow users in general? ^
  • Why is this use case valuable to support for your project(s) or organization? ^
  • Why is it currently difficult to achieve this use case? MLflow version information isn’t available anywhere in the serialized MLflow Model format.

What component(s), interfaces, languages, and integrations does this feature affect?

Components

  • area/artifacts: Artifact stores and artifact logging
  • area/build: Build and test infrastructure for MLflow
  • area/docs: MLflow documentation pages
  • area/examples: Example code
  • area/model-registry: Model Registry service, APIs, and the fluent client calls for Model Registry
  • area/models: MLmodel format, model serialization/deserialization, flavors
  • area/projects: MLproject format, project running backends
  • area/scoring: MLflow Model server, model deployment tools, Spark UDFs
  • area/server-infra: MLflow Tracking server backend
  • area/tracking: Tracking Service, tracking client APIs, autologging

Interfaces

  • area/uiux: Front-end, user experience, plotting, JavaScript, JavaScript dev server
  • area/docker: Docker use across MLflow’s components, such as MLflow Projects and MLflow Models
  • area/sqlalchemy: Use of SQLAlchemy in the Tracking Service or Model Registry
  • area/windows: Windows support

Languages

  • language/r: R APIs and clients
  • language/java: Java APIs and clients
  • language/new: Proposals for new client languages

Integrations

  • integrations/azure: Azure and Azure ML integrations
  • integrations/sagemaker: SageMaker integrations
  • integrations/databricks: Databricks integrations

Details

(Use this section to include any additional information about the feature. If you have a proposal for how to implement this feature, please include it here. For implementation guidelines, please refer to the Contributing Guide.)

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
r3stl355commented, Mar 16, 2022

I’ll pick this up

0reactions
andy1122commented, Mar 20, 2022

Hey @andy1122 , I frankly don’t know what to say. I never collaborated with anyone in this type of setup. I prefer having my own pace for this type of work and don’t want to set any expectations/constraints or depend on others. This is a bite-size contribution so you can easily submit your own PR.

Hi @r3stl355, Okay you can goahead with this task. I will search for some other “good_first_issue”. Since i am new to this project, so i was looking to collaborate with others who are more experienced.

Read more comments on GitHub >

github_iconTop Results From Across the Web

MLflow Models — MLflow 2.0.1 documentation
The following example displays an MLmodel file excerpt containing the model signature for a classification model trained on the MNIST dataset. The input...
Read more >
Tutorial — MLflow 2.0.1 documentation
Tutorial. This tutorial showcases how you can use MLflow end-to-end to: Train a linear regression model. Package the code that trains the model...
Read more >
MLflow Projects — MLflow 2.0.1 documentation
An MLflow Project is a format for packaging data science code in a ... MLflow will download the specified version of Python by...
Read more >
R API — MLflow 2.0.1 documentation
To use the MLflow R API, you must install the MLflow Python package. pip install mlflow ... Retrieves a list of the latest...
Read more >
mlflow.pyfunc — MLflow 2.0.1 documentation
A Python model contains an MLmodel file in python_function format in its root with the following ... Add a pyfunc spec to the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found