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

integrations: other ML tracking tools #66

Closed
3 tasks
dberenbaum opened this issue Mar 25, 2021 · 6 comments
Closed
3 tasks

integrations: other ML tracking tools #66

dberenbaum opened this issue Mar 25, 2021 · 6 comments
Labels
A: frameworks Area: ML Framework integration enhancement research

Comments

@dberenbaum
Copy link
Contributor

dberenbaum commented Mar 25, 2021

Now that dvclive is decoupled from dvc, it should be pretty trivial to log data in formats expected by other ML tracking tools like mlflow. It would be great to establish a pattern for adding integrations to any other ML tracking tools, making dvclive an agnostic lightweight wrapper for any other ML tracking tools.

This approach has a few benefits:

  • Users who don't have dvc or don't want to use dvc integration still have options for visualizing their model progress.
  • Users can switch between different ML tracking tools by simply switching the integration they use. For example, specifying the integration might be as simple as dvclive.init(style="mlflow").
  • Less development resources spent on visualization in dvclive itself.

Tools to support for integration:

@dberenbaum
Copy link
Contributor Author

This might require first making the current dvc integration more of a general abstraction.

@pared pared changed the title Integration with other ML tracking tools integrations: other ML tracking tools Jun 10, 2021
@daavoo
Copy link
Contributor

daavoo commented Jun 25, 2021

For reference, comet.ml has a built-in integration with mlflow:

https://www.comet.ml/docs/python-sdk/mlflow/

It just requires adding import comet_ml to the script where mlflow is being used. It seems to capture existing mlflow.log* calls and "redirect" them to comet_ml.

In addition, they have an open source tool to "migrate" previous MLFlow experiments:

This extension will synchronize previous MLFlow experiment runs with all runs tracked with Comet's Python SDK with MLFlow support, for deeper experiment instrumentation and improved logging, visibility, project organization and access management.

@dberenbaum
Copy link
Contributor Author

Also related are the slides from yesterday's meetup: https://docs.google.com/presentation/d/1TfChy39Xb6vKVvuMaWihZjbYO97CRnESqd6-xdmbQV4/edit#slide=id.p. The whole presentation should be up soon in https://discord.gg/STQyxbU6.

There was an example of using dvc experiments and then having a stage at the end to log all the results to wandb to visualize. We could build off that idea or document use cases like this as an alternative to building integrations.

There was also some discussion about how one perk of dvc is that it doesn't intrude on user code, which is something we should be mindful of with how we design dvclive. @daavoo I'd recommend taking a look when you have a chance, although it can wait a few weeks.

@daavoo
Copy link
Contributor

daavoo commented Jul 12, 2021

Also related are the slides from yesterday's meetup: https://docs.google.com/presentation/d/1TfChy39Xb6vKVvuMaWihZjbYO97CRnESqd6-xdmbQV4/edit#slide=id.p. The whole presentation should be up soon in https://discord.gg/STQyxbU6.

There was an example of using dvc experiments and then having a stage at the end to log all the results to wandb to visualize. We could build off that idea or document use cases like this as an alternative to building integrations.

There was also some discussion about how one perk of dvc is that it doesn't intrude on user code, which is something we should be mindful of with how we design dvclive. @daavoo I'd recommend taking a look when you have a chance, although it can wait a few weeks.

I will take a look to the video

@daavoo daavoo added the A: frameworks Area: ML Framework integration label Jul 14, 2021
@daavoo
Copy link
Contributor

daavoo commented Oct 8, 2021

Added https://aimstack.io/ to the list

@daavoo
Copy link
Contributor

daavoo commented Apr 7, 2022

Added https://aimstack.io/ to the list

Conversions from TensorBoard and MLFlow https://aimstack.readthedocs.io/en/latest/quick_start/convert_data.html

@dberenbaum dberenbaum closed this as not planned Won't fix, can't repro, duplicate, stale Nov 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A: frameworks Area: ML Framework integration enhancement research
Projects
None yet
Development

No branches or pull requests

3 participants